-3

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
4
  • "noothing works for me" probably means you did soothing wrong. You shouldn't really be using that extension at all these days btw.
    – AD7six
    May 11, 2015 at 12:18
  • PHP 5.3 has hit end of life cycle php.net/eol.php
    – masegaloeh
    May 11, 2015 at 12:58
  • What would be the possible solution..?
    – Ningappa
    May 11, 2015 at 15:02
  • yum search php-mysql showing only one module. php-mysql.x86_64
    – Ningappa
    May 11, 2015 at 15:30

1 Answer 1

1

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.

2
  • No package php5-mysql available. No package php5-mysqli available. I cant able to install.
    – Ningappa
    May 11, 2015 at 15:01
  • yum search php-mysql showing only one module. php-mysql.x86_64.
    – Ningappa
    May 11, 2015 at 15:30

Not the answer you're looking for? Browse other questions tagged .