Skip to main content

Thread: Installing SuPHP


hi,

installed ubuntu 10.04 lts desktop. using install web development environment, installed lamp , phpmyadmin using following;

code:
$ sudo apt-get install lamp-server^  $ sudo apt-get install libapache2-mod-auth-mysql phpmyadmin
tested apache, mysql, php , phpmyadmin , working fine until installed suphp using following;

code:
$ sudo apt-get install libapache2-mod-suphp
after suphp install, disabled mod_php5 using following;

code:
$ a2dismod php5
then enabled suphp globally apache editing /etc/apache2/apache2.conf , adding following @ end of file;

code:
# enable suphp  suphp_engine on  suphp_addhandler application/x-httpd-php .php
then restarted apache using following;

code:
$ /etc/init.d/apache2 restart
apache working, think suphp install broke php. when run php test script using following in text file named testing.php placed in root folder /var/www;

code:
<?php phpinfo(); ?>
i 500 internal server error, php running fine before suphp install.

got working or can me fix this, please do.

the libapache2-mod-suphp package doesn't conflict php, i'd need have php enabled. in fact, depends on suphp-common depends on either php4-cgi or php5-cgi.

enable mod_php5, restart apache, try again, , if still server error check error log (/var/log/apache2/error.log).


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Installing SuPHP


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO