Saturday, April 9, 2016

php7 on manjaro

Follow instruction to install httpd & php as usual, if not working try this.

[root@majoris fatur]# mcedit /etc/httpd/conf/httpd.conf

add this line:

LoadModule php7_module       modules/libphp7.so
AddHandler php7-script php
Include conf/extra/php7_module.conf


from arch wiki in /etc/httpd/conf/httpd.conf,

comment the line:

LoadModule mpm_event_module modules/mod_mpm_event.so

and uncomment the line:

LoadModule mpm_prefork_module modules/mod_mpm_prefork.so










don't forget to restart the htppd server

Finally

No comments: