Jump to content

Recommended Posts

Posted

This is how one company allows changes to php.ini files - do you gys do the same ?

 

RESOLUTION

The servers use a master php.ini file for all directories without a php.ini file in it. You will have a copy of this file in your public_html directory, and you can make any changes to this file, and they will take precedence over the master file. You will need to copy this file into all subdirectories within your site which have php files that you would like to affect.

 

You can also use this to have a different environment for different folders. So, if you want to run two scripts which have different requirements, you can put them in two different folders and then put different php.ini files in each of those folders.

 

If you have any further questions about configuring the php.ini file, there extensive descriptions within the file itself, and you can also find more help at:

Posted

The majority of PHP non-runtime settings can be controlled in your .htaccess using php_value and php_flag commands.

 

See php.net for some more info on those flags, or feel free to ask here about any specific settings.

 

You can also control many settings using ini_set() within your code as well.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...