Lounge Network - Knowledge Base

  View Printer Friendly Version Search
KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer
How do I make PHP ini settings?
There are two choices for making a PHP ini setting. You can either supply a complete php.ini file, or you can supply one or more additional ini files which contain only specific settings you wish to change.

Some software packages may instruct you to add php_flag or php_value settings to an .htaccess file. For the CPanel Libra & Concorde servers, you must instead use a PHP ini setting. As with .htaccess files, you can make a php.ini file in your text editor as shown below.


_custom_php_settings method

Create a directory called _custom_php_settings in the same directory as the php file that is being requested, inside this directory you can create as many ini files as your require, each will be read (in no particular order) and the ini settings applied "over the top of" the normal php.ini. You need to follow this method if you are using a .htaccess file for something else.

KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer




Knowledgebase Manager

© Copyright Lounge Network 2001-2017