WordPress

WordPress

WordPress

 
 

Install Linux:

wget --no-check-certificate http://wordpress.org/latest.tar.gz
Then unzip the package
tar -xzvf latest.tar.gz 
The WordPress package will extract into a folder called wordpress in the same directory that you downloaded.

Refer here for basic htaccess file and other options
https://codex.wordpress.org/htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

 



PHP Mailer Patch:

SMTP plugin problem is resolved. I had to patch PHPmailer file to get it working on web28 with PHP 5.6.
The patch is:

[root@web28 sundogcatmoon.com]# diff -Nup wp-includes/class-phpmailer.php.bck wp-includes/class-phpmailer.php
--- wp-includes/class-phpmailer.php.bck 2015-09-24 21:09:19.106955847 -0500
+++ wp-includes/class-phpmailer.php 2015-09-25 22:49:11.421939451 -0500
@@ -267,7 +267,13 @@ class PHPMailer
* Options array passed to stream_context_create when connecting via SMTP.
* @type array
*/
- public $SMTPOptions = array();
+ public $SMTPOptions = array(
+ 'ssl' => array(
+ 'verify_peer' => false,
+ 'verify_peer_name' => false,
+ 'allow_self_signed' => true
+ )
+);

/**
* SMTP username.
[root@web28 sundogcatmoon.com]#