Difference between revisions of "Wordpress"

From ArchWiki
Jump to: navigation, search
(Apache)
(Cherokee)
Line 35: Line 35:
 
Now restart apache and it should work by addressing your browser to http://localhost/wordpress
 
Now restart apache and it should work by addressing your browser to http://localhost/wordpress
  
== Cherokee ==
+
=== Cherokee ===
  
 
* Can't install plugins, themes ... (using cherokee web server)
 
* Can't install plugins, themes ... (using cherokee web server)
 
  # cd /srv/http/
 
  # cd /srv/http/
 
  # chown -R http wordpress
 
  # chown -R http wordpress

Revision as of 06:49, 29 June 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Wordpress#)

Install

A wordpress package is in the community repo. Install it with:

pacman -Sy wordpress

Configuration

One must have a working PHP installation and, obviously, a web server. Reference yourself to the LAMP article of this wiki.

Apache

Since wordpress installs files in /usr/share/webapps/wordpress you should add a configuration file.

A basic example is:

/etc/httpd/conf/extra/httpd-wordpress.conf
       Alias /wordpress "/usr/share/webapps/wordpress"
       <Directory "/usr/share/webapps/wordpress">
               AllowOverride All
               Options FollowSymlinks
               Order allow,deny
               Allow from all
               php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:$
       </Directory>

Additional configuration may be added to the file.

Also you must include such configuration file on /etc/httpd/conf/httpd.conf by adding the line:

      Include conf/extra/httpd-wordpress.conf

Now restart apache and it should work by addressing your browser to http://localhost/wordpress

Cherokee

  • Can't install plugins, themes ... (using cherokee web server)
# cd /srv/http/
# chown -R http wordpress