• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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