Home » Categories » Multiple Categories

How do I edit php.ini settings?

There are some variables that can be overwritten in the php.ini file, but we cannot offer any support should it not produce the desired results for your scripts.

To overwrite the variables:

  1. Create a php.ini file in your text editor
  2. In the php.ini, type in the following command:
    variable_name = variable_value
    Where the name is the variable you want to change and the value is the value you want to put into place
  3. Save your php.ini file and upload it to the directory you want to use

You can find a complete set of php.ini directives: http://php.net/manual/en/ini.list.php

However, you should only overwrite the variables that are needed for your application.  Other settings may cause your scripts to malfunction or make them vulnerable to attack.

1 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
What file extensions will run PHP?
Added on Wed, Apr 8, 2015
Do you support Zend Optimizer?
Added on Wed, Apr 8, 2015
Why is my custom php.ini file not working?
Added on Thu, Apr 9, 2015
How do I connect to MySQL with ASP?
Added on Thu, Feb 26, 2015
How do I connect to my MySQL database from my Perl script?
Added on Thu, Feb 26, 2015