Quote:
Originally Posted by bhagwat
Thanks for reply,
But i have a question that
How can i include path of library by using httpd.conf.
|
Yes you can add it in two ways:
1. Adding it to your httpd.conf file like you mentioned
2. Adding it to your bootstrap config settings
I rather go for the httpd.conf
Here is a sample directive to include in your httpd.conf file
Code:
<VirtualHost 127.0.0.9>
ServerName test
DocumentRoot "D:/apachefriends/xampp/htdocs/xampp/test/public_html"
<Directory "D:/apachefriends/xampp/htdocs/xampp/test/public_html">
AllowOverride All
Options All
</Directory>
php_value include_path ".;D:/apachefriends/xampp/htdocs/xampp/test/library;D:/apachefriends/xampp/php/PEAR;"
php_value magic_quotes_gpc off
php_value register_globals off
</VirtualHost>