Hi,

Try the following link

ftp://ftp.pbone.net/mirror/remi.collet.free.fr/rpms/fc6.x86_64/php-mysql-5.2.5-1.fc6.remi.x86_64.rpm

if that doesn't match your need search http://rpm.pbone.net

Saravanan



--- On Sun, 1/20/08, Apple7777 <[EMAIL PROTECTED]> wrote:

> From: Apple7777 <[EMAIL PROTECTED]>
> Subject: Where can I get mysql.so?
> To: mysql@lists.mysql.com
> Date: Sunday, January 20, 2008, 1:32 AM
> Hello,
> 
> I have a problem running PHP scripts from PHP CLI. They
>  work fine when I run them from my browser, but when I run
>  same scripts from CLI, I get this error message:
> 
> 
> Fatal error: Call to undefined function mysql_connect() in
>  /home/re/script.php on line 3
> 
> 
> I've googled and found out that I need to add
> extension=mysql.so
>  in CLI's php.ini file (separate php.ini file that
> works for CLI only).
> 
> The problem is my PHP configured with MySQL support and
> MySQL
>  library doesn't load as dynamic library.
> 
> I've searched for mysql.so on my server (find / -name
> mysql.so), but found only
> this:
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-
> multi/auto/DBD/mysql/mysql.so
> 
> I guess it's mysql.so from another installation, but
> I've copied it to
>  extension directory and added
> "extension=mysql.so" to the CLI's php.ini
> file.
> 
> Now, when I run my script with CLI, I get message:
> 
> 
> Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/extensions/no-debug-non-
> zts-20060613/mysql.so' -
> /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysql.so:
> undefined
> symbol: PL_memory_wrap in Unknown on line 0
> 
> Fatal error: Call to undefined function mysql_connect() in
> /home/re/videoEncode.php on line 3
> 
> 
> So, I guess I was right, it's mysql.so from another
> installation.
> 
> I wonder, where can I get proper mysql.so? Can I download
> it somewhere?
> 
> PS: My distro is Fedora 6.
> 
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:   
> http://lists.mysql.com/[EMAIL PROTECTED]


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to