New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

PHP or Apache disabled functions

Started by adrianofnatal, August 28, 2017, 04:47:14 PM

Previous topic - Next topic

adrianofnatal

Hi everyone!

Does PHP or apache have disabled some functions by default in CWP?
I need to run "apache_get_modules" and nothing gets returned.
I found this issue running a Wordpress W3 Total Cache compatibility test, wich tell modules not installed in Apache, but they are installed.

I have done a search for "disabled_functions" in PHP ini files compiled through PHP Selector and nothing was found. There is other files with this option?

Thanks!

studio4host

to get apache modules use this command
/usr/local/apache/bin/httpd -M

to get php modules use this command
php -m

by default there are disabled functions.
what exactly you have missing ?
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

adrianofnatal

Wordpress with W3 Total Cache isn't able to check some modules in Compatibility Check tool.

The code that do this checks use "apache_get_modules" function, that is disabled.

I know the modules is installed, but customers want see the "ok" on Compatibility Check tool.

There is no how "whitelist" some functions?

Thanks!


studio4host

you would need to modify that compatibility check since php running as cgi will not show that info
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

adrianofnatal

I understand.

But the other panels also run with cgi and works. Do you know if this function is disabled in some config file?
I think just enabling this function will not affect security, or am I wrong?

Thanks!

praveen

Simply create php info page using following code under domain name hosting account where you are facing problem and check which php configuration file is used by domain hosting account and check it function is available in php.ini file or not because some time customised php.ini file also caused such problems.

<? phpinfo(); ?>

Let me know result , so that we can help you further.
█ ktchost.com - Reliable Web Hosting Provider
█ E-commerce Ready Hosting | Pure SSD Cloud/VPS | Offshore Dedicated Server
█ 24/7 Reliable Tech Support | Monitoring Service | R1Soft Backup