I'm running Arch Linux and installed apache, php and mysql (not mariadb) there. Arch root partition have limited size, because I set big partition on ntfs filesystem for shared files between OS (I'm dual booting with windows). So, I want to move apache's document root to that ntfs partition.
The problem is, php files that stored in ntfs partition won't show anything. Even ini_set('display_errors') can't help. The only hints is javacript console that said internal server error.
I mounted NTFS partition automatically when booting with fstab like this:
UUID=3AD4628C7D357A55 /media/data ntfs-3g defaults,uid=1000,gid=100,umask=022,windows_names,locale=en_US.utf8 0 0
and index.php file permission is -rwxr-xr-x with my user as it's owner. If I remve index.php, localhost showing directory list just fine (i turn Indexes on).
So, how can I do this?
UPDATE
The error log says:
PHP Fatal error: Unknown: Failed opening required '/media/data/Projects/www/html/test.php'
(include_path='.:/usr/share/pear') in Unknown on line 0, referer: http://localhost/