Error “Call to undefined function mysql_pconnect()”

I am not sure what happen, but recently I couldn’t run my Wikindx3, and got this error :

Fatal error: Call to undefined function mysql_pconnect()

It could be due to the update in php Ubuntu package.

What I did to solve this is

sudo apt-get install php5-mysql

Then go to


and edit the file php.ini

find this Dynamic Extension and make sure you have the line “”

; Dynamic Extensions ;

It solves my problem. Thanks to this post.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: