Re: Re: Script failing on extension_dir

From: Date: Tue, 10 Apr 2012 16:05:29 +0000
Subject: Re: Re: Script failing on extension_dir
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-317509@lists.php.net to get a copy of this message
On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie <nospam@mckenzies.net> wrote: > On 04/09/2012 03:16 PM, George R Smith wrote: >> EXTDIR=php -i 2> /dev/null | grep -i "extension_dir" | cut >> -d" " -f3 >> >> Error message follows, what does the no mean ? >> get the directory where PHP extension are stored >> ============================================================ >> You need to create the php extensions directory: >> /usr/lib/php5/20090626+lfs no >> ============================================================ > > There is something wrong with the cut where it is getting a 'no' from > the next line.  No time to test fixing that now but the simple fix on > your machine is this: > > EXTDIR="/usr/lib/php5/20090626+lfs" > While I agree that it will fix the problem, it does sound suspicious. You can check what php -i returns, to check if there is any problem with your PHP configuration.

« previous php.general (#317509) next »