Help - Search - Members - Calendar
Full Version: PHP Update Fix!-Can't find server/DNS,emalloc error-w/phpMyAdmin,squirrelmail,webmail
The Planet Forums > Control Panels > Plesk
nat
If you upgraded PHP and you experience:

1) "Cannot find server or DNS error" in your web browser when going to phpMyAdmin, webmail, squirrelmail, and other PHP pages.

2) And/or you receive an error similar to "FATAL: emalloc(): Unable to allocate -287672 bytes" in your /usr/local/psa/apache/logs/error_log file when trying to run these and other php scripts.




Then do not use the following configuration option when compiling php.

--with-system-regex




Don't know what system regex library really does and how bad it is needed. But, removing it fixed my PHP problems so it is gone for now.

http://www.php.net/manual/en/install.configure.php

--with-regex=TYPE
regex library type: system, apache, php.

--with-system-regex
Use system regex library (deprecated).
micxz
I still can't access ssl sites or webmail after compiling with out regex. I'm still wondering what I could have done wrong.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.