Re: [PHP4BETA] Include is requiring full path.

From: Date: Sun, 09 Apr 2000 20:12:48 +0000
Subject: Re: [PHP4BETA] Include is requiring full path.
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-13347@lists.php.net to get a copy of this message
Andi Gutmans wrote: > Please edit your php.h file and comment #define VIRTUAL_DIR. > Then do a ./cvsclean; ./buildconf; ./configure .... make and let us know if > it fixes your problem. > Are you setting the include_path in your php.ini? > Anyway let us know what the results are. > Thanks, > Andi > At 11:04 AM 4/9/00 -0400, Shane Burrell wrote: > >I have some code that worked with an update from cvs on friday but now > >on sunday the include function is requiring a full path in order to find > >the include file. I believe it used to have the webroot directory as > >one of the include paths. Now it seems this is not automatic anymore. > >Is this a bug or a new feature? I don't see anything in the NEWS, > >ChangeLog, or this list. If I left some info you need just let me know. > >Thanks. > > > > > >-- > >PHP 4.0 Beta Mailing List > ><http://www.php.net/version4/> > >To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > >For additional commands, e-mail: php4beta-help@lists.php.net > >To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > --- > Andi Gutmans <andi@zend.com> > http://www.zend.com/ > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net That fixed it. I don't have any include dirs defined in the php.ini file. Let me know if there is anything else I can test. Also should the virtual dir stuff force you to have a path defined in the ini file? We may use this feature later but it's been mentioned that it wouldn't be in the php4 release anyways.

« previous php.version4 (#13347) next »