------------------------------ Date: Wed, 13 Feb 2008 15:28:55 -0600 From: "Darryl Hoar" <[EMAIL PROTECTED]> Subject: PHP,Apache question To: <freebsd-questions@freebsd.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1"
Greetings, I decided to start over and wiped my new server down and installed 6.3-release. I installed perl5 (and did user.perl port) Installed Mysql41-server from ports. Modified /etc/make.conf to reflect WITH_DB_VER=41 WITH_MYSQL_VER=41 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: <html> <head> <title>PHP_TESTER</title> </head> <body> <?php phpinfo(); ?> </body> </html> 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/libphp4.so into server: Cannot open "/usr/local/libexec/apache/libphp4.so" /usr/local/sbin/apachectl start: httpd could not be started when I look in the /usr/local/libexec/apache directory, I do not see libphp4.so What do I need to do to fix this ? thanks, Darryl ------------------------------ Have you made the php.ini file? This is the configuration file needed for php to run. If you install by port, you should fine a default file named /usr/local/etc/php.ini-dist Just copy it to php.ini then try to start apache again. Hope it works, Bram ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"