From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 05:21:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B075C16A418 for ; Thu, 14 Feb 2008 05:21:20 +0000 (UTC) (envelope-from bramz4ever@yahoo.com) Received: from web50003.mail.re2.yahoo.com (web50003.mail.re2.yahoo.com [206.190.38.18]) by mx1.freebsd.org (Postfix) with SMTP id 6440A13C442 for ; Thu, 14 Feb 2008 05:21:20 +0000 (UTC) (envelope-from bramz4ever@yahoo.com) Received: (qmail 47009 invoked by uid 60001); 14 Feb 2008 04:54:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=wE042h8taSy/zpVFExohzKiHMY4zmPfkaWURvYggi3u1gnrJdnbLko7fXxcH78GKa943Sm+/dpdI/yLeRJycbwyckTnuH6KyzOqvouTWrMfe2dPh/iAs0F9BrU0HMns5bW/3eO3zRCXc3i0/jEYhBI64kDU7Rv6X3PI7BLVrc2M=; Received: from [202.249.25.26] by web50003.mail.re2.yahoo.com via HTTP; Wed, 13 Feb 2008 20:54:37 PST X-Mailer: YahooMailRC/902.30 YahooMailWebService/0.7.162 Date: Wed, 13 Feb 2008 20:54:37 -0800 (PST) From: Satria Bramana To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <38248.45281.qm@web50003.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: freebsd-questions Digest, Vol 202, Issue 9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 05:21:20 -0000 ------------------------------ Date: Wed, 13 Feb 2008 15:28:55 -0600 From: "Darryl Hoar" Subject: PHP,Apache question To: Message-ID: <03F1A67B0F5D46F4AFD27220C22C8B16@Europa> 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: PHP_TESTER 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