Line 62: |
Line 62: |
| | | |
| | | |
− | '''<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 70: |
| '''<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 257: |
| | | |
| | | |
| + | ++ 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 264: |
| 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 |