Difference between revisions of "Wordpress"

From ArchWiki
Jump to: navigation, search
(FAQ)
(Apache)
Line 1: Line 1:
 
[[Category:Web Server]]
 
[[Category:Web Server]]
 
{{Stub}}
 
{{Stub}}
== Apache ==
+
== Install ==
 +
 
 +
A wordpress package is in the community repo. Install it with:
 +
 
 +
pacman -Sy wordpress
 +
 
 +
== Configuration ==
 +
 
 +
One must have a working [https://wiki.archlinux.org/index.php/php PHP] installation and, obviously, a web server. Reference yourself to the [https://wiki.archlinux.org/index.php/LAMP LAMP] article of this wiki.
 +
 
 +
=== Apache ===
  
 
Since wordpress installs files in /usr/share/webapps/wordpress you should add a configuration file.
 
Since wordpress installs files in /usr/share/webapps/wordpress you should add a configuration file.
Line 24: Line 34:
  
 
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 ==

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