PHP Fatal error: Call to undefined function mysql_pconnect() [closed]

I’m Having same Problem.

PHP Fatal error: Call to undefined function mysql_pconnect() in

I gone through PHP Fatal error: Call to undefined function mysql_pconnect() in. i have same problem. but noothing works for me.

server details:

  1. php version 5.3.
  2. Linux 2.6.32-504.3.3.el6.x86_64

Answer

You have to install PHP extensions, not only the pure PHP engine. There are two mysql-related extensions – php5-mysql and php5-mysqli. You have to install both of them.

Attribution
Source : Link , Question Author : Ningappa , Answer Author : Kondybas

Leave a Comment