Hello all!
I'm trying to install package mod_php56 or 71. I run the command
and the process does't end. in process table I see:
when I kill him:
When I run
In modules folder I see
But when I try to open a php page, browser downloads the file. The php module does not work.
Please Help!!!
Code:
uname -a:
FreeBSD gateway-bsd 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Code:
pkg install -y mod_php56
New packages to be INSTALLED:
mod_php56: 5.6.32
Number of packages to be installed: 1
The process will require 4 MiB more space.
[1/1] Installing mod_php56-5.6.32...
[1/1] Extracting mod_php56-5.6.32: 100%
perl -w /usr/local/sbin/apxs -e -a -n php5 libphp5.so
when I kill him:
Code:
Message from mod_php56-5.6.32:
***************************************************************
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
***************************************************************
pkg delete mod_php56
, everything is the same.In modules folder I see
Code:
-rw-r--r-- 1 root wheel 4,4M 7 дек. 06:12 /usr/local/libexec/apache24/libphp5.so
Please Help!!!
Last edited by a moderator: