The Waxy Man a écrit:
> mais phpmyadmin me dit:
> 
> ne peux charger l'extension MySQL,
> vérifiez la configuration PHP
> 
> ... :-(

Vérifie /etc/php.ini afin que les section mysql soient bien définies

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
; if you wish to have an extension loaded automaticly, use the
; following syntax:  extension=modulename.extension
; for example, on windows,
; extension=msql.dll
; or under UNIX,
; extension=msql.so
; Note that it should be the name of the module only, no directory 
information
; needs to go here.  Specify the location of the extension with the 
extension_dir directive above.

extension = gd.so
extension = mysql.so
extension = ldap.so
extension = imap.so
extension = readline.so

; et un peu plus loin dans le fichier:

[MySQL]
mysql.allow_persistent 
= 
On 
; allow or prevent persistent link
mysql.max_persistent 
= 
-1 
; maximum number of persistent links. -1 means no limit
mysql.max_links 
                =       -1      ; maximum number of links (persistent+non persistent). 
 -1 means no limit
mysql.default_port 
        =               ; default port number for mysql_connect().  If unset,
                                                                ; mysql_connect() will 
use the $MYSQL_TCP_PORT, or the mysql-tcp
                                                                ; entry in 
/etc/services, or the compile-time defined MYSQL_PORT
                                                                ; (in that order).  
Win32 will only look at MYSQL_PORT.
mysql.default_host 
        =               ; default host for mysql_connect() (doesn't apply in safe mode)
mysql.default_user 
        =               ; default user for mysql_connect() (doesn't apply in safe mode)
mysql.default_password 
= 
        ; default password for mysql_connect() (doesn't apply in safe mode)
                                                                ; Note that this is 
generally a *bad* idea to store passwords
                                                                ; in this file.  *Any* 
user with PHP access can run
                                                                ; 'echo 
cfg_get_var("mysql.default_password")' and reveal that
                                                                ; password!  And of 
course, any users with read access to this
                                                                ; file will be able to 
reveal the password as well.



Tu sauvegardes, puis tu relance apache:
/etc/rc.d/init.d/httpd restart

-- 
Jean
                                \\\!///
                                -(@ @)-
----------------------------oOO--(_)--OOo----------------------------
Jean Segers             Venez rêver -----> http://www.Demoiselles.com
26, rue du Pin                                  http://www.Sadems.com
34190 Saint Bauzille de Putois               http://it.mondelinux.org
France                                          http://www.deveze.com
Gsm 06 86 12 49 15                         http://www.cyberboutic.com
Tel&Fax 04 67 73 38 30                      http://www.mondelinux.org




Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à