I installed apache2.2.20 using -prefix=/usr/local/apache2 from source i.e all files of apache2 are in /usr/local/apache2.
Then I installed php5 with sudo apt-get install php5. That has got installed in /etc I think. To test php5 installation I created a file phpinfo.php in the local host containing the following:
PHP Code:
<?php phpinfo() ?>
After saving I chmod it to a+rx.
Now when I run http://localhost/phpinfo.php, the page shows
PHP Code:
You are forbidden to access this site on this server.
Can any one help me to solve the issue? Maybe the config is wrong? Or installation of php is wrong. Thanks in advance.
Bookmarks