View Single Post
  #15  
Old 30th December 2012, 18:24
gjm31 gjm31 is offline
Junior Member
 
Join Date: Dec 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[root@centos httpd]# cat /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
#!/bin/sh
PHPRC=/etc/
export PHPRC
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=1
exec /usr/bin/php-cgi -d magic_quotes_gpc=off -d session.save_path=/usr/local/ispconfig/server/temp
[root@centos httpd]#

[root@centos httpd]# whereis php-cgi
php-cgi: /usr/bin/php-cgi
[root@centos httpd]#

[Sun Dec 30 17:21:45 2012] [warn] [client 192.168.1.4] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sun Dec 30 17:21:45 2012] [error] [client 192.168.1.4] Premature end of script headers: index.php
Reply With Quote