ashish.135's avatar

Can we create new php.ini in the public_html and configure PHP accordingly?

Hello,

I need to reconfigure php.ini. So it's possible to create a new PHP.INI file with new configuration setting?

0 likes
2 replies
shakti's avatar

yes it is possible , but please note if you do this all the configuration of your server will be updated as per the latest file

you can check your configuration by phpinfo() function in any of your page

Thyrosis's avatar

Mind you, that depends on the server settings.

To check, pull up a phpinfo() in one of your views and check for which PHP file is loaded and, if you create a new one in the public_html, if its included then in the loaded inis.

If not, you may need to adjust your server settings to allow user-inis and if so, in what folder.

Please or to participate in this conversation.