FreeBSD running PHP on Apache24
John Howie
john at thehowies.com
Wed Jan 11 22:26:24 UTC 2017
Hi James,
Is PHP5 installed on your system? Run "pkg info” to see if it is. It is probably listed as:
mod_php55-5.5.38_2 PHP Scripting Language
—OR—
mod_php56-5.6.29 PHP Scripting Language
If it is not you will need to install it using “pkg install mod_php55” or “pkg install mod_php56” depending on your preference. Once installed you can configure Apache.
Type “pkg search php5” to get a list of available PHP5 packages you can install.
You can also choose to build whatever you need from Ports (/usr/ports/www), especially if you have no-default installation requirements.
Regards,
John
On Jan 11, 2017, at 2:11 PM, James B. Byrne via freebsd-questions <freebsd-questions at freebsd.org<mailto:freebsd-questions at freebsd.org>> wrote:
I cannot seem to discover where one obtains the php5 module for
apache24. On my CentOS6.8 boxes running Apache2.4.9 I do this in
php.conf
LoadModule php5_module modules/libphp5.so
But I cannot even locate a libphp5.so for FreeBSd to load. How is php
invoked?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
_______________________________________________
freebsd-questions at freebsd.org<mailto:freebsd-questions at freebsd.org> mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list