Thread: Installing SuPHP
hi,
installed ubuntu 10.04 lts desktop. using install web development environment, installed lamp , phpmyadmin using following;
tested apache, mysql, php , phpmyadmin , working fine until installed suphp using following;code:$ sudo apt-get install lamp-server^ $ sudo apt-get install libapache2-mod-auth-mysql phpmyadmin
after suphp install, disabled mod_php5 using following;code:$ sudo apt-get install libapache2-mod-suphp
then enabled suphp globally apache editing /etc/apache2/apache2.conf , adding following @ end of file;code:$ a2dismod php5
then restarted apache using following;code:# enable suphp suphp_engine on suphp_addhandler application/x-httpd-php .php
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:$ /etc/init.d/apache2 restart
i 500 internal server error, php running fine before suphp install.code:<?php phpinfo(); ?>
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
Post a Comment