Where to edit php.ini file ?

Adapter

Newbie
Joined
Jan 3, 2012
Messages
12
Reaction score
2
Hello,

I have dedicated server, where to edit php.ini file ?

Thanks
 
I have whm/cpanel, can u tell where it is ?

Thanks

Do you have a Parallels Power Panel? Evey Dedicated and VPS has Power Panel, power panel is different from WHM and cPanel.

If you have a Power Panel like Parallels, Well it depends on the Linux distribution you are using, the version of php and the way you install it with Apache web server.

Php.ini may be here in your Power Panel

/etc/php.ini

Or here:

/etc/php/php.ini
/etc/php5/php.ini

Or here:

/usr/bin/php5/bin/php.ini

Hope that helps
 
Do you have a Parallels Power Panel? Evey Dedicated and VPS has Power Panel, power panel is different from WHM and cPanel.

If you have a Power Panel like Parallels, Well it depends on the Linux distribution you are using, the version of php and the way you install it with Apache web server.

Php.ini may be here in your Power Panel

/etc/php.ini

Or here:

/etc/php/php.ini
/etc/php5/php.ini

Or here:

/usr/bin/php5/bin/php.ini

Hope that helps

If you have WHM/Cpanel most of the settings can be accessed via the GUI.

Otherwise you need to SSH into the server and look at /etc/php.ini, /etc/php/php.ini, /etc/php5/php.ini

Don't forget to restart the apache service afterwards.
 
Back
Top