Hello,
I have PHP 5 and Apache 24 installed.
PHP doesn't appear in my Control Panel as an installed program.
I have tried to Use PHPIniDir c:/php in my httpd.exe file and also LoadModule php5_module "c:/php/ext/php5apache2_4.dll"
both of which crash the Apache server.
I have searched Google for an answer extensively but no matter what I try I cannot get it to work.
Apache is set up as a Windows service.
I would appreciate some help.
Thank You for reading.
R. Carter

Recommended Answers

All 4 Replies

Is this on a 64bit Windows machine? If yes, you need to make sure you have the right versions of Apache and PHP. ApacheLounge.com can help you out with the right 64bit downloads.
If that was the problem your log files would have an error that makes reference to a 32bit file, I can't remember the exact text.

Thanks for your suggestion.
So I downloaded the 64bit version of Apache from the Apache Lounge.
Then I looked for the 64 bit version of PHP (5.5.0) and found it at http://us3.php.net/releases/ but I don't know whether it's 64 bit or not and cannot find the "php5apache2_4.dll" in the extracted folder.
So I'm back to square one.
Any other ideas?

Your last post triggered my memory some more and I remember having a similar problem. I just checked my set up on my dev machine and its httpd-2.4.9-win32-VC9 and PHP 5.5. I think I tried the 64bit route and then gave up, been a while since I set it up.
Is there anything coming up in your logs?

I finally succumbed to downloading WAMP and now my environment is complete.
I recommend it for those who do not want the headache of configuring their own PHP-Apache environment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.