• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Editing php.ini file

stokiesteiner

New Pleskian
Everytime I try and change the php.ini file i get this error

Error: Unable to edit file //etc/php.ini: filemng: Error occurred during /bin/cp command.

could this be a problem permissions?

any advice any one?
 
Last edited:
File Manager? Am not sure there is a way you can edit that /etc/php.ini in file manager. However your perhaps are talking about the individual php settings for a domain name.

If you wish to edit /etc/php.ini then you MUST use SHELL
 
I have tried using shell, but it says that i dont have the necessary permissions.

I thought i had full permissions seeing as its my server and im the admin, dont suppose you know which permissions i need?
 
Only root is allowed to edit /etc/php.ini file.

If you try to edit /etc/php.ini using build-in filemanager, then you realy open the file /var/www/vhosts/<your-domain>/etc/php.ini
Anyway it could be modified by root only too.
 
i have tried logging in as root, but it just shows up as my normal user :S

could it be possible to cheat and make a user account called root and try editing it?
 
The only way to modify server-wide settings in /etc/php.ini is to login in shell by root.
Possibly you should ask server owner for it.
 
I've root access to SHELL, and I can see php.ini file at <DOMAIN>/etc/php.ini

How can change some config values in php.ini using SHELL?
 
In Plesk 11.5 file /var/www/vhosts/<your-domain>/etc/php.ini was moved to /var/www/vhosts/system/<your-domain>/etc/php.ini
 
Back
Top