Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 22:25:01 +0000
From:      John Howie <john@thehowies.com>
To:        "byrnejb@harte-lyne.ca" <byrnejb@harte-lyne.ca>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD running PHP on Apache24 
Message-ID:  <2356B2E9-4D7C-4555-A81C-37004EFD5C16@thehowies.com>
In-Reply-To: <fda6dee5bd29f8a19874760237927eb1.squirrel@webmail.harte-lyne.ca>
References:  <fda6dee5bd29f8a19874760237927eb1.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

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@freebsd.org<mailto:freebsd-questions@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@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@freebsd.org<mailto:freebsd-questions@freebsd.org> mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2356B2E9-4D7C-4555-A81C-37004EFD5C16>