CloudLinux - CloudLinux Blog - Unexpected issue caused by the latest alt-PHP update
CloudLinux OS Blog

By accepting you will be accessing a service provided by a third-party external to https://www.cloudlinux.com/

Unexpected issue caused by the latest alt-PHP update

Service-Unavailable

Updated 1:26 PM (PT), April 11, 2019

The fix for this package is released. See https://www.cloudlinux.com/cloudlinux-os-blog/entry/alt-php-updated-1-75.

We’ve found an issue in the latest alt-PHP stable update — a package changes the /etc/cl.selector/symlinks.rules file. And this may cause unexpected behavior of the PHP Selector.

How to fix

  • If you have a backup of the etc/cl.selector/symlinks.rules config file, restore it
  • OR
  • Delete /etc/cl.selector/symlinks.rules file.
  • OR
  • Remove php.d.location = selector option from the /etc/cl.selector/symlinks.rules file.
  • Run the command /usr/bin/selectorctl --apply-symlinks-rules

Please note that this config file doesn't exist by default.

We are sorry about the issue. We are currently working on the fix for this package.

Imunify360 4.0.8 released
Beta: Alt-PHP updated
 

Comments 13

Guest - Ivan Levente on Thursday, 11 April 2019 12:08

It would be better if you fix the initial update itself, or better yet issue a new update that fixes the previously broken things.

It would be better if you fix the initial update itself, or better yet issue a new update that fixes the previously broken things.
Darya Malyavkina on Thursday, 11 April 2019 12:27

Hello Ivan!

The fix will be available in a few hours. But if you do not want to wait, you can do the actions described in the post

Hello Ivan! The fix will be available in a few hours. But if you do not want to wait, you can do the actions described in the post
Guest - Steve on Thursday, 11 April 2019 12:50

What does this mean:

"Restore the same etc/cl.selector/symlinks.rules file from the backup"

Makes no sense to me?

What does this mean: "Restore the same etc/cl.selector/symlinks.rules file from the backup" Makes no sense to me?
Guest - Alberto on Thursday, 11 April 2019 13:01

Backup etc/cl.selector/symlinks.rules config file
Restore the same etc/cl.selector/symlinks.rules file from the backup

What? It doesn't make sense to me either.

Backup etc/cl.selector/symlinks.rules config file Restore the same etc/cl.selector/symlinks.rules file from the backup What? It doesn't make sense to me either.
Darya Malyavkina on Thursday, 11 April 2019 13:12

Only If you have some problems with selector after latest update.
For example, you selected ea-php72, but after updating alt-php72 became selected.

symlinks.rules has to exist only if you use settings of the modules from our selector

Only If you have some problems with selector after latest update. For example, you selected ea-php72, but after updating alt-php72 became selected. symlinks.rules has to exist only if you use settings of the modules from our selector
Inessa Atmachian on Thursday, 11 April 2019 13:28

Hi Steve,

Sorry for puzzling you.
If you face issues with PHP Selector and if you already have a backup of the etc/cl.selector/symlinks.rules file, try to restore it and run the command /usr/bin/selectorctl --apply-symlinks-rules

Hi Steve, Sorry for puzzling you. If you face issues with PHP Selector and if you already have a backup of the etc/cl.selector/symlinks.rules file, try to restore it and run the command /usr/bin/selectorctl --apply-symlinks-rules
Scott Neader on Thursday, 11 April 2019 13:28

The instructions do not make any sense at all. If you backup a file, then restore the exact same backup, you've done nothing. Please explain the process better. Thank you.

The instructions do not make any sense at all. If you backup a file, then restore the exact same backup, you've done nothing. Please explain the process better. Thank you.
Inessa Atmachian on Thursday, 11 April 2019 14:00

Hi Scott,

We've updated the instructions.

Sorry for confusing.

Hi Scott, We've updated the instructions. Sorry for confusing.
Mike Tindor on Thursday, 11 April 2019 14:01

I use exclusively CL's alt-php on my servers. All of my servers have the following in /etc/cl.selector/symlinks.rules

php.d.location = selector

Do I need to change anything? If so, your instructions are unclear about how to restore. Where would we get the backup version of /etc/cl.selector/symlinks.rules from in order to restore it.

Mike

I use exclusively CL's alt-php on my servers. All of my servers have the following in /etc/cl.selector/symlinks.rules php.d.location = selector Do I need to change anything? If so, your instructions are unclear about how to restore. Where would we get the backup version of /etc/cl.selector/symlinks.rules from in order to restore it. Mike
Mike Tindor on Thursday, 11 April 2019 14:05

Thanks for updating the instruuctions

Thanks for updating the instruuctions
Darya Malyavkina on Thursday, 11 April 2019 14:08

Hello Mike!

If you always use this option and after the update you don't have some problems, then nothing needs to be done.

Hello Mike! If you always use this option and after the update you don't have some problems, then nothing needs to be done.
Mike Tindor on Thursday, 11 April 2019 14:11

Thanks, Darya. Well, I already removed symlinks.rules from all my servers and re-ran /usr/bin/selectorctl --apply-symlinks-rules, but I'm pretty sure that didn't harm anything. I appreciate the clarification.

Thanks, Darya. Well, I already removed symlinks.rules from all my servers and re-ran /usr/bin/selectorctl --apply-symlinks-rules, but I'm pretty sure that didn't harm anything. I appreciate the clarification.
Guest - James Smith on Thursday, 18 April 2019 10:14

Hey Inessa,

Thanks for this informative post. It really is a very helpful post regarding web development. I always check all the updates of yours which are worth reading. Your development posts are awesome check out our posts too and thanks again for sharing this post.

Hey Inessa, Thanks for this informative post. It really is a very helpful post regarding web development. I always check all the updates of yours which are worth reading. Your development posts are awesome check out our posts too and thanks again for sharing this post.
Already Registered? Login Here
Guest
Friday, 29 May 2020

Captcha Image