PHP,Apache question

Darryl Hoar darryl at
Wed Feb 13 21:30:28 UTC 2008

I decided to start over and wiped my new server down and installed

I installed perl5 (and did user.perl port)

Installed Mysql41-server from ports.

Modified /etc/make.conf to reflect

installed apache13-modssl from ports.
installed /usr/ports/lang/php4
installed /usr/ports/lang/php4-extensions.  Added mbstring.
added to httpd.conf
  AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
created index.php in /usr/local/www/data with
the following content:
<?php phpinfo(); ?>

when I try to start apache using:
#/usr/local/sbin/apachectl start
I get the following:
Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/ into server: Cannot open
/usr/local/sbin/apachectl start: httpd could not be started
when I look in the /usr/local/libexec/apache directory, I do not see

What do I need to do to fix this ?


More information about the freebsd-questions mailing list