PhpMyAdmin not working - preg_match_all()

RivalMarco

Verified User
Joined
Jun 27, 2010
Messages
8
Hello,

Since this week, my PhpMyAdmin doesn't work anymore, as i visit http://serverip/phpmyadmin or http://domain/phpmyadmin, i get the following error:

Warning: preg_match_all() [function.preg-match-all]: Internal pcre_fullinfo() error -3 in /var/www/html/phpMyAdmin-3.3.3-all-languages/libraries/Message.class.php on line 633

I was running PHP 5.2.13, so i upgraded to PHP 5.3.2 - didnt help
I was running Custombuild 1.1, so i upgraded to 1.2 - didnt help

I also tried to recompile/rebuild PHP with an external PCRE libary, but this didnt help.

Latest version of DirectAdmin: 1.35.1
Installed version of DirectAdmin: 1.35.1

Latest version of Apache: 2.0.63
Installed version of Apache: 2.0.63

Latest version of ProFTPD: 1.3.2
Installed version of ProFTPD: 1.3.2

Latest version of PCRE: 8.02
Installed version of PCRE: 8.02

Latest version of curl: 7.20.1
Installed version of curl: 7.20.1

Latest version of FreeType: 2.3.12
Installed version of FreeType: 2.3.12

Latest version of dovecot: 1.2.12
Installed version of dovecot: 1.2.12

Latest version of MySQL: 5.0.91
Installed version of MySQL: 5.0.91

Latest version of PHP (CLI): 5.3.2
Installed version of PHP (CLI): 5.3.2

Latest version of RoundCube webmail: 0.3.1
Installed version of RoundCube webmail: 0.3.1

Latest version of phpMyAdmin: 3.3.3-all-languages
Installed version of phpMyAdmin: 3.3.3-all-languages

Latest version of SquirrelMail: 1.4.20
Installed version of SquirrelMail: 1.4.20

The server is running CentOS 5.0 64-bit.

I searched Google, but i didn't found any solution.

I hope someone has an solution for this =)
 
Last edited:
It works now.

php.ini:
;error_reporting = E_ALL & ~E_NOTICE
error_reporting = E_ERROR

EDIT: It works, but the PhpMyAdmin installation is corrupt/damaged.
 
Last edited:
./build phpmyadmin didn't help..

Still this error:


Warning: preg_match_all() [function.preg-match-all]: Internal pcre_fullinfo() error -3 in /var/www/html/phpMyAdmin-3.3.3-all-languages/libraries/Message.class.php on line 633

The auth. method is already set to 'http', changing this to 'cookie' doesnt make any difference.
 
try to recompile your phpmyadmin,
before that delete all files.
rm -rf /var/www/html/phpmyadmin*
then type:
Code:
./build phpmyadmin
if you still have the problem
give the httpd errror log
 
try to recompile your phpmyadmin,
before that delete all files.
rm -rf /var/www/html/phpmyadmin*
then type:
Code:
./build phpmyadmin
if you still have the problem
give the httpd errror log

This did not help.

HTML:
[Sun Jun 27 19:32:21 2010] [notice] caught SIGTERM, shutting down
[Sun Jun 27 19:32:39 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 27 19:32:39 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 27 19:32:39 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 27 19:32:39 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 27 19:32:39 2010] [warn] module php5_module is already loaded, skipping
[Sun Jun 27 19:32:40 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 27 19:32:40 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 27 19:32:40 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Jun 27 19:32:40 2010] [notice] Apache/2 configured -- resuming normal operations
 
Last edited:
The problem is solved now.

I recompiled PHP with Centos s version of PCRE, instead of DA s version.
 
I have the same problem, can you please explain me how you compile with the pcre from CentOS?
 
I experienced the same issue when upgrading to PHP 5.2.14. Could you pass along your PCRE solution?

Thanks!
 
*bumps*

I also have this problem and am trying very hard to learn so if someone could tell me how to actually recompile php with the pcre CentOS comes with I'd be eternally grateful.
 
Back
Top