Programming Tutorials

Cannot load /usr/local/apache/libexec/ into server:

By: Louis in PHP Tutorials on 2011-03-26  

On Solaris, if upon starting Apache you get an error like this: 

Syntax error on line 33 of /usr/local/apache/conf/httpd.conf: 
Cannot load /usr/local/apache/libexec/ into server: /usr/loca 
l/apache/bin/httpd: fatal: open failed: No such file or directory 
./apachectl start: httpd could not be started 

..try inserting the following lines into the configuration section of your apachectl startup shell script: 


Change the /usr/local/mysql/ prefix to where ever your MySQL installation is. Make sure to add on the /lib/mysql extension to your own path though. 

Do your normal "apachectl start" command to start Apache and voila, no more error. Apachectl can be found in the bin directory of your Apache installation.

Add Comment

* Required information


No comments yet. Be the first!

Most Viewed Articles (in PHP )

Latest Articles (in PHP)