Changes

From SME Server
Jump to navigationJump to search
831 bytes added ,  00:38, 21 September 2019
m
Line 40: Line 40:  
     * - Enable Execution of dynamic content.  
 
     * - Enable Execution of dynamic content.  
 
     * - If you enable "Force secure connections" all connections will be forced to HTTPS
 
     * - If you enable "Force secure connections" all connections will be forced to HTTPS
         (Viewers will receive "Problem with websites security certificate" error message, unless you install trusted certificates. See [[Letsencrypt|HERE]])  
+
         (If "Force secure connections" is enabled, All Viewers will receive "Problem with websites security certificate" error message, unless you
 +
        install trusted certificates.  
 +
        You can ether purchase commercial certificate, which is recommended for large retail sites, or you can use free LetsEncrypt Contrib, See [[Letsencrypt|HERE]])  
    
'''<u>A2)</u>''' Issue a following command to enable PHP temporary upload folder in that iBay.(Change "iBay" to the name of your ibay and remove quote marks). Note you may have to add additional directories beyond what is shown here depending on the plugins you select. Take a look at /var/log/messages if something isn't working. PHP will issue warnings to that log file. Additional directories are added to the db accounts statement below by separating them with a colon.
 
'''<u>A2)</u>''' Issue a following command to enable PHP temporary upload folder in that iBay.(Change "iBay" to the name of your ibay and remove quote marks). Note you may have to add additional directories beyond what is shown here depending on the plugins you select. Take a look at /var/log/messages if something isn't working. PHP will issue warnings to that log file. Additional directories are added to the db accounts statement below by separating them with a colon.
Line 62: Line 64:       −
'''<u>A7)</u>''' Point your web browser to your domain and go through the installation process.++<blockquote>++ Wordpress version 5.1+ requires PHP 5.6.20 but default PHP install on SME Server 9.2 is 5.3.3</blockquote><blockquote>You will need to install contrib: [[PHP Software Collections]] and assign your iBay PHP version 5.6 or higher. If you don't complete this step, you will get a blank screen when doing step '''A7'''</blockquote>
+
'''<u>A7)</u>''' Point your web browser to your domain and go through the installation process.++<blockquote>++ Wordpress version 5.1+ requires PHP 5.6.20 but default PHP install on SME Server 9.2 is 5.3.3</blockquote><blockquote>You will need to install contrib: [[PHP Software Collections]] and assign your iBay PHP version <s>5.6</s> 7.1 or higher (PHP 5.6 and 7.0 are already EOL, 7.1 EOL Dec 2019). If you don't complete this step, you will get a blank screen when doing step '''A7'''</blockquote>
 
     '''!! * FOR SECURITY REASONS:'''
 
     '''!! * FOR SECURITY REASONS:'''
 
  1) Never use "admin" for admin user name, that is the first thing hackers try
 
  1) Never use "admin" for admin user name, that is the first thing hackers try
Line 70: Line 72:  
'''<u>A8)</u>''' Enable the wp-content/uploads folder to be writeable by the webserver process (Change "iBay" to the name of your ibay and remove quote marks)  
 
'''<u>A8)</u>''' Enable the wp-content/uploads folder to be writeable by the webserver process (Change "iBay" to the name of your ibay and remove quote marks)  
   −
(If your WP install in directly in .../ibays/"iBay"/html/ , you can ignore "wpsitepath", if you have WP installed in sub-directory of /html/"wpsitepath", change "wpsitepath" to the name of your sub-directory and remove quote marks)
+
(If your WP is installed directly in .../ibays/"iBay"/html/ , you can ignore/remove "wpsitepath", if you have WP installed in sub-directory of /html/"wpsitepath", change "wpsitepath" to the name of your sub-directory and remove quote marks)
 
  chown -R admin:shared /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"
 
  chown -R admin:shared /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"
 
  mkdir -p /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"/wp-content/uploads
 
  mkdir -p /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"/wp-content/uploads
Line 257: Line 259:        +
++ This code makes changes to default PHP installation. If you are using [[PHP Software Collections]] (As suggested in step '''A7''') see below.
 
   db configuration setprop php MemoryLimit 128M
 
   db configuration setprop php MemoryLimit 128M
 
   db configuration setprop php PostMaxSize 112M
 
   db configuration setprop php PostMaxSize 112M
Line 263: Line 266:  
   sv t httpd-e-smith
 
   sv t httpd-e-smith
   −
Sidenote: To see how to change file size limits for other aplications, see here: http://wiki.contribs.org/Email#Set_max_email_size
+
++ If you are using [[PHP Software Collections]], use this code. If you are using different PHP-SCL version other than php71, you can replace that section with version you are using for your Wordpress iBay.<syntaxhighlight>
 
+
db configuration setprop php71 MemoryLimit 128M
 +
db configuration setprop php71 PostMaxSize 112M
 +
db configuration setprop php71 UploadMaxFilesize 96M
 +
signal-event php-update
 +
</syntaxhighlight>
    +
Side note: To see how to change file size limits for other applications, see here: http://wiki.contribs.org/Email#Set_max_email_size
    
Good Luck
 
Good Luck
175

edits

Navigation menu