DevTech101

DevTech101
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 2.00 out of 5)
Loading...

Oracle Solaris 11.4 / 12 Apache And PHP 5.6

Install php
pkg install web/php-common web/php-56 web/php-56/extension/php-xdebug 
Install apache
pkg install web/server/apache-24 web/server/apache-24/module/apache-ssl web/server/apache-24/module/apache-wsgi-27
Configure apache
cd /etc/apache2/2.4
cp samples-conf.d/php5.6.conf conf.d/.
Enable extensions
/etc/php/5.6/conf.d/extensions.ini
create phpinfo file (to test)
/var/apache2/2.4/htdocs/phpinfo.php
Create Apache virtual server /etc/apache2/2.4/conf.d/wordpress.conf
      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
svcadm enable apache:24
Source https://www.howtoforge.com/tutorial/arch-linux-wordpress-install/
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: