From owner-freebsd-questions@FreeBSD.ORG Thu Aug 10 16:43:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 630FE16A4E0 for ; Thu, 10 Aug 2006 16:43:43 +0000 (UTC) (envelope-from Ron.Clark@EagleGL.com) Received: from ironport.eaglegl.com (ironport.eaglegl.com [63.166.215.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F6E43D53 for ; Thu, 10 Aug 2006 16:43:42 +0000 (GMT) (envelope-from Ron.Clark@EagleGL.com) Received: from unknown (HELO eglsxch11.egl.corp) ([57.33.99.33]) by ironport.eaglegl.com with ESMTP; 10 Aug 2006 11:43:42 -0500 Received: from eglsxch17.egl.corp ([57.33.99.52]) by eglsxch11.egl.corp with Microsoft SMTPSVC(6.0.3790.0); Thu, 10 Aug 2006 11:41:31 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7233.31 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 10 Aug 2006 11:40:52 -0500 Message-ID: <091E3B749D89554698A94C9FD3A6B62C01B1C203@eglsxch17.egl.corp> In-Reply-To: <839F92A2-E321-45E2-B53D-C1F726089830@kjsl.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: New Web Server Thread-Index: Aca8mumGm1jmV6DjS9eNM2TVm9iCzgAAD/eA From: "Clark, Ronald" To: "Javier Henderson" X-OriginalArrivalTime: 10 Aug 2006 16:41:31.0148 (UTC) FILETIME=[D55184C0:01C6BC9B] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, rsclark@kingwoodcable.net Subject: RE: New Web Server 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, 10 Aug 2006 16:43:43 -0000 AddType =3D typo on my part. Sorry. In the conf file it is "AddModule mod_php5.c". I have added the LoadModule as well and get a similar error message. So I try to look for the files themselves like this: #find / -name mod_php5.c It finds nothing. Same results with looking for libphp5.so. Is there an issue with the install or did I miss a step? Is there a recipe for setting up a server, something like "FreeBSD-Apache-Mysql-PHP for dummies"? RC -----Original Message----- From: Javier Henderson [mailto:javier@kjsl.com]=20 Sent: Thursday, August 10, 2006 11:38 AM To: Clark, Ronald Cc: rsclark@kingwoodcable.net; freebsd-questions@freebsd.org Subject: Re: New Web Server The text you cut-n-pasted has AddType, is that how it appears on the httpd.conf file? Did you restart Apache after changing httpd.conf? (apparently you have, since it picked up the index.php change). You may need to add a LoadModule as well. -jav On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote: > Ok, I just tried that, and it wants to open index.php with a text=20 > editor. It is acting like Apache does not know how to handle a *.php=20 > file. > > In my httpd conf, http://www.php.net says to add LoadMudule and=20 > AddMudule statements. Are those still needed? > > RC > > -----Original Message----- > From: Javier Henderson [mailto:javier@kjsl.com] > Sent: Thursday, August 10, 2006 11:27 AM > To: rsclark@kingwoodcable.net > Cc: freebsd-questions@freebsd.org; Clark, Ronald > Subject: Re: New Web Server > > > On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: > >> >> Hello all, >> >> >> I am building a new web server , and have gotten Mysql, Apache and >> PHP (php5-extensions) loaded from the p orts. However, Apache is=20 >> not >> picking up my index.php file. Is there a step somewhere that I=20 >> have >> missed? I have added >> >> A ddType application/x-httpd-php .php .phtml >> AddType application/x-httpd-php-source .phps >> >> >> to the httpd.conf f ile, still no luck. > > Does it work if you append /index.php to the URL? > > If so, add index.php to your DirectoryIndex stanza. > > -jav > > ______________________________________________________________________ > __________ > > This email is intended only for the use by the party to which it is=20 > addressed and may contain information that is privileged,=20 > confidential, or protected by law. If you are not the intended=20 > recipient, you are hereby notified that any dissemination, copying or=20 > distribution of this email or its contents is strictly prohibited. If=20 > you have received this message in error, please notify the sender=20 > immediately by replying to the message and deleting it from your=20 > computer. ___________________________________________________________________________= _____ =20 This email is intended only for the use by the party to which it is address= ed and may contain information that is privileged, confidential, or protected = by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is str= ictly prohibited. If you have received this message in error, please notify the s= ender immediately by replying to the message and deleting it from your computer.