PHP configuration warn

Questions about how to install and problems installing - please read the documentation first!
lillebitte
Posts: 55
Joined: Fri Jan 29, 2016 7:20 am

PHP configuration warn

Post by lillebitte » Sat Feb 27, 2021 9:20 pm

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

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: PHP configuration warn

Post by cmb » Sat Feb 27, 2021 10:30 pm

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.
Christoph M. Becker – Plugins for CMSimple_XH

lillebitte
Posts: 55
Joined: Fri Jan 29, 2016 7:20 am

Re: PHP configuration warn

Post by lillebitte » Sat Feb 27, 2021 11:22 pm

It is a LiteSpeed server. Earlier XH versions can use it.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: PHP configuration warn

Post by cmb » Sat Feb 27, 2021 11:53 pm

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!
Christoph M. Becker – Plugins for CMSimple_XH

lillebitte
Posts: 55
Joined: Fri Jan 29, 2016 7:20 am

Re: PHP configuration warn

Post by lillebitte » Sun Feb 28, 2021 10:12 am

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

lillebitte
Posts: 55
Joined: Fri Jan 29, 2016 7:20 am

Re: PHP configuration warn

Post by lillebitte » Sun Feb 28, 2021 10:38 pm

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?

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: PHP configuration warn

Post by cmb » Mon Mar 01, 2021 12:08 am

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. :)
Christoph M. Becker – Plugins for CMSimple_XH

lillebitte
Posts: 55
Joined: Fri Jan 29, 2016 7:20 am

Re: PHP configuration warn

Post by lillebitte » Mon Mar 01, 2021 10:00 am

Ok, thanks, I'll give it a change

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: PHP configuration warn

Post by cmb » Mon Mar 01, 2021 11:08 am

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.
Christoph M. Becker – Plugins for CMSimple_XH

lillebitte
Posts: 55
Joined: Fri Jan 29, 2016 7:20 am

Re: PHP configuration warn

Post by lillebitte » Mon Mar 01, 2021 12:10 pm

That sounds promising!

Post Reply