Re: PEAR & PHP

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

 



"Ethan Rosenberg" <ethros@xxxxxxxxxxxxx> wrote:

>At 03:29 AM 1/30/2011, Thijs Lensselink wrote:
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>On 01/30/2011 05:43 AM, Ethan Rosenberg wrote:
>> > Dear list -
>> >
>> > I enter the command pear list, and get errors.  See below --
>> >
>> > ethan@rosenberg:/usr/lib/php5$ ls -l
>> > total 12
>> > drwxr-xr-x 2 root root 4096 Jan  6 00:53 20090626+lfs
>> > drwxr-xr-x 2 root root 4096 Jul 18  2010 libexec
>> > -rwxr-xr-x 1 root root  596 Jan  5 08:09 maxlifetime
>> >
>> > ethan@rosenberg:/usr/lib/php5$ pear list
>> > PHP Warning:  PHP Startup: Unable to load dynamic library
>> > '/usr/lib/php5/20090626+lfs/msql.so' -
>> > /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file:
>No
>> > such file or directory in Unknown on line 0
>> > <font color=#ff0000>
>> > Warning: PHP Startup: Unable to load dynamic library
>> > '/usr/lib/php5/20090626+lfs/msql.so' -
>> > /usr/lib/php5/20090626+lfs/msql.so: cannot open shared object file:
>No
>> > such file or directory in Unknown on line 0
>> > </font>Installed packages, channel pear.php.net:
>> > =========================================
>> > Package          Version State
>> > Archive_Tar      1.3.7   stable
>> > Console_Getopt   1.2.3   stable
>> > PEAR             1.9.1   stable
>> > Structures_Graph 1.0.3   stable
>> > Validate_US      0.5.4   beta
>> > XML_Util         1.2.1   stable
>> >
>> > ethan@rosenberg:/usr/lib/php5$ cd 20090626+lfs
>> >
>> > ethan@rosenberg:/usr/lib/php5/20090626+lfs$ ls -l
>> > total 560
>> > -rw-r--r-- 1 root root  95596 Jan  5 08:09 gd.so
>> > -rw-r--r-- 1 root root  38272 Jan  5 08:09 mcrypt.so
>> > -rw-r--r-- 1 root root 109220 Jan  5 08:09 mysqli.so
>> > -rw-r--r-- 1 root root  42352 Jan  5 08:09 mysql.so
>> > -rw-r--r-- 1 root root  26116 Jan  5 08:09 pdo_mysql.so
>> > -rw-r--r-- 1 root root  87588 Jan  5 08:09 pdo.so
>> > -rw-r--r-- 1 root root 141336 Aug 19 04:04 suhosin.so
>> >
>> > ethan@rosenberg:/usr/lib/php5/20090626+lfs$
>> >
>> > Help and advice, please.
>> >
>> > Thanks.
>> >
>> > Ethan
>> >
>> > MySQL 5.1  PHP 5.3.3-6  Linux [Debian (sid)]
>> >
>> >
>>
>>msql.so is missing. So either install it. Or comment it out in php.ini
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>++++++
>Thank you.
>
>You are correct, msql is not installed.
>
>1] How do I install it?  apt-get install does not find the package.
>
>2] Excuse my ignorance, what is a dynamic extension?
>
>Ethan
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

I noticed you mis-typed mysql as msql there, did you try apt-get mysql or msql? Mysql comes with every Linux distro I've ever used, so it should be there in your standard repositories.


Thanks
Ash
http://www.ashleysheridan.co.uk
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

-- 
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