Re: dl() problems with 4.2.0

From: Date: Mon, 06 May 2002 16:12:30 +0000
Subject: Re: dl() problems with 4.2.0
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5337@lists.php.net to get a copy of this message
Hi Q&A list, Thanks to Russ I've found out the this was causes due the settting extension_dir = ./ in his php.ini Looks at the stable source archives from 4.0.6 to current, it is written this way (enabled, not commented out or so) in php.ini-recommended and php.ini-distributed. Before I start digging my head any further into this, any idea *why* this directive is there and written this way ? It doesn't look right to me at a first glance. If you leave out extension_dir, it defaults to the compiele/build time directory which is <prefix>/lib/extension/... which is where further extension get installed if you use phpize on them. Any hints? - Markus On Mon, May 06, 2002 at 12:14:53PM +0200, Markus Fischer wrote : > Hi, > > I've read your note at http://php.net/dl . If this > case is > true, this is a serious problem. > > > On PHP 4.2.0, it seems that the dl path is relative to the > > current directory, NOT the path that's supplied in 'php-config > > --extension-dir'. This means that the default path most > > extensions install in is wrong and won't work. > > > > If you try and put an absolute path in, it'll make it relative - > > /usr/lib/whatever will go to .//usr/lib/whatever - not that > > useful. > > Can you and/or someone else please double verify this? > > - Markus > > -- > Please always Cc to me when replying to me on the lists. > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc > "I'm not stupid, you know? :)" - Jani Taskinen > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "I'm not stupid, you know? :)" - Jani Taskinen

« previous php.qa (#5337) next »