Oracle Solaris 11.4 / 12 Apache And PHP 5.6
Install php
1 |
pkg install web/php-common web/php-56 web/php-56/extension/php-xdebug |
Install apache
1 |
pkg install web/server/apache-24 web/server/apache-24/module/apache-ssl web/server/apache-24/module/apache-wsgi-27 |
Configure apache
1 2 |
cd /etc/apache2/2.4 cp samples-conf.d/php5.6.conf conf.d/. |
Enable extensions
1 |
/etc/php/5.6/conf.d/extensions.ini |
create phpinfo file (to test)
1 |
/var/apache2/2.4/htdocs/phpinfo.php |
Create Apache virtual server
/etc/apache2/2.4/conf.d/wordpress.conf
1 2 3 4 5 6 7 8 9 10 11 12 |
DocumentRoot /wiki/wp ServerName wpserver.tld ServerAdmin admin@wpserver.tld ErrorLog /var/apache2/2.4/logs/wpserver-error_log TransferLog /var/apache2/2.4/logs/wpserver-access_log Options +Indexes +FollowSymLinks +ExecCGI AllowOverride All Order deny,allow Allow from all Require all granted |
Start apache
1 |
svcadm enable apache:24 |
Source
https://www.howtoforge.com/tutorial/arch-linux-wordpress-install/
Leave a Reply