View Single Post
  #5 (permalink)  
Old 06-27-2008, 06:22 AM
dele454's Avatar
dele454 dele454 is offline
Member
 
Join Date: Jun 2008
Posts: 48
Default

Quote:
Originally Posted by bhagwat View Post
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>
Reply With Quote