RE: [phplib] ??OT php.ini changes for phplib OT?? From: Monika Huk (monika.huk <email protected>)
Date: 11/09/00

Hi, Rolf,

> My (small and friendly) ISP runs Apache + php 4.x.
>
> He would let me touch the php.ini, so I can change the _include-path_ plus
> the autoprepend-entry according to the phplib recommendations.
>
> But, whats the way to go here, so that his other customers can use the
> php-interpreter with the standard php.ini entries?
> Any ideas about how to set this baby up???

Your provider only has to enable you to make the appropriate changes in a
.htaccess-file.

changes to the php.ini:
<Directory PATH_TO_YOUR_WEBDIRECTORY>
    AllowOverride AuthConfig Limit Options
</Directory>

Here you ISP must repeat the Default-Values hey allows to override, he has
in his php.ini anyway, which may be AuthConfig and Limit. He has to add
"Options" to enable you to use php_value in you .htaccess-File.

Then you put a .htaccess-file into you document-root-directory which says:

php_value include_path ENTER_YOUR_COMPLETE_INCLUDE_PATH_INCL_DEFAULT_VALUES
php_value auto_prepend_file NAME_OF_YOUR_PREPEND_FILE

I am a newbie with this stuff, but it worked for me ;-)

HTH,
Monika

-------------------------------------------------
*** Hardware lebt ... und sie ist boese! ***
mailto:monika.huk <email protected>
http://www.huk-onl.de

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>