-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. Commented May 11, 2015 at 12:18
  • PHP 5.3 has hit end of life cycle php.net/eol.php Commented May 11, 2015 at 12:58
  • What would be the possible solution..? Commented May 11, 2015 at 15:02
  • yum search php-mysql showing only one module. php-mysql.x86_64 Commented 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. Commented May 11, 2015 at 15:01
  • yum search php-mysql showing only one module. php-mysql.x86_64. Commented May 11, 2015 at 15:30

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.