Prev Previous Post   Next Post Next
  #1  
Old 6th May 2007, 17: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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php4 and php5 at same time findafriend Installation/Configuration 7 22nd June 2007 16:44
PHP5 is on, but PHP4 (as cgi?) is needed... schmidtedv Installation/Configuration 1 12th April 2007 13:44
PHP5 in apache PHP4 at cli. how do get get PHP5 at both ThE-LyNX Installation/Configuration 1 28th August 2006 23:49
suse 10.1 php5 to php4 Boon-Dog-Danny Installation/Configuration 2 6th August 2006 15:09
PHP4 and PHP5 for SUSE 9.3 Prof M.Behrens Installation/Configuration 3 2nd April 2006 22:20


All times are GMT +2. The time now is 00:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.