• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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