Re: I am lost. PEAR crisis!

From: Date: Sun, 04 Jul 2004 02:25:32 +0000
Subject: Re: I am lost. PEAR crisis!
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13479@lists.php.net to get a copy of this message
In a ".htaccess" file (that's the name of the actual file, you'll need to open notepad and Save As ".htaccess" - using quotes let's you not have a file name), just add to the first line: php_value include_path ".;/path/to/pera" That file would then go in your public_html or htdocs folder, whichever you use as the root for your webserver. "Powtac" <powtac@gmx.de> wrote in message news:20040703232614.26306.qmail@pb1.pair.com... > Hi Mike, > > > Note: To use PEAR without any problems you need to add your > > PEAR Installation path (C:\Apache2\htdocs\go-pear\PEAR) > > to your include_path. > > > > Using a .htaccess file or directly edit httpd.conf would be working solutions > > for Apache running servers, too. > > this means, to add the path to PEAR to your php.ini. Like this: > > include_path = ".;c:\php\pear" > > But If you dont have access to php.ini you can use > > ini_set('include_path', '/www.yourdomain.com/pear/PEAR'); > > at the top of your phpscript. > There is also a alternative to give the path to php by .htacess, but I > dont know how exactley. > > By powatc

« previous php.pear.general (#13479) next »