php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41465 Error in _safe_erealloc, ap_php_slprintf within php5ts.dll
Submitted: 2007-05-22 16:52 UTC Modified: 2007-05-22 19:25 UTC
From: clegier at legier dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.2.2 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: clegier at legier dot net
New email:
PHP Version: OS:

 

 [2007-05-22 16:52 UTC] clegier at legier dot net
Description:
------------
Loading up httpd from the command prompt. Four errors produced, two of the same errors.

Reproduce code:
---------------
At the command prompt change directory to your APACHE\bin directory.
Start the httpd server by simply typing in httpd and press enter.
C:\APACHE\bin> httpd

Expected result:
----------------
The procedure entry point _safe_erealloc could not be located in the dynamic link library php5ts.dll
The procedure entry point ap_php_slprintf could not be located in the dynamic link library php5ts.dll
The procedure entry point _safe_erealloc could not be located in the dynamic link library php5ts.dll
The procedure entry point ap_php_slprintf could not be located in the dynamic link library php5ts.dll


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-22 17:05 UTC] clegier at legier dot net
Looking at the phpinfo after receiving these errors the PHP logo and the Zend logo do not show. 

expose_php = On
 [2007-05-22 17:09 UTC] sniper@php.net
Please ask support questions on how to install PHP on the mailing lists.
 [2007-05-22 17:12 UTC] clegier at legier dot net
PHP is installed.
 [2007-05-22 17:25 UTC] clegier at legier dot net
No relevant information on _safe_erealloc and ap_php_slprintf in mailing lists.

I am not asking for help on how to install. PHP is installed. Apache and PHP are configured. (And while at first the php.ini was misconfigured and had a undesirable output: http://bugs.php.net/bug.php?id=41463) The above error is now what I get when I try to run httpd.
 [2007-05-22 18:07 UTC] sniper@php.net
You either have a) old extensions loaded which are not compiled for the current php version you installed b) mismatching php5ts.dll with installed extensions / other dlls. 

This is not a bug but just bad installation. First make sure you shutdown everything using PHP, then remove all old dlls, then install the new ones from the installation zip.
 [2007-05-22 19:25 UTC] clegier at legier dot net
1. Shut down PHP and HTTP.
2. Uninstalled PHP and Apache and deleted folders.
3. Re-installed Apache.
4. Verified HTTP request working within Apache.
5. Downloaded new PHP 5.2.2 from us2.php.net Hurricane Electric. 
6. Installed PHP.
7. Configured php.ini-recommended to show correct PATHS. No other changes made. Renamed to php.ini.
8. Changed Apache httpd.conf to allow PHP.
9. phpinfo(); shows PHP installed and working.
10. Stopped HTTP server.
11. Added extensions:

extension=php_bz2.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mssql.dll
extension=php_tidy.dll
extension=php_zip.dll

12. Attempted to start HTTP. Received errors.
13. Stopped HTTP.
14. Uninstalled PHP and deleted PHP folder.
15. Downloaded PHP from us.php.net NEXCESS.NET.
16. Installed PHP.
17. Configured php.ini-recommended to show correct PATHS. No other changes made. Renamed to php.ini.
18. Started HTTP.
19. phpinfo(); shows PHP installed and working.
20. Stopped HTTP server.
21. Added extensions:

extension=php_bz2.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
extension=php_mssql.dll
extension=php_tidy.dll
extension=php_zip.dll

22. Attempted to start HTTP. Received errors.

I understand you are busy, I understand there are tons of bogus bugs, irregardless, it didn't work.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 08:01:26 2024 UTC