trying to get php5 to work with apache anyone got any tips i am lost. what ever happend to mod_php -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton
RYAN M. vAN GINNEKEN wrote:> trying to get php5 to work with apache anyone got any tips i am lost. what ever happend to mod_php > >Well I can tell you that it does work, but getting the extensions is done differently now and you have to do it through php5-extensions port. Type: # cd /usr/ports/lang/php5-extensions # make clean Set the extensions you want via the dialog and then do a: # make install distclean That should be all you need. Take care, Michael
I tried what you suggested did not see anything about apache in the dialog and my php still does not seem to work. DO i need to still need to add anything to my apache httpd.conf used to be something like this #==================================================== php5 #AddModule mod_php5.c #LoadModule php5_module libexec/apache/libphp5.so #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps ----- Michael <bsdannounce@gmail.com> wrote:> RYAN M. vAN GINNEKEN wrote: > > trying to get php5 to work with apache anyone got any tips i am > lost. what ever happend to mod_php > > > > > Well I can tell you that it does work, but getting the extensions is > done differently now and you have to do it through php5-extensions > port. > > Type: > > # cd /usr/ports/lang/php5-extensions > # make clean > > Set the extensions you want via the dialog and then do a: > > # make install distclean > > That should be all you need. > > Take care, > > Michael-- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton
On Mon, Dec 11, 2006 at 02:05:03AM -0700, RYAN M. vAN GINNEKEN wrote:> I tried what you suggested did not see anything about apache in the > dialog and my php still does not seem to work. DO i need to still > need to add anything to my apache httpd.conf used to be something > like this > > #==================================================== php5 > #AddModule mod_php5.c > #LoadModule php5_module libexec/apache/libphp5.so > #AddType application/x-httpd-php .php > #AddType application/x-httpd-php-source .phpsYes. Remember to substitute the path to libphp5.so with the correct path for your version of apache (apache/ vs. apache22/). Regards, Brix -- Henrik Brix Andersen <henrik@brixandersen.dk> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 209 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061211/b8a850a6/attachment.pgp
On Mon, December 11, 2006 10:13 am, RYAN M. vAN GINNEKEN wrote:> > trying to get php5 to work with apache anyone got any tips i am lost. what > ever happend to mod_phpcd /usr/ports/lang/php5 && make config - Do you have APACHE option enabled here?> > -- > Computer King/CaNMail > > http://www.computerking.ca http://www.canmail.org > > Sales, Service, and Hosting > Email, Data, and Web Packages > Ask about web design specials > > Affiliates > http://www.computerking.ca/pages/links/affiliates/affiliates.htm > > Maybe Computer Science should be in the College of Theology. -- R. S. > Barton > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >-- WWell by Iassen Anadoliev
Ok folks i looked though the dialog 3 or 4 times looking/yearning for anything to do with apache but cannot seem to find anything. Does it go under a differnt name like SOAP or XML or DXML or something like that. ----- Iassen Anadoliev <korio@korio.org> wrote:> On Mon, December 11, 2006 10:13 am, RYAN M. vAN GINNEKEN wrote: > > > > trying to get php5 to work with apache anyone got any tips i am > lost. what > > ever happend to mod_php > > cd /usr/ports/lang/php5 && make config - Do you have APACHE option > enabled here? > > > > > -- > > Computer King/CaNMail > > > > http://www.computerking.ca http://www.canmail.org > > > > Sales, Service, and Hosting > > Email, Data, and Web Packages > > Ask about web design specials > > > > Affiliates > > http://www.computerking.ca/pages/links/affiliates/affiliates.htm > > > > Maybe Computer Science should be in the College of Theology. -- R. > S. > > Barton > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" > > > > > -- > WWell by > Iassen Anadoliev > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org"-- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton
sorry everyone i am a dumb a@# i was tring to install php5-extensions the option to build the apache module is found in the php5 port not the php5-extensions very sorry ----- RYAN M. vAN GINNEKEN <luck@computerking.ca> wrote:> Ok folks i looked though the dialog 3 or 4 times looking/yearning for > anything to do with apache but cannot seem to find anything. Does it > go under a differnt name like SOAP or XML or DXML or something like > that. > > ----- Iassen Anadoliev <korio@korio.org> wrote: > > On Mon, December 11, 2006 10:13 am, RYAN M. vAN GINNEKEN wrote: > > > > > > trying to get php5 to work with apache anyone got any tips i am > > lost. what > > > ever happend to mod_php > > > > cd /usr/ports/lang/php5 && make config - Do you have APACHE option > > enabled here? > > > > > > > > -- > > > Computer King/CaNMail > > > > > > http://www.computerking.ca http://www.canmail.org > > > > > > Sales, Service, and Hosting > > > Email, Data, and Web Packages > > > Ask about web design specials > > > > > > Affiliates > > > http://www.computerking.ca/pages/links/affiliates/affiliates.htm > > > > > > Maybe Computer Science should be in the College of Theology. -- > R. > > S. > > > Barton > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to > > "freebsd-stable-unsubscribe@freebsd.org" > > > > > > > > > -- > > WWell by > > Iassen Anadoliev > > > > > > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to > > "freebsd-stable-unsubscribe@freebsd.org" > > > -- > Computer King/CaNMail > > http://www.computerking.ca http://www.canmail.org > > Sales, Service, and Hosting > Email, Data, and Web Packages > Ask about web design specials > > Affiliates > http://www.computerking.ca/pages/links/affiliates/affiliates.htm > > Maybe Computer Science should be in the College of Theology. -- R. S. > Barton > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org"-- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton