Command line include path?

From: Date: Tue, 13 Apr 2004 20:45:23 +0000
Subject: Command line include path?
Groups: php.general 
Request: Send a blank email to php-general+get-183263@lists.php.net to get a copy of this message
I'm getting started with PEAR's DB_DataObject and am trying to follow along with the tutorial: http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.p hp It tells me to create the ini file (which I did) and then run createTables.php from the command line to generate my class files. I'm trying to run it and am running into an include issue: zorn$ php -f createTables.php /Library/WebServer/Websites/ASMP/config/DB_DataObject.ini Warning: main(DB/DataObject/Generator.php): failed to open stream: No such file or directory in /usr/local/php/lib/php/DB/DataObject/createTables.php on line 22 Fatal error: main(): Failed opening required 'DB/DataObject/Generator.php' (include_path='.:/usr/lib/php') in /usr/local/php/lib/php/DB/DataObject/createTables.php on line 22 -- Does the command line have it's own include path. Based on my phpinfo() mine is: .:/usr/local/php/lib/php ~ Mike ----- Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> New Project: <http://WebDevWiki.com>

« previous php.general (#183263) next »