Mr_Stepfire

Active Member
Dec 20, 2004
40
0
156
The Netherlands
have some problems with starting apache.
I have already rebuild apache and reinstalled mysql.
But that didn't help me much...

I get the next error:
[/scripts]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 218 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
/etc/init.d/httpd restart: httpd could not be started
 

Mr_Stepfire

Active Member
Dec 20, 2004
40
0
156
The Netherlands
Mr_Stepfire said:
have some problems with starting apache.
I have already rebuild apache and reinstalled mysql.
But that didn't help me much...

I get the next error:
[/scripts]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 218 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
/etc/init.d/httpd restart: httpd could not be started
this porblem is sovled now...
New i have a new problem....

[/scripts]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1083 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
/etc/init.d/httpd restart: httpd could not be started
 

adept2003

Well-Known Member
Aug 11, 2003
281
0
166
~ "/(extra|special)/data"
sv1 said:
To fix the byteslog,

cd /usr/local/cpanel/apache
/usr/local/apache/bin/apxs -iac mod_log_bytes.c

then remove the comments..

to the fix other problems

add a

NameVirtualHost ip:80

for each ip on the server.

Restart apache.. All done.
Run /usr/local/apache/bin/apachectl configtest to check the httpd.conf syntax.
 

raikd

Member
Jun 25, 2005
13
0
151
Hi,

I too got this error ..

I get the next error:
[/scripts]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 218 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
/etc/init.d/httpd restart: httpd could not be started



But the following worked for me ..

/scripts/perlinstaller --force Bundle:BD::mysql
Then recompile apache with easyapache script .. /scripts/easyapache