php update error

TheMask

Verified User
Joined
Jan 20, 2011
Messages
142
php update error (solved)

hi

i want to update php5.5 to php5.6 and i use this commands

cd /usr/local/directadmin/custombuild

./build set php1_release 5.6
./build update
./build php n
./build rewrite_confs

but all web sites gives me this error
how can i fix this?

[Thu Jul 04 12:52:44.035040 2019] [fcgid:warn] [pid 2256079:tid 139922272872192] (104)Connection reset by peer: [client xx.xxx.x.x:44146] mod_fcgid: error reading data from FastCGI server
[Thu Jul 04 12:52:44.035107 2019] [core:error] [pid 2256079:tid 139922272872192] [client xx.xxx.x.x:44146] End of script output before headers: index.php
 
Last edited:
Hello,

What are the 10-20 final lines from output

Code:
[COLOR=#333333]./build php n[/COLOR]

and
Code:
apachectl -t
?
 
my bad my stupidity

i use cloudlinux and i just forgot
update cagefs
 
Custombuild should update cagefs without your intervention.

Make sure to have

Code:
cloudlinux=yes
cagefs=yes

control with the command:

Code:
egrep "cage|cloudlinux" /usr/local/directadmin/custombuild/options.conf
 
yes cagefs=no

i switch to yes

but
not i cant see apache status
i was use this codes to http conf

ExtendedStatus on
<Location /izle>
SetHandler server-status
Allow from all
</Location>
 
Whenever you run

Code:
[COLOR=#333333]./build rewrite_confs[/COLOR]


you got all configs rewritten.

All changes done directly to files under /etc/httpd/conf/ will be lost. The only file which can be edited directly is
/etc/httpd/conf/extra/httpd-includes.conf

You can add your directives into /etc/httpd/conf/extra/httpd-includes.conf and restart apache.
 
Back
Top