httpd stopped . error with libphp5.so

durjoy

Verified User
Joined
Nov 20, 2007
Messages
13
sorry for bother you guys .i am having critical error with my server all of my site went offline due to upgrade of php . i wanted to install a script which require php 5.2.5 i have typed up2date -f php . it shows that php have been updated however when i type " service httpd restart " . it gave me error message following

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf:
API module structure `php5_module' in file /usr/lib/apache/libphp5.so is garbled - perhaps this is not an Apache module DSO?
[FAILED]

when i try to start http from directadmin i do get this error message

An error has occurred



Details

/sbin/service httpd start 2>&1

someone please help . i cant get my sites online ..

regards

Niz
 
cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/beta/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update_data
./build all d

/usr/local/directadmin/dataskq
service httpd restart

for GD:

./build update
./build iconv
./build autoconf
./build automake
./build gd


if the problem still not fixed

[root@server custombuild]# echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
[root@server custombuild]# /usr/local/directadmin/dataskq
[root@server custombuild]# service httpd restart

rm -rf /usr/local/directadmin/data/templates/custom/virtual*

And then do this again:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq
service httpd restart

or try this:

./build rewrite_confs
service httpd restart
 
Back
Top