Page 1 of 2

PHP configuration warn

Posted: Sat Feb 27, 2021 9:20 pm
by lillebitte
When calling reqchedk.php on my server I get
Hmm, there appear to be minor issues!
CMSimple_XH 1.7.4 may not run smoothly on this server with the current PHP configuration!
and
Checking that the Webserver is supported – warn
How can I get to know what this warn is about?
PHP version is 7.3.27

Re: PHP configuration warn

Posted: Sat Feb 27, 2021 10:30 pm
by cmb
There should be a link to the "PHP Info" on that page. Follow that link and search for "SERVER_SOFTWARE" in the info. What the respective value?

Note that CMSimple_XH explicitly supports Apache, NGinX and IIS, but probably runs on other servers as well.

Re: PHP configuration warn

Posted: Sat Feb 27, 2021 11:22 pm
by lillebitte
It is a LiteSpeed server. Earlier XH versions can use it.

Re: PHP configuration warn

Posted: Sat Feb 27, 2021 11:53 pm
by cmb
lillebitte wrote:
Sat Feb 27, 2021 11:22 pm
It is a LiteSpeed server. Earlier XH versions can use it.
Ah, thanks! I think that LiteSpeed is still supported (besides may the .htaccess files). Please report any issues you might face!

Re: PHP configuration warn

Posted: Sun Feb 28, 2021 10:12 am
by lillebitte
In the web root I have a .htaccess file, and I have an old CMSimple_XH 1.7.2 running in one map there, CMSimple_XH 1.7.4 is in another map also in the web root.
The .htaccess file has some auto-generated lines about php:
# 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

Re: PHP configuration warn

Posted: Sun Feb 28, 2021 10:38 pm
by lillebitte
I just tried to upgrade to php version 7.4.15, but it doesn't make any difference.

According to the warning it is the current PHP configuration that's wrong somehow.

In the cPanel MultiPHP INI Editor I can alter settings for:
allow_url_fopen
display_errors
enable_dl ("This directive is really only useful in the Apache module version of PHP")
max_execution_time
max_input_time
max_input_vars
memory_limit
post_max_size
session.gc_maxlifetime
session.save_path
upload_max_filesize
zlib.output_compression

Could it be any of these settings that might course the warning?

Re: PHP configuration warn

Posted: Mon Mar 01, 2021 12:08 am
by cmb
lillebitte wrote:
Sun Feb 28, 2021 10:38 pm
According to the warning it is the current PHP configuration that's wrong somehow.
No, not really. It is just that you are using Litespeed, which is not well tested by the CMSimple_XH developers. Just try it out – I presume that it's working fine. :)

Re: PHP configuration warn

Posted: Mon Mar 01, 2021 10:00 am
by lillebitte
Ok, thanks, I'll give it a change

Re: PHP configuration warn

Posted: Mon Mar 01, 2021 11:08 am
by cmb
lillebitte wrote:
Mon Mar 01, 2021 10:00 am
Ok, thanks, I'll give it a change
Great! :)

Especially, if you are running CMSimple_XH 1.7.2 successfully on that server, CMSimple_XH 1.7.4 should work as well.

Re: PHP configuration warn

Posted: Mon Mar 01, 2021 12:10 pm
by lillebitte
That sounds promising!