View Single Post
  #1  
Old 6th May 2007, 18:52
octopus octopus is offline
Junior Member
 
Join Date: Apr 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default php4 and php5 white debian4

hello

In my early post of FC6 white php4 an php5 didnít work

I have decided to use debian 4 white php4 and followed the perfect how to.
Than I followed the suphp white php4 and php5

And i installed Ispconfig at the end

now i have same problems :-(


I Get in the apache error

[Sun May 06 17:25:38 2007] [notice] Graceful restart requested, doing restart
[Sun May 06 17:25:38 2007] [notice] Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
[Sun May 06 17:25:38 2007] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun May 06 17:25:39 2007] [warn] long lost child came home! (pid 2652)

Than searche (9)Bad file descriptor: apr_socket_accept: (client socket) in the forum

The work around to change this to addhandler? But doest work for me ? and I have debian not suse

$go_info["server"]["apache2_php"] = 'addhandler'; // 'filter' = set PHP filters, 'addtype' = Set PHP addtype or 'both' = Set Filter + Addtype, suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)


In the suphp.conf file defind this when *php is called than use php5 and when say *php4 use php4


[handlers]
;Handler for php-scripts
x-httpd-php=php4:/usr/bin/php4-cgi
x-httpd-php=php:/usr/bin/php5-cgi

Help Ö
Reply With Quote
Sponsored Links