Wordpress

From ArchWiki
Revision as of 08:46, 30 June 2012 by Kynikos (Talk | contribs) (Install: do not use `pacman -Sy` + comply with Help:Style)

Jump to: navigation, search

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

Install wordpress from the official repositories.

Configuration

One must have a working PHP installation, a MySQL server 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