did you install php using rpms from redhat?
you might be missing php-mysql rpm.

it's the same if you seem to be missing things like
imap, xslt, xmlrpc, xml, pear, and cgi


> RH7.3 Apache 1.3x PHP4.1x
> 
> I'm trying to install PHPMyAdmin 2.5.3
> 
> PHPMyAdmin fails to load with:
> 
> ----
> cannot load MySQL extension,
> please check PHP Configuration.
> ----
> [1.20] "cannot load MySQL extension, please check PHP Configuration". 
> 
> To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL
> extension". This extension may be part of the PHP server (compiled-in), otherwise it
> needs to be loaded dynamically. Its name is probably mysql.so or mysql.dll. 
> phpMyAdmin
> tried to load the extension but failed. 
> -----
> 
> PHP docs says that 
> 
> As of PHP 4, --with-mysql is enabled by default so to disable MySQL support you must 
> use
> --without-mysql. 
> 
> phpinfo says I have:
> 
> ---
> 
> PHP Version 4.1.2
> 
> System        Linux daffy.perf.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59 
> EDT 2002 i686 unknown
> Build Date    Sep 26 2002
> 
> Configure Command
> .....
> --with-mysql=shared, 
> ...
> 
> and
> 
> dbx
> dbx support   enabled
> dbx version   1.0.0
> supported databases   MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL Server<br 
> />FrontBase
> ---
> 
> there is NO other MySQL related stuff in phpinfo
> 
> php.ini has
> 
> ..
> [MySQL]
> mysql.allow_persistent = On
> mysql.max_persistent = -1
> mysql.max_links = -1
> mysql.default_port =
> mysql.default_socket =
> mysql.default_host =
> mysql.default_user =
> mysql.default_password =
> ..
> 
> (but these settings are NOT reported by phpinfo )
> 
> 
> what have I overlooked ?
> 
> Voytek Eymont
-- 
Regards,

Kevin Saenz
 
Spinaweb
I.T consultants
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to