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 2.2.17 and PHP 5.3.X Configuration in Windows Server
Author
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Mon 28 Nov '11 18:00    Post subject: Apache 2.2.17 and PHP 5.3.X Configuration in Windows Server Reply with quote

Please please anybody can help
1. I am trying to Install Apche 2.2.17 ,PHP php-5.3.8-Win32-VC9-x86.zip.cr download in Windows Server 2008 (OS)
2. But i am getting the error like "php5apache2_2.dll is not loading" in httpd file.
3. I am sure all configurations correct , i am bit doubt on OS , but same thing i have done in windows XP its working perfectly , please let me know if anybody facing same problem or anybody have solution.


Last edited by nagella on Mon 28 Nov '11 21:33; edited 1 time in total
Back to top
Steffen
Moderator


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

PostPosted: Mon 28 Nov '11 20:20    Post subject: Reply with quote

Server 2008 is fine to run PHP.

Be sure you use the TS version of PHP.

And use only:

LoadModule php5_module "c:/php/php5apache2_2.dll"
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"

Note: Remember to substitute the c:/php for your actual path to PHP in the above example.

Steffen
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Mon 28 Nov '11 20:46    Post subject: Thanks for quick reply Reply with quote

HiSteffen thanks your quick response.Yes i am using
TS vertion PHP only also configured exact path to PHP
folder.

Can you please look at the fallowing Data:

Local Server --> IM Server --> DMZ Server

Softwares installed in IM Server
1.MySql

Softwares installed in DMZ Server
1.Apache --> Working fine(with out php Configuration)
2.PHP -->( Zip TS Vertion extracted in C:/php folder)

The Errod message "in c:/apache/conf/httpd file c:/php/php5apache2_2.dll application is not loaded,beacuse the side by side having probelm"


This is error i remembered.

* Note : What is the Domain Name and Server Name when installing the Apache ?
Back to top
Steffen
Moderator


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

PostPosted: Mon 28 Nov '11 21:02    Post subject: Reply with quote

You say 5.3.x, please be exact.

Assume you are running a VC9 version of Apache, like from here.
Side by Side error is mostly that the Visual C++ 2008 SP1 Redistributable is not installed.

You can download it from Microsoft:

X86:
http://www.microsoft.com/download/en/details.aspx?id=5582

X64:
http://www.microsoft.com/download/en/details.aspx?id=2092

Steffen
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Mon 28 Nov '11 21:23    Post subject: Great.. Reply with quote

Thanks a lot Steffen for spending your valuable time.

php-5.3.8-Win32-VC9-x86.zip this is the vertion i am using.

What is the use VC++ 2008 SP1 , Is it require to configure php and Apache ..?

After downloading the fallowing vc++ file i need to install in the server ?
Back to top
Steffen
Moderator


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

PostPosted: Mon 28 Nov '11 22:04    Post subject: Reply with quote

It is required to run Apache/PHP build with VC9.
See the left pane at http://windows.php.net/download/

The Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed.

Which Apache are you running and where downloaded ?


Steffen
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Tue 29 Nov '11 6:52    Post subject: httpd-2.2.21-win32-x86-no_ssl Reply with quote

Hi Steffen this is my apache vertion.
httpd-2.2.21-win32-x86-no_ssl
Back to top
Steffen
Moderator


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

PostPosted: Tue 29 Nov '11 12:04    Post subject: Reply with quote

I asked where downloaded, looks from apache.org. Please read the left panel at the above download link at php.net.

Steffen
Back to top
Steffen
Moderator


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

PostPosted: Tue 29 Nov '11 12:32    Post subject: Reply with quote

Going to remove your post above about MySQL, double posting.

What happened that all is now running ?

Steffen
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Tue 29 Nov '11 13:49    Post subject: Yes PHP Apache is working fine, Reply with quote

Yes PHP Apache is working fine, but facing problems
with connecting with remote mysql server.

Thanks a lot Steffen..
Back to top
Steffen
Moderator


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

PostPosted: Tue 29 Nov '11 13:52    Post subject: Reply with quote

You started this thread with an problem "php5apache2_2.dll is not loading".

What solved this problem ?

Steffen
Back to top
nagella



Joined: 28 Nov 2011
Posts: 27
Location: Pune

PostPosted: Tue 29 Nov '11 13:58    Post subject: yes this problem is solved with Reply with quote

yes the problem is solved with this link whatever you are provided, some more small settings .

http://www.microsoft.com/download/en/details.aspx?id=5582


Thanks a lot Steffen, after downloading above my work became easier.
Back to top


Reply to topic   Topic: Apache 2.2.17 and PHP 5.3.X Configuration in Windows Server View previous topic :: View next topic
Post new topic   Forum Index -> Other Software