I just setup an LAMP (Linux, Apache, PHP, MySQL) server and am having problems with relative path ownership.
I'm able to run any PHP code when it resides in the same path. If I try to access anthing in a relative path, I get an error:
failed to open stream: No such file or directory.
The virtual host directory file owner = mscdev3 and file group = mscdev3. Permissions are set to 777.
Do I need to set the file ownership to apache and leave the file group set to mscdev3?
The virtual host's document root is set to /var/www/html/mscdev3.
Any help would be appreciated.