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
Are ionCube and Zend Guard Loader installed on your servers?
Added on Mon, Mar 16, 2015
Is imagick available on your servers?
Added on Mon, Mar 16, 2015
Can I use command line arguments with a PHP scheduled task?
Added on Mon, Mar 16, 2015
How do I use gzip on my website?
Added on Mon, Mar 16, 2015
What file extensions will run PHP?
Added on Wed, Apr 8, 2015