N
N3cTr0
Guest
Hi,
Trying to get PHP5 over FastCGI to work and I am having some issues:
I am getting errors similiar to these:
[Thu Jul 02 08:56:58 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Thu Jul 02 08:56:58 2009] [error] [client 123.123.123.123] Premature end of script headers: test.php
I have read the article over at http://kb.odin.com/en/6380 and I have done everything it says and according the that it should work but I still get the same errors the whole time. Can someone assist?
Here is what I did:
[root@cp contrib]# rpm --force -Uhv /root/parallels/PSA_10.0.1/dist-rpm-RedHat-el5-x86_64/contrib/psa-php5-configurator-1.6.0-rhel5.build109101020.10.noarch.rpm
Preparing... ########################################### [100%]
1
sa-php5-configurator ########################################### [100%]
===> configuring php5 using /etc/php.ini file
Trying to set memory limit to 32M... done
Trying to set max_execution_time to 60... done
Trying to set upload_max_filesize to 10M... done
Trying to add '.' to 'include_path'... nothing to be done
done
Trying to set 'short_open_tag' to On... done
Trying to set 'file_uploads' to On... done
Trying to set 'safe_mode' to On... done
Trying to set 'safe_mode' to Off... done
[root@cp contrib]# cd /usr/bin
[root@cp bin]# find *php*
php
php-cgi
[root@cp bin]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
[root@cp bin]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-server
[root@cp bin]# grep CGI_PHP_BIN /etc/psa/psa.conf
CGI_PHP_BIN /usr/bin/php-cgi
Please help. I have clients that need to use PHP5.
Kind Regards,
Graeme
Trying to get PHP5 over FastCGI to work and I am having some issues:
I am getting errors similiar to these:
[Thu Jul 02 08:56:58 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Thu Jul 02 08:56:58 2009] [error] [client 123.123.123.123] Premature end of script headers: test.php
I have read the article over at http://kb.odin.com/en/6380 and I have done everything it says and according the that it should work but I still get the same errors the whole time. Can someone assist?
Here is what I did:
[root@cp contrib]# rpm --force -Uhv /root/parallels/PSA_10.0.1/dist-rpm-RedHat-el5-x86_64/contrib/psa-php5-configurator-1.6.0-rhel5.build109101020.10.noarch.rpm
Preparing... ########################################### [100%]
1
===> configuring php5 using /etc/php.ini file
Trying to set memory limit to 32M... done
Trying to set max_execution_time to 60... done
Trying to set upload_max_filesize to 10M... done
Trying to add '.' to 'include_path'... nothing to be done
done
Trying to set 'short_open_tag' to On... done
Trying to set 'file_uploads' to On... done
Trying to set 'safe_mode' to On... done
Trying to set 'safe_mode' to Off... done
[root@cp contrib]# cd /usr/bin
[root@cp bin]# find *php*
php
php-cgi
[root@cp bin]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
[root@cp bin]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-server
[root@cp bin]# grep CGI_PHP_BIN /etc/psa/psa.conf
CGI_PHP_BIN /usr/bin/php-cgi
Please help. I have clients that need to use PHP5.
Kind Regards,
Graeme