PEAK XOOPS - Re: php5 and php.ini in englishin japanese

Re: php5 and php.ini

List posts in the topic

none Re: php5 and php.ini

msg# 1.5
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2008/6/12 1:40 | Last modified
vaughan  上等兵   Posts: 37
Quote:
Which dir do I need to turn off register_globals or other items, thats what I need to know

any directory that contains executable scripts that can be called directly from the url... such as root folder, modules/<module>/

and the admin folders.

you can add php.ini files to all folders automatically, by using .htaccess

SetEnv PHPRC /path to your custom php.ini/

then you only need to create 1 php.ini and store it in that location. the htaccess will take care of the rest.

remember to chmod the php.ini file to 600 afterwards.
Votes:76 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!