• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue User PHP customisations being overwritten by service plan changes....

Rob Taylor

Basic Pleskian
Hi All

I am running the latest version of Plesk Onyx with all updates on 2 servers, one that is currently live and one that is about to go into production:

Version: Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7
OS: CentOS Linux 7.4.1708 (Core)

I very recently made a change to one of the services plans and then got reports from customers that their PHP customisations had been removed.

I have replicated this on our new server and unless I am misunderstanding how the service plan / subscription system works there does indeed seem to be a significant bug - here is how to replicate:

- Go to 'Service Plans'
- Click 'Add a Plan'
- Name 'Test'
- Accept all other defaults
- Click 'OK'
- Go to 'Domains'
- Click 'Add Domain'
- Enter the domain name as 'example.com' or some other test domain
- Enter a username of 'test' and 'generate' a random password
- Leave all other settings as default
- Go to 'Subscriptions'
- Locate the test domain and tick the box
- Click 'Change Plan'
- Select the 'Test' service plan and apply
- Go to 'Domains', locate the domain name and click in it to view settings
- Click on 'PHP Settings'
- Scroll to the bottom and enter the following under 'Additional configuration directives':
default_charset = ""
- Set 'short_open_tag' to 'on'
- Click 'OK'
- Go to 'Service Plans'
- Click on the 'Test' plan
- Set 'Notify when disk space usage reaches' to a different figure (not an unreasonable change)
- Click 'Update and Sync'
- Go to 'Domains'
- Locate the test domain name and click on it
- Click on 'PHP Settings'
- Scroll to the bottom and all PHP customisations have been overwritten :-(

I have replicated this on two servers and two different versions of PHP.

Can someone else confirm this bug or advise what I am doing wrong?

Thanks
Rob
 
Thank you for your reply Peter, was hoping someone would confirm the issue but on your advice I have raised a bug report - I appreciate you taking the time to respond.
 
Back
Top