switch_mod_lsapi not working for PHP 7.4
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Ignacio
  2. Tuesday, 09 June 2020
  3.  Subscribe via email
Hi,

We're planning to implement PHP 7.4 in all of our servers and use LSAPI as usual.
The thing is that the /usr/bin/switch_mod_lsapi --enable-global script is changing all PHP versions to LSAPI but PHP 7.4.


# /usr/bin/switch_mod_lsapi --force --enable-global
Instruction: http://docs.cloudlinux.com/index.html?apache_mod_lsapi.html
Using force-yes option...
mod_lsapi switched to turning on and off through the MultiPHP Manager(/Home/Software/MultiPHP Manager)
You are using enabled globally mod_lsapi. Do you want to enable mod_lsapi through MultiPHP Manager?
Current PHP will be switched to lsapi handler:
If you type N then mod_lsapi will be disabled and you can enable it again from MultiPHP Manager.


Seems that it is not detecting this new version.
We need to script this because we have several Cloudlinux servers.

Thanks!

Ignacio
Attachments (1)
Rate this post:
  1. 09.06.2020 17:06:39
  2. # 1
Posts: 64
Joined: 17.08.2016
0
Votes
Undo
Hello Ignacio,

can you please open a support ticket here https://cloudlinux.zendesk.com/hc/en-us/requests/new so our specialist can help you asap.

Thanks in advance!
  1. 17.06.2020 13:06:17
  2. # 2
Ignacio Accepted Answer
Posts: 10
Joined: 19.12.2019
0
Votes
Undo
Hi!,

Seems that cPanel updated something because today I've tried again and now it's working.

Thanks,

Ignacio
  1. 17.06.2020 14:06:53
  2. # 3
Sergey Khristich Accepted Answer
Posts: 399
Joined: 20.05.2019
0
Votes
Undo
Hello Ignacio,
Thank you for reporting, happy to hear it! Please let us know if you have any questions.
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.