Apache and Mysql Start Problem

backlog

New member
Joined
Feb 15, 2012
Messages
6
Hi,

[root@server custombuild]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

[root@server custombuild]#

Help please
 
options.conf

#PHP settings. default_php possible values - 4 or 5
default_php=5
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=no

#Possible values - 4.1, 5.0, 5.1
mysql=5.0
mysql_inst=no
mysql_backup=yes

#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2


[root@server custombuild]# ./build versions
Latest version of DirectAdmin: 1.40.3
Installed version of DirectAdmin: 1.34.4

DirectAdmin 1.34.4 to 1.40.3 update is available.

Latest version of Apache: 2.2.22
Installed version of Apache: 2.2.22

Latest version of PCRE: 8.20
Installed version of PCRE: 8.20

Latest version of curl: 7.24.0
Installed version of curl: 7.24.0

Latest version of FreeType: 2.4.8
Installed version of FreeType: 2.4.8

Latest version of dovecot: 2.0.18
Installed version of dovecot: 2.0.18

/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Installed version of PHP (CLI):

/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Latest version of RoundCube webmail: 0.7.1
Installed version of RoundCube webmail: 0.7.1

Latest version of phpMyAdmin: 3.4.10-all-languages
Installed version of phpMyAdmin: 3.4.10-all-languages

Latest version of SquirrelMail: 1.4.22
Installed version of SquirrelMail: 1.4.22

If you want to update all the available versions run: ./build update_versions
[root@server custombuild]#


Are you using suphp or php as cli?

Are you using custom httpd templates?
 
[root@server custombuild]# ls -l /usr/local/directadmin/data/templates/custom/
total 0
[root@server custombuild]# service httpd start
Starting httpd: Syntax error on line 39 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

[root@server custombuild]#
 
Back
Top