| | | | | | | | | | | | | | Article Summary
Title: | | How to Make a Private php.ini | Description: | How to override the system default php.ini file | Key Words: | override, private, own, php.ini, config, file | Type: | FAQs | Category: | PHP FAQs | Last Updated: | 2002-12-31 00:16:57 |
| | | | |
| | | | How to Make a Private php.ini
How do I override the system default php.ini to change my PHP settings?
-
Determine which version of PHP the site is using:
cat /www/site_name/webapps/ROOT/cgi-bin/php
-
Copy the global
php.ini file to your
/www/site_name/webapps/ROOT/cgi-bin/ directory:
cp /usr/php-version/lib/php.ini /www/site_name/webapps/ROOT/cgi-bin/
-
Make any desired changes to the copy in the
cgi-bin/ directory
| | | | |
| | | | | Copyright © 2000-2024 AO Industries, Inc. |
|