View Single Post
  #3  
Old 7th January 2009, 11:05
usul usul is offline
Junior Member
 
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 2 Times in 2 Posts
Default internal error 500

ISPCONFIG version 2.2.29 and the problem described above is passed ..
I had installed APR.!

However, I proceeded with the installation of suphp-0.7.0 without errors.

When you restart Aapache showed a bug in Vhosts_ispconfig.conf, precisely where it was stated 'php_admin_flag'.
Off functions ISPconfig PHP, and Apache is divided reactivated the PHP Apache has restarted several times without error.

Now received internal error 500, even the simple file info.php.

I checked the logs and I did not find any errors you enclosed a few lines

error.log

Quote:
[Tue Jan 06 20:55:24 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Jan 06 20:55:25 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Jan 06 20:55:43 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 20:55:43 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 06 20:55:43 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jan 06 20:55:43 2009] [notice] Digest: done
[Tue Jan 06 20:55:43 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Jan 06 20:55:43 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Jan 06 20:58:29 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 21:00:15 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 06 21:00:16 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jan 06 21:00:16 2009] [notice] Digest: done
[Tue Jan 06 21:00:16 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Jan 06 21:00:16 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Jan 06 21:00:36 2009] [notice] caught SIGTERM, shutting down
[Tue Jan 06 21:00:36 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 06 21:00:36 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jan 06 21:00:36 2009] [notice] Digest: done
[Tue Jan 06 21:00:36 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Jan 06 21:00:36 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
suphp.log is empty!


I understand that suExe is active, so should I turn it off, but how?

If I wanted to return to its previous state of the installation suPHP, how do I delete what I have done?


Which if I'm doing the right thing:
I need a system that controls access to joomla and magenta, and both have to install an APC cache and I have not much experience of linux.
What to choose suPHP or suexec together with what else?

There is a guide that provides the optimal configuration for ISPconfig?

Thank you very much

Diary of the actions carried out
Quote:
nano /etc/httpd/conf.d/php.conf
I commented the line
#LoadModule php5_module modules/libphp5.so
yum install php-cli httpd-devel

cd /tmp
wget http://www.suphp.org/download/suphp-0.7.0.tar.gz
tar xvfz suphp-0.7.0.tar.gz
cd suphp-0.7.0/
./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=paranoid
--with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log
--enable-SUPHP_USE_USERGROUP=yes

make
make install

I entered into /etc/httpd/conf.d/php.conf the line
LoadModule suphp_module modules/mod_suphp.so

changed the configuration files ISPConfig
nano /home/admispconfig/ispconfig/lib/config.inc.php
$go_info["server"]["apache2_php"] = 'suphp';

Last edited by usul; 7th January 2009 at 11:13.
Reply With Quote