logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP 5.3.6 on Apache 2.2.17???
Author
curtisnt



Joined: 29 Mar 2011
Posts: 3

PostPosted: Tue 29 Mar '11 16:44    Post subject: PHP 5.3.6 on Apache 2.2.17??? Reply with quote

I need (must) upgrade to PHP 5.3.6 on a Windows system. PHP 5.3.6 from Windows.php.net is built with VC9 and says must be used with a VC9 version of Apache at Apache Lounge. I got 2.2.17 running by itself ok. I then installed PHP 5.3.6 as an Apache 2.2.x module. I try to restart Apache and I get this message:

httpd.exe - Application Error : The instruction at "0x0092c1bf" referenced memory at "0x008758a8". The memory could not be "written".

What is wrong?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 30 Mar '11 13:47    Post subject: Reply with quote

How did you install PHP?
Back to top
curtisnt



Joined: 29 Mar 2011
Posts: 3

PostPosted: Wed 30 Mar '11 14:27    Post subject: Reply with quote

PHP comes as an MSI. Under Web Server Setup, Apache 2.2.x Module was selected. I pointed it to the apache configuation directory. In the httpd.conf it added:

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP536/"
LoadModule php5_module "C:/PHP536/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL


Never had this kind of problem before...
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 30 Mar '11 16:10    Post subject: Reply with quote

Did you install the required runtime file?

I also wonder why the handler is missing

e.g.
AddHandler application/x-httpd-php .php
Back to top
curtisnt



Joined: 29 Mar 2011
Posts: 3

PostPosted: Wed 30 Mar '11 17:10    Post subject: Reply with quote

I had added the handler line on my own.
The redistributable was installed. I ran repair on it just in case. PC was rebooted and now Apache starts with PHP!!! I'm now getting these PHP warnings:

[30-Mar-2011 10:37:47] PHP Warning: PHP Startup: sqlsrv: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
[30-Mar-2011 10:37:47] PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
[30-Mar-2011 10:37:48] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_curl.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:48] PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
[30-Mar-2011 10:37:48] PHP Warning: PHP Startup: gettext: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
[30-Mar-2011 10:37:48] PHP Warning: PHP Startup: gmp: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
[30-Mar-2011 10:37:49] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_imap.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:49] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_mbstring.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:50] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_mysql.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:50] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_mysqli.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:51] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_openssl.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:51] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_pdo_mysql.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:52] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_pdo_odbc.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:52] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_pdo_sqlite.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:53] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_pgsql.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:54] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_soap.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:55] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_sockets.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:56] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_sqlite3.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:37:56] PHP Warning: PHP Startup: tidy: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
[30-Mar-2011 10:37:57] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_xmlrpc.dll' - The specified procedure could not be found.
in Unknown on line 0
[30-Mar-2011 10:38:02] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP536\ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0


I set the extension dir
extension_dir = "C:\PHP536\ext"

Ideas??
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 30 Mar '11 17:16    Post subject: Reply with quote

it seems that a lot of the php extensions do not load. You should disable them in the php.ini

it seems that the modules have a different magic number than php itself. i wonder why.
Back to top
bentogoa



Joined: 09 Feb 2007
Posts: 66
Location: GOA

PostPosted: Wed 30 Mar '11 23:14    Post subject: Reply with quote

which windows version ? xp, vista, win7 ???


Do u have old php5ts.dll in $PATH ?
Back to top
ricardok1



Joined: 15 Dec 2009
Posts: 8
Location: Portugal

PostPosted: Mon 04 Apr '11 23:39    Post subject: Reply with quote

hi,
you have different PHP versions of the extensions:

«
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
»

You must have all VC9 compiled now. Comment that extensions or install the VC9 version.

Thanks
Ricardo
Back to top
MelissaDaisy99



Joined: 13 May 2011
Posts: 1

PostPosted: Sat 14 May '11 2:15    Post subject: Reply with quote

it seems that a lot of the php extensions do not load. You should disable them in the php.ini


__________________
watch online movies
Back to top


Reply to topic   Topic: PHP 5.3.6 on Apache 2.2.17??? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software