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: Apache and PHP compatability ?
Author
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Thu 01 May '14 17:50    Post subject: Apache and PHP compatability ? Reply with quote

Am running Windows 7 64b.

Am looking for exact versions of Apache and a PHP module to work seamlessly.

Am very familiar with Apache.


This is my first attempt to load a PHP module in Apache although I have done it with IIS. Again....version of Apache that works with PHP. Nothing fancy. No VC. generic as all hell. Razz
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3059
Location: Hilversum, NL, EU

PostPosted: Thu 01 May '14 19:00    Post subject: Reply with quote

Which version of PHP from windows.php.net do you want to use ?
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Thu 01 May '14 22:09    Post subject: Apache and PHP compatability Reply with quote

Whatever works. I have spent days trying to get PHP DLL's to load with Apache. So again, Apache/PHP, working together, don't care if its 32 or 64 or 128 for that matter. I simply need the PHP module to load in Apache.
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Thu 01 May '14 22:16    Post subject: Apache and PHP compatability Reply with quote

I get the following message. After googling for a day I came to the conclusion that no one has a simple response.


Cannot load C:/Apache/php/php5apache2_4.dll into server: The specified module could not be found.


Last edited by zontar999 on Thu 01 May '14 23:19; edited 1 time in total
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Thu 01 May '14 22:25    Post subject: current configuration Reply with quote

I am currently running Apache 2.4.9 and PHP 5.5.11 on Windows 7 Pro 64
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3059
Location: Hilversum, NL, EU

PostPosted: Thu 01 May '14 22:32    Post subject: Reply with quote

What are the file names of PHP and Apache when you dowloaded them ?
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Thu 01 May '14 22:41    Post subject: No idea Reply with quote

No idea. I have installed countless permutations. I did post what my current installation looked like. Going back to my first post. What version of Apache and PHP work together. That simple. If I need VC installation then fine, which one?

I really do not want to spend my time installing and uninstalling but would be more productive if there was straight forward answer.

One more time, does anyone know what version of Apache and PHP work together?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3059
Location: Hilversum, NL, EU

PostPosted: Thu 01 May '14 22:53    Post subject: Reply with quote

There are quite a few combinations that works.

Is apache win32 or win64,
is apache vc 9, 10 or 11,
is php x86 or x64,
is php the TS version
?


Last edited by Steffen on Thu 01 May '14 23:09; edited 1 time in total
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Thu 01 May '14 23:01    Post subject: Apache and PHP compatability Reply with quote

I just installed the following with the same results

httpd-2.4.9-win64-VC11.zip
php-5.5.12-Win32-VC11-x64.zip


I am concerned that PHP is flagged as "Win32" yet is "x64"

As for "quite a few combinations that works". I am only looking for one (thread-safe and 64 bit would be nice). Which of these "combinations" do you know works.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3059
Location: Hilversum, NL, EU

PostPosted: Fri 02 May '14 10:14    Post subject: Reply with quote

httpd-2.4.9-win64-VC11.zip
php-5.5.12-Win32-VC11-x64.zip

This combo works out of the box.

What do you have about php in your httpd.conf ?


Last edited by Steffen on Fri 02 May '14 19:34; edited 1 time in total
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Fri 02 May '14 17:07    Post subject: This does not work out of the box Reply with quote

I hate to say it but I receive the following:

Cannot load c:/Apache/php/php5apache2.dll into server: The specified module could not be found.
Back to top
James Blond
Moderator


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

PostPosted: Fri 02 May '14 17:39    Post subject: Re: This does not work out of the box Reply with quote

zontar999 wrote:

Cannot load c:/Apache/php/php5apache2.dll into server: The specified module could not be found.


Well the file is php5apache2_4.dll not php5apache2.dll Wink
Back to top
zontar999



Joined: 30 Apr 2014
Posts: 11

PostPosted: Fri 02 May '14 17:55    Post subject: Reply with quote

Yup....just caught it and it works like a champ. Many thanks for your help and insight. Well done!!! Very Happy Very Happy Very Happy
Back to top


Reply to topic   Topic: Apache and PHP compatability ? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software