Starting httpd ?

staff

Verified User
Joined
Sep 19, 2007
Messages
114
Location
France
Hello I have a problem httpd no longer wanted me his boots made a mistake below how to settle?

Restarting apache.
Stopping httpd:
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
 
I think you are using suPHP (PHP as CGI). Try this (it will remove all custom templates):
Code:
rm -rf /usr/local/directadmin/data/templates/custom
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
Good luck! :)
 
Are you sure you have PHP installed? Try this if you have CustomBuild installed:
Code:
cd /usr/local/directadmin/custombuild
./build php n
./build rewrite_confs
 
Thank you cool I had already done

Code:
./build php n

and I did

Code:
./build rewrite_confs
his works;)
 
dler/apache_config.lo sapi/apache2handler/php_functions.lo main/internal_functions.lo -lcrypt -lz -lcrypt -lrt -lmysqlclient -lmhash -lmcrypt -lltdl -liconv -lfreetype -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lz -lcurl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lz -lmysqlclient -lz -lcrypt -lnsl -lm -lnss_files -lnss_dns -lresolv -lnss_files -lnss_dns -lresolv -lxml2 -lz -liconv -lm -lcrypt -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -o libphp5.la
gcc: /usr/lib/mysql/libmysqlclient.so: No such file or directory
make: *** [libphp5.la] Error 1



urgent help pls.
 
[root@ns1 custombuild]# ./build mysql
You can not install MySQL, because you do not have it set in options.conf file.



Assembler messages:
FATAL: can't create ext/pcre/pcrelib/pcre_info.o: No such file or directory
make: *** [ext/pcre/pcrelib/pcre_info.lo] Error 1
 
Code:
cd /usr/local/directadmin/custombuild
perl -pi -e 's/mysql_inst=no/mysql_inst=yes/' options.conf
./build mysql
 
Back
Top