You are not logged in.

#1 2016-03-20 04:09:47

Hossein Heydari
Member
From: Iran
Registered: 2015-12-16
Posts: 33

Importing php7 modules in Apache web server file config

Hi
I installed php7 on my computer here you see the details:

Name            : php
Version         : 7.0.4-2
Description     : A general-purpose scripting language that is especially suited
                  to web development
Architecture    : x86_64
URL             : http://www.php.net
Licenses        : PHP
Groups          : None
Provides        : php-ldap=7.0.4
Depends On      : libxml2  curl  libzip
Optional Deps   : None
Required By     : php-apache  php-mcrypt
Optional For    : None
Conflicts With  : php-ldap
Replaces        : php-ldap
Installed Size  : 14.97 MiB
Packager        : Bartlomiej Piotrowski <bpiotrowski@archlinux.org>
Build Date      : Sat 05 Mar 2016 11:59:45 AM IRST
Install Date    : Thu 17 Mar 2016 05:40:23 AM IRST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

I also installed php-apache package, how should I enter php7 modules at the end of the "/etc/httpd/conf/httpd.conf" for wordpress?

Offline

#2 2016-03-24 20:28:53

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: Importing php7 modules in Apache web server file config

LoadModule php7_module modules/libphp7.so
Include /etc/httpd/conf/extra/php7_module.conf

You will need to configure php itself appropriately via /etc/php/php.ini, which I cannot help you with since I don't use Wordpress.

Offline

Board footer

Powered by FluxBB