Re: Re: Script failing on extension_dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie <nospam@xxxxxxxxxxxxx> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux