PDA

View Full Version : How do I change local value Configuration directives


Ryuuguu
01-21-2000, 08:03 AM
I would like to change the local value of auto_append_file. When I run phpinfo.php3 it last a master value and a local value but I can find no way in the manual to change the local value.[nbsp][nbsp]Change these values would make it a lot easier to instal variuos PHP packages.

TIA

Grant[nbsp]

Terra
01-21-2000, 09:00 AM
1) create/edit www/.htaccess
2) prepend any PHP variable with 'php3_'
e.g.
php3_auto_append_file=xzxzxzxzxzxz

For filenames, I'm not 100% sure in this context if you need to use the FULL path, or the chopped safe_mode path...

zxzxzxzxz == /big/dom/x?????/??????
or
zxzxzxzxz == /x????????/???????
or
zxzxzxzxz == x????????/????????

Pick one of the 3 and test for desired results... ;)

Let us know exactly which style worked for you...

--
Terra
--Falling asleep at the wheel--
FutureQuest

Ryuuguu
01-22-2000, 05:26 AM
I used the following for my .htaccess in the directory that had the PHPLib index.php3 file.

php3_magic_quotes_gpc Off[nbsp][nbsp]
php3_magic_quotes_runtime Off
php3_magic_quotes_sybase Off
php3_track_vars On[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]
php3_include_path[nbsp][nbsp][nbsp][nbsp][nbsp][nbsp]/big/dom/xtabenihon/lib/phplib/php
php3_auto_prepend_file prepend.php3

PHPlib works fine for the test examples so far.