Hi,
I recently installed ubuntu 10.04 LTS Desktop. I will be using this install as a web development environment, so I installed LAMP and phpMyAdmin using the following;
Code:
$ sudo apt-get install lamp-server^
$ sudo apt-get install libapache2-mod-auth-mysql phpmyadmin
Tested apache, mysql, php and phpMyAdmin and all was working fine until I installed suphp using the following;
Code:
$ sudo apt-get install libapache2-mod-suphp
After the suphp install, I disabled mod_php5 using the following;
Then I enabled suphp globally for Apache by editing /etc/apache2/apache2.conf and adding the following at the end of the file;
Code:
# Enable SuPHP
suPHP_Engine on
suPHP_AddHandler application/x-httpd-php .php
Then restarted apache using the following;
Code:
$ /etc/init.d/apache2 restart
Apache is working, but I think the suphp install broke php. When I run my php test script using the following in a text file named testing.php placed in the root folder /var/www;
Code:
<?php phpinfo(); ?>
I get a 500 Internal Server Error, but php was running fine before the suphp install.
Anyone got this working or can help me fix this, please do.
Bookmarks