AO Logo
 
  
  
  
Versions
Private php.ini
Upload Size Limit
AO
AO Industries, Inc.
Application Infrastructure ProviderApplication Infrastructure Provider
Sign UpWhat's NewClient AreaContact UsSite Map
 
your location:   home page ··· client area ··· faqs ··· php faqs ··· private php.ini
How to Make a Private php.ini
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?


  1. Determine which version of PHP the site is using:
    cat /www/site_name/webapps/ROOT/cgi-bin/php

  2. 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/

  3. Make any desired changes to the copy in the cgi-bin/ directory
Copyright © 2000-2024 AO Industries, Inc.