Jump to content

Fatal error: Call to undefined function mysql_connect() in


Recommended Posts

Bonjour,

J'ai installé APC sur mon serveur Debian.

Après cela, j'ai cette erreur:

Fatal error: Call to undefined function mysql_connect() in /var/www/vhosts/xxxxxx/httpdocs/classes/MySQL.php on line 34

 

Je cherche depuis plusieurs jours la solution sans découvrir. Via ssh j'ai désinstallé APC mais sans résultat.

Dans mon php.ini au niveau Extensions Dynamiques

; If you wish to have an extension loaded automatically, use the following

; syntax:

;

; extension=modulename.extension

;

; For example, on Windows:

;

; extension=msql.dll

;

; ... or under UNIX:

;

; extension=msql.so

;

; ... or with a path:

;

extension=/path/to/extension/msql.so

;

extension=gd.so

extension=php_mysql.dll

extension=php_mysqli.dll

 

J'ai tenté de réinstaller un version de prestashop et j'ai cette erreur Le support de MySQL est activé.

Merci de vos pistes et aides

Cordialement,

Balam

 

 

 

RESOLU

 

Merci à magavenue pour leurs travail honnête et toujours rapide sans surprises en ce qui concerne les tarifs.

Si vous vez un prblème vous pouvez faire appel à magavenue.

Link to comment
Share on other sites

  • 1 year later...

So what was the actual solution then..?

 

Because I am having the same problem.

 

 

For anyone with the same issue: You have to remove XCACHE from Debian as it conflicts with APC.

 

Your APC will work fine after this.

 

Source: http://www.installion.co.uk/debian/squeeze/main/p/php5-xcache/remove.html

 

 

Also, don't forget to clear your xCache cache! Otherwise Apache will have a hard time..

 

http://wpscale.com/uninstall-xcache-and-solving-error-failed-loading-cannot-open-shared-object-file-no-such-file-or-directory/

Hello

 

Thank you in French writing of French forum. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...