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: error on httpd after reinstall apache and php
Author
gong



Joined: 01 Mar 2014
Posts: 4

PostPosted: Wed 29 Oct '14 7:10    Post subject: error on httpd after reinstall apache and php Reply with quote

Hello everyone,

I don't know from where I must start to told my problem, but this my problem :

- First time when I install php 5.3.1 on apache 2.4.7 it was successful and I can use php well,

- But because I want to upgrade my php 5.3.1 to php 5.5.18 VC11 I uninstall my apache and then reinstall it, after reinstall apache I install php 5.5.18 on apache server I tried to turn on my apache but there is message like on this image :

http://i960.photobucket.com/albums/ae89/favicon_photo/error_zpsc81c949f.png

after I check on httpd.conf it occurs because of this code :

Code:
PHPIniDir "C:/Program Files (x86)/php"
LoadModule php5_module "C:/Program Files (x86)/php/php5apache2_4.dll"


Q : Why it can't load php5apache2_4.dll?

Q2 : Should I uninstall mysql too?

note : when first installation I use this code and it run successful

please help me

Thanks
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Wed 29 Oct '14 10:58    Post subject: Reply with quote

The screen shot says not a valid win32 application:

Be sure you do not mix Win32/64 Apache/PHP.

The are quite some posts here about your issue not loading php/php5apache2_4.dll.
Back to top
gong



Joined: 01 Mar 2014
Posts: 4

PostPosted: Wed 29 Oct '14 14:31    Post subject: Reply with quote

But why on my first installation I can install using them,and the PHP can be run.

apache 2.4.7 64 bit with php 5.3.1 win 32,

Q : but why currently can't be run?

Can you give me suggest what PHP version for apache 2.4.7 64 bit installation?

please answer

Thanks
Back to top
Steffen
Moderator


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

PostPosted: Wed 29 Oct '14 20:59    Post subject: Reply with quote

Looks like you now mixed win32 and 64.

You said above: But because I want to upgrade my php 5.3.1 to php 5.5.18 VC11 ...

So use from windows.php.net : VC11 x64 Thread Safe with Apache VC11 2.4.7 64 bit.

Btw.
Better to upgrade also to Apache 2.4.10, 2.4.7 is ~ 1 year old.
Back to top


Reply to topic   Topic: error on httpd after reinstall apache and php View previous topic :: View next topic
Post new topic   Forum Index -> Other Software