DuncanMcLord

Active Member
Dec 12, 2001
31
0
306
Hi there,

i just ran the latest buildapache, but afterwards i cannot start apache with php.
I allways get this error:


/usr/local/apache/bin/apachectl configtest
Syntax error on line 216 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: €Ø[email protected]€Ø[email protected]((?Ø[email protected][email protected]˜Ø[email protected]˜Ø[email protected] Ø[email protected] Ø[email protected]¨Ø[email protected]¨Ø[email protected]°Ø[email protected]°Ø[email protected]¸Ø[email protected]¸Ø[email protected]ÀØ[email protected]ÀØ[email protected]ÈØ[email protected]ÈØ[email protected]ÐØ[email protected]ÐØ[email protected]ØØ[email protected]ØØ[email protected]àØ[email protected]àØ[email protected]èØ[email protected]èØ[email protected]ðØ[email protected]ðØ[email protected]øØ[email protected]øØ[email protected]: shared object not open


I had to comment all php-based lines within the httpd.conf file, to get apache up and running again!

My problem is, that i need to get php up and running asap, so any help is more than welcome.

Thanks in advance,

regards,

Duncan
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
702
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
try this....


*note allways a good first thing to do when you have a problem
rsync -av rsync://rsync.cpanel.net/scripts /scripts
/scripts/upcp

redownload buildapache.sea

cd /tmp

make sure you have plenty of space in tmp.

rm -rf buildapache*
wget http://layer1.cpanel.net/buildapache.sea
chmod +x buildapache.sea
./buildapache.sea


Try that maybe you just had a bad build. Who's your host also. I ran into somthing similar to this (didnt have the jiberish you do) when a VO customer was trying to upgrade apache/php via the buildapache.sea from cpanel. For some reason they have a custome config that they use and cpanels buildapache.sea wont cut it.
 

DuncanMcLord

Active Member
Dec 12, 2001
31
0
306
Hi,

thanks for the answer.
I tried everything to get apache and php up and running with buildapache.sea including a change of the configure line for php, because when i tried that line from the script, i got an error.
However in the end i was able to compile php 4.1.2. by hand and it works just fine now.
...although i have no idea why it is working now, cause i didnt change a thing and then in the 3rd compile-attempt, it simply worked.
...quite strange, but its working now.
If i ever run into a similar situation i will give your solution a try, so thanks a lot for the answer.

Regards,

Duncan