As opposite to my past install, I suprisingly discovered that mod_php5x install does no more install it's main dependence : package php5x...
Now, you have to manually add it !
It makes me spend a quite big amount of time before figure this out, it's so highly illogical 8-(
And obviously it does not work as is.
Now it will work (apache restart needed).
Hope this help
Now, you have to manually add it !
It makes me spend a quite big amount of time before figure this out, it's so highly illogical 8-(
Code:
# pkg install mod_php56
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
mod_php56: 5.6.30
Number of packages to be installed: 1
The process will require 4 MiB more space.
1 MiB to be downloaded.
Proceed with this action? [y/N]: y
Fetching mod_php56-5.6.30.txz: 0%...
(...)
[1/1] Extracting mod_php56-5.6.30: 100%
[activating module `php5' in /usr/local/etc/apache24/httpd.conf]
Message from mod_php56-5.6.30:
***************************************************************
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
<FilesMatch "\.php$">
...
</FilesMatch>
***************************************************************
And obviously it does not work as is.
pkg install php56
Now it will work (apache restart needed).
Hope this help
Code:
[FreeBSD XXXXXX 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64]