HOSTFORWEB

Well-Known Member
PartnerNOC
Feb 6, 2002
94
0
306
Just installed it and noticed next errors:
1. Compiling it with mcrypt will result apache failure.
2. After restarting apache (adding subdomain, account or other way) will kill php after restart.
So PHP is not loading after cpanel's apache restart.
We need to stop and start apache to reactivate php support.

Any ideas?
 

gordita

Well-Known Member
Aug 14, 2001
113
0
316
patching php vunerability

Do I have to install the new buildapache.sea or will the vunerability be fixed with the regular automated cpanel updates?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
You need to upgrade to php 4.1.2 ... OR, you need to set &php uploading& to &OFF& , in your 'php.ini'

(usually /usr/local/bin).....

And restart apache.
 

HOSTFORWEB

Well-Known Member
PartnerNOC
Feb 6, 2002
94
0
306
feanor,
do you know how to fix our problem with apache?
PHP not loading after gracefull restart.
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
What exactly is in your error_log
(/usr/local/apache/logs)
?

Is PHP not loading, period? Are the module include lines still intact in your httpd.conf ?
 

HOSTFORWEB

Well-Known Member
PartnerNOC
Feb 6, 2002
94
0
306
Finor,

I'm trying rebuild php with buildapache ver x.22
This buildapache.sea has 4.1.1 ver of PHP. I have uploaded 4.1.2 to this folder and changed the paths in buildscript from 4.1.1 to 4.1.2, but when I run ./install path changed to 4.1.1 again and PHP 4.1.1 is installing. Any idea how to change it 4.1.2? Any other file I should modify?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
I don't understand why you are going through all that trouble....
why don't you get the latest buildapache from layer1, it has apache 1.3.22 and php 4.1.2

?
then you can go inside the directory /buildapache and actually work with the 4.1.2 source right off the bat, if you'd like.
 

HOSTFORWEB

Well-Known Member
PartnerNOC
Feb 6, 2002
94
0
306
Hi,
1. thanks for help. I get it working.

2. B/c php not loading each time apache regenerats (Parent Server Generation)

And I cant find why. http.conf is ok as I see.