Forum Moderators: coopster

Message Too Old, No Replies

.htaccess php config settings

Need help

         

simpsoholic

12:35 am on Oct 16, 2005 (gmt 0)

10+ Year Member



I am currently reading a book about making a PHP and MySQL website with apache ad MySQL. The problem that i am having is with the .htaccess file. I have installed XAMPP and it is working fine. The book discribes the .htaccess file in their case to be

php_value include_path
".:/usr/lib/php/:/var/www/html/_lib/_base:/var/www/html/_lib/_classes:/var/www/html/site:/var/www/html/core:/var/www/html/pear"

php_value register_globals "off"

Everything after the /html/ part is part of the site i am making. XAMPP is installed in, D:/Program Files/xammp/
(D is my hard drive letter)

ergophobe

3:33 pm on Oct 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld simpsaholic.

The problem is that you're using the ":" to separate paths, which is *nix-only. On Windows, you need to use ";"

so

php_value include_path = ".;C:/php/;C:/otherdir/subdir"

like that

simpsoholic

6:48 am on Oct 17, 2005 (gmt 0)

10+ Year Member



thanks very much