RE: [PEAR] PEAR not installed at webhost

From: Date: Thu, 26 Jun 2003 15:13:05 +0000
Subject: RE: [PEAR] PEAR not installed at webhost
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6262@lists.php.net to get a copy of this message
Hello, Yes you can do that. Be aware that most webhost deactivate the ini_set function so you would be better off if you have a site-wide directory in your include_path. Arnaud. > Hello, > > I´m new to PEAR and also to this conference and I´d like to > be sure about > one, maybe trivial, question. Let´s suppose that I would like > to use PEAR > classes at webhost, where PEAR is not installed. So if I copy existed > structure of PEAR classes to subdirectory of my web project > at that host, > would it work? I made several attempts on my localhost > (Windows, Apache > 1.3.22, PHP 4.3.2): I copied PEAR to subdirectory - when there wasn't > include_path set in php.ini it didn't work, but when I set > include_path in > my scripts by ini_set() to PEAR directory in that > subdirectory, I could use > PEAR classes. Is this OK? Can it work like this also at Linux > webhosts? I'm > not very familiar with internal PEAR include statements etc.

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