Litespeed Plugin - Fatal error

Echo

Verified User
Joined
Nov 23, 2022
Messages
8
I'm trying to install the latest version of the LiteSpeed plugin (2.3.1.1) and when I visit some urls like /CMD_PLUGINS_ADMIN/litespeed?do=lscwp_manage, /CMD_PLUGINS_ADMIN/litespeed?do=lscwp_mass_enable_disable, /CMD_PLUGINS_ADMIN/litespeed?do=dash_notifier, I still receive this error message.

PHP:
Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
Exception Caught - Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
Fatal error: Uncaught LsPanel\DAPluginException: Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0 in /usr/local/directadmin/plugins/litespeed/admin/DAEscalate.php:1702 Stack trace: #0 /usr/local/directadmin/plugins/litespeed/admin/DAEscalate.php(1627): LsPanel\DAEscalate::handleMgrCmdOutput(Array) #1 /usr/local/directadmin/plugins/litespeed/admin/DAPluginLogger.php(828): LsPanel\DAEscalate::escalate(true, 'WRITE_TO_LOG') #2 /usr/local/directadmin/plugins/litespeed/admin/DAPluginLogger.php(216): LsPanel\DAPluginLogger->writeToFile(Array) #3 [internal function]: LsPanel\DAPluginLogger->__destruct() #4 {main} thrown in /usr/local/directadmin/plugins/litespeed/admin/DAEscalate.php on line 1702

I'm running out of ideas to fix my issue. Has anyone else encountered this problem?
 
I contacted LiteSpeed support, and here's their response:

That error should be coming from your direct Admin PHP binary configuration and not our plugin.

PHP directive 'allow_url_include' was deprecated in PHP v7.4. This directive is not used by our plugin in any way and must be turned off in the related .ini file to resolve the conflict.

I have modified the php.ini file that I see in the admin directory of the plugin (/usr/local/directadmin/plugins/litespeed/admin/), but it doesn't solve the problem. :-/

Does anyone have an idea?
 
Check if there is a .htaccess file in your public_html or a user.ini or php.ini there.

Then also check the normal php.ini for example in /usr/local/phpXX/lib/php.ini and set the according setting to Off if present.
Don't forget to restart the php-fpm and to be sure apache/litespeed or whatever you are using.
 
Check if there is a .htaccess file in your public_html or a user.ini or php.ini there.

Then also check the normal php.ini for example in /usr/local/phpXX/lib/php.ini and set the according setting to Off if present.
Don't forget to restart the php-fpm and to be sure apache/litespeed or whatever you are using.

I installed the LiteSpeed Web Server plugin for DirectAdmin in the /usr/local/directadmin/plugins/ directory as an admin directly in DirectAdmin. The plugin is installed in the admin section, not in a user account (public_html).

Is there a specific PHP version or PHP configuration that applies to the DirectAdmin admin section? I'm not expressing myself well... But it seems like something is taking precedence for the plugin section.

I have attached a screenshot. It might help understand my unclear explanation."
 

Attachments

  • litespeed-plugin-DA1.png
    litespeed-plugin-DA1.png
    210 KB · Views: 3
  • litespeed-plugin-DA2.png
    litespeed-plugin-DA2.png
    218.3 KB · Views: 3
Back
Top