• 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 Some PHP settings dont work

xfolder

New Pleskian
Server operating system version
Windows Server 2022
Plesk version and microupdate number
18.0.58
Hi, I am trying to set the 'open_basedir' setting to none, but from the phpinfo-page it does not appear to be set. The same thing happens with the "memory_limit" setting.
 

Attachments

  • Screenshot 2024-02-11 203027.png
    Screenshot 2024-02-11 203027.png
    8.7 KB · Views: 7
  • Screenshot 2024-02-11 202911.png
    Screenshot 2024-02-11 202911.png
    70.6 KB · Views: 6
I understand that you are entering a custom value in a field of the PHP configuration, then click "OK" or "Apply" to apply the new setting, then open the phpinfo() page, but the custom values are not displayed there. Is that correct? Did you click "OK" or "Apply"?

Maybe the phpinfo() page content is not current, because it is delivered from the browser cache. Have you tried clearing the browser cache?
 
There are several reasons why your PHP settings might not be working even though you've changed them in Plesk. Here are some things to check:

1. Are you editing the correct settings file?

Plesk uses different PHP configuration files for different domains and subscriptions. exclamation You can check this in Plesk by going to Websites & Domains > [your domain] > Hosting & DNS > PHP Settings.

2. Are the changes saved correctly?

Sometimes, there might be issues with saving changes in Plesk. Try saving the changes again, refreshing the page, or clearing your browser cache.

3. Has the server been restarted?

Some changes to PHP settings require a server restart to take effect.

4. Are the settings allowed by your hosting plan?

Some hosting providers might have restrictions on certain PHP settings for security or resource management reasons.expand_more Contact your hosting provider to confirm if the specific settings you're trying to change are allowed.

Additional Tips:

  • Check the Plesk error logs: The Plesk error logs might provide more information about why the settings are not being applied. You can usually find the error logs in the Plesk control panel.expand_more
  • Use the command line: You can try setting the PHP settings directly on the command line using the php.ini file.expand_more This might be necessary if Plesk is not allowing the changes you want to make.
I hope this helps!
 
Back
Top