Apache - PHP (Subdirectories)
Posted: Fri Nov 25, 2011 8:46 pm
I'm running Apache2 on Ubuntu as my development area, I started organizing my files and noticed that PHP only works in the root directory (/var/www) so say I put a file called function.php in say '/var/www/function' and refer to it in an include in /var/www/index.php the index.php script will run but the function.php will not.
I'm betting there is something wrong with either the configuration of PHP or maybe Apache but I have no idea where to start looking to fix the problem. (Google hasn't me on this one.)
I'm betting there is something wrong with either the configuration of PHP or maybe Apache but I have no idea where to start looking to fix the problem. (Google hasn't me on this one.)