i am using ubuntu hardy.
i have installed lamp using sudo apt-get install apache2 php5 mysql-server-5.0 phpmyadmin
after installation, apache worked properly. i changed the webroot to a directory in my home folder. i did this according to the guidlines in ubuntuguid.org.
but when is try to open a php file located in the new webroot in my home folder, it shows following error
"Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/home/home/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0"
initially i tried to open php file from /var/www, it worked properly. but does not work from my home directory after i changed webroot to my home flder.
plz help me if anybody have any idea about it
thanks,
jittos....
Bookmarks