Comments on How To Install Wordpress 4 On CentOS 7

How To Install Wordpress 4 On CentOS 7 This document describes how to install and configure Wordpress 4.0 on CentOS 7.0. WordPress started in 2003 with a single bit of code to enhance the typography of everyday writing and with fewer users than you can count on your fingers and toes. Since then it has grown to be the largest self-hosted blogging tool in the world, used on millions of sites and seen by tens of millions of people every day. This tutorial explains the process of installing Wordpress 4.0 on CentOS 7.0 in the form of a simple-to-follow guide.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Aqua

Nice CentOS tutorial,,, I should try this in my centos :)

By: Anonymous

hi i am step by step install wordpress with this guid. but after last step my server not show php.info file and wordpress show this error: WordPress Error: PHP is not running WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off. > prepare( "SHOW TABLES LIKE %s", $wpdb->esc_like( $wpdb->users ) ); $user_table = ( $wpdb->get_var( $sql ) != null ); // Ensure that Blogs appear in search engines by default. $blog_public = 1; if ( isset( $_POST['weblog_title'] ) ) { $blog_public = isset( $_POST['blog_public'] ); } $weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : ''; $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : ''; $admin_email = isset( $_POST['admin_email'] ) ? trim( wp_unslash( $_POST['admin_email'] ) ) : ''; if ( ! is_null( $error ) ) { ?>

By: flatcoated

Hi Killer,

 Thanks for the info.  Incidentally you can use chmod 664, and then change it to 644 after it gets written for the /.htaccess. 

By: Ahmed

Thanks alot , I sepnt one day trying to fix the Permalinks but i was not able to . i found your post and i followed the instructions to edit the apache config file and its working fine , thanks a lot 

By: Chunlei

Many thanks. I tried different ways for 2 days. After following your way, I finally solved the permalink 404 error.  

By: BBQ

!Remark

It is not possible to modify .htaccess via PermaLink settings menu until you configure SELinux permissions!

chcon -t httpd_sys_content_t /var/www/html/wordpress -Rchcon -t httpd_sys_rw_content_t /var/www/html/wordpress -R

Please see https://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/

By: Firestarter

@BBQ You are correct, those are needed both (btw, you forgot a space between wordpress -Rchcon , has to be wordpress -R chcon)  to allow (regular)users to update WordPress by just clicking the update button.

By: Yalink

I'm already done and successful install wordpres. but,

If i access my site on wordpess using http://xxx.xxx.xxx.xxx/ that only display testing apache. And if i need access my site I must add wordpress like this ---> http://xxx.xxx.xxx.xxx/wordpress/ and i need to remove additional url wordpress/ from my site. please help me.

By: Unguec

Perfect my server is up and running smoothly, thanks alot