In Linux, the path separator is /
. In Windows, it is either \
or /
. So just use forward slashes and you will be fine.
APPLICATION_PATH . '/logs/app.log'
More Related Contents:
- Website is very slow, but if I modify the URL it loads normally
- How to install PHP5 in Ubuntu 16 Virtual Box guest on Windows 10 host? [closed]
- UTF-8 all the way through
- sudo in php exec()
- Run process with realtime output in PHP
- Running a Python script from PHP
- PHP passing $_GET in the Linux command prompt
- PHPMailer GoDaddy Server SMTP Connection Refused
- Troubleshooting PHP Mail [duplicate]
- Use php to set cron jobs in Windows
- php How do I start an external program running – Having trouble with system and exec
- PHP Install SSH2 on Windows machine
- netbeans shows “Waiting For Connection (netbeans-xdebug)”
- Tell Composer to use Different PHP Version
- How to enable mysqlnd for php?
- Extract text from doc and docx
- Is it wise to use PHP for a daemon?
- How do I throttle my site’s API users?
- ERROR 403 in loading resources like CSS and JS in my index.php
- Permission denied with bash.sh to run cron
- Using WGET to run a cronjob PHP
- Setting a PHP script as a Windows Service
- PHP exec – check if enabled or disabled
- access denied for user @ ‘localhost’ to database ” [closed]
- php.ini changes, but not effective on Ubuntu
- How do I enable –enable-soap in php on linux?
- Is there any way to install Composer globally on Windows?
- mysql injection damages?
- How can I execute PHP code from the command line?
- Linux – PHP 7.0 and MSSQL (Microsoft SQL)