Date: Thu, 10 Aug 2006 12:11:32 -0500 (CDT) From: Philip Hallstrom <freebsd@philip.pjkh.com> To: "Clark, Ronald" <Ron.Clark@EagleGL.com> Cc: rsclark@kingwoodcable.net, freebsd-questions@freebsd.org, Javier Henderson <javier@kjsl.com> Subject: RE: New Web Server Message-ID: <20060810120913.D7581@bravo.pjkh.com> In-Reply-To: <091E3B749D89554698A94C9FD3A6B62C01B1C202@eglsxch17.egl.corp> References: <091E3B749D89554698A94C9FD3A6B62C01B1C202@eglsxch17.egl.corp>
next in thread | previous in thread | raw e-mail | index | archive | help
> When I add them to the conf file and try to start the web server, it > says: > "Cannot add module via name 'mod_php5.c': not in list of loaded modules" > > Does this help out at all? I have this in my httpd.conf in this order... LoadModule php5_module libexec/apache/libphp5.so AddModule mod_php5.c AddType application/x-httpd-php .php .php3 .php4 AddType application/x-httpd-php-source .phps The php module went into /usr/local/libexec/apache/libphp5.so All from ports... apache+mod_ssl-1.3.34+2.8.25_3 The Apache 1.3 webserver with SSL/TLS functionality php5-5.1.4 PHP Scripting Language (Apache Module and CLI) > > RC > > > -----Original Message----- > From: Philip Hallstrom [mailto:freebsd@philip.pjkh.com] > Sent: Thursday, August 10, 2006 11:37 AM > To: Clark, Ronald > Cc: Javier Henderson; rsclark@kingwoodcable.net; > freebsd-questions@freebsd.org > Subject: RE: New Web Server > > >> Ok, I just tried that, and it wants to open index.php with a text >> editor. It is acting like Apache does not know how to handle a *.php >> file. >> >> In my httpd conf, http://www.php.net says to add LoadMudule and >> AddMudule statements. Are those still needed? > > I believe so... unless you've built it statically they are... > >> >> 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 >>> not >>> picking up my index.php file. Is there a step somewhere that I >>> 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 >> addressed 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 strictly prohibited. If >> you have received this message in error, please notify the sender > immediately by replying to the message and deleting it from your > computer. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >> > ________________________________________________________________________________ > > This email is intended only for the use by the party to which it is addressed > 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 strictly > prohibited. If you have received this message in error, please notify the sender > immediately by replying to the message and deleting it from your computer. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060810120913.D7581>