Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: http.exe - Application Error |
|
Author |
|
MCPO
Joined: 06 Nov 2007 Posts: 1
|
Posted: Tue 06 Nov '07 22:54 Post subject: http.exe - Application Error |
|
|
I followed all the instructions here, but keep getting this error every time I try to run a PHP script.
ERROR:
The instruction at "0x0081a245" referenced memory at "0x00000026". The memory could not be "read".
I DO see the results of the script, but Apache crashes each time.
<?php
phpinfo();
?>
OUTPUT:
PHP Version 5.24
Server API: Apache 2.2 Handler www.apachelounge.com
Loaded Config File: C:\Windows\phi.ini
PHP API: 2041225
PHP Extension: 20060613
Any ideas where I goofed? This was a fresh install of Apache and PHP and MySQL...all latest and greatest.
1. apache_2.2.6-win32-x86-no_ssl.msi (I also tried the open_ssl)
2. php-5.2.4 (I did *not* run the Windows installer)
httpd.conf
LoadModule php5_module C:/PHP5/php5apache2.dll
AddType application/x-httpd-php .php
I downloaded the php5apache2.dll-php5.1.x file from Apache lounge and followed the instructions. Except my php.ini file is in the Windows directory.
php.ini
extension_dir = "C:\PHP5\ext"
Note: Also added C:\PHP5 to the path.
I also copied the php5ts.dll file to the C:Windows\system32 directory.
Thanks,
Frank |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 07 Nov '07 10:11 Post subject: Re: http.exe - Application Error |
|
|
MCPO wrote: |
I downloaded the php5apache2.dll-php5.1.x file from Apache lounge and followed the instructions. Except my php.ini file is in the Windows directory.
|
As the name says it is only for PHP 5.1.x not 5.2.x
You should use the LoadModule php5_module C:/PHP5/php5apache2_2.dll |
|
Back to top |
|
|
|
|
|
|