php.ini for an entire site

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • AndrewT
    replied
    Yes, now it will use the php.ini file that is in the directory of the particular script.

    Leave a comment:


  • ePlanetDesign
    replied
    Originally posted by AndrewT
    For PHP4, no.

    For PHP5, it will always use the php.ini file that you have directly in the public_html directory.
    For PHP5, can you add other php.ini files to different directories?

    Leave a comment:


  • AndrewT
    replied
    For PHP4, no.

    For PHP5, it will always use the php.ini file that you have directly in the public_html directory.

    Leave a comment:


  • canstocker
    started a topic php.ini for an entire site

    php.ini for an entire site

    Hello everyone,

    Is there a way to create a php.ini file that will work for an entire Website?

    Currently when I create a php.ini and overwrite variables, it only works with .php files in the same folder (not subfolders).

    Thanks, Dan.
Working...