You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
We are moving to a new server running CentOS7 x86 64-bit. What would be the best version of PHP to run with K9 as we can choose from 5.5 through 7. If you have any other recommended settings or software versions please can you let me know.
Thanks.
Last edited by sdn (07-18-2017 11:57:46)
Offline
You should go with PHP7. You'll have no issues on that platform. Excellent choice. The only thing I'd mention is that I've seen quite a few users setting their databases up as InnoDB lately, however prefer the default MyISAM, which is easier to configure and less prone to load issues in my experience. But, that's beyond the scope of what you were asking.
Offline
A message has appeared in WHM stating that PHP 7.2 is EOL. Is there any problem that you know of if we update to PHP 7.3, 7.4 or even 8.0?
Offline
PHP7.3 you're good to go on.
PHP7.4 you should be good to go on - you might need a PEAR Mail update which will be released as part of update 9.1.0. If that's the case, I'll post back here.
PHP8 we have not tested yet.
Offline
I installed PHP7.3 and tested but found the checkout did not work as mcrypt was not installed. After installing mcrypt for php7.3 (as per https://whattheserver.com/how-to-instal … s-7cpanel/) I now get this error message for the whole site as soon as PHP7.3 is selected in MultiPHP Manager.
"Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request."
Tried rebooting and running the installer to update PEAR but still not working. Do you have any ideas?
Last edited by sdn (12-10-2020 14:22:54)
Offline
I appear to have fixed this now by deleting the cPanel-generated php text in htaccess and reselecting PHP7.3. It seemed to take a few seconds for it for straighten things out and then the site came back online. cPanel has added a new entry to htaccess as follows:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Last edited by sdn (12-11-2020 04:19:04)
Offline
I did run the installer and updated PEAR and see it is version 1.10.12.
I just sent a message using the K9 contact form and it arrived OK so assume that means it is working correctly.
I have also upgraded mcrypt to version 1.03 and after some initial issues that also seems to be working OK.
Last edited by sdn (12-11-2020 13:36:13)
Offline