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: Configure Apache to Run PHP
Author
QKWS



Joined: 15 Aug 2013
Posts: 2
Location: Philippines, Pampanga

PostPosted: Fri 16 Aug '13 4:25    Post subject: Configure Apache to Run PHP Reply with quote

Hi! please help me.

I am running Windows Server 2008 R2 OS so I decided to use the 4th flavours that I've read here,

**4. Apache64 with NTS PHP32 and FCGID64**

I have installed Apache 2.4.6 win64, which I downloaded here at Apachelounge and "It works!" successfully

Then I installed PHP 5.3.27 VC9 x86 Non Thread Safe which I downloaded from http://windows.php.net/download/

Now, I am trying to configure PHP so that it'll work on Apache FCGID64 (I'm not if that is the right description for that)

So, I download and extract FCGID64 at "C:\Apache24\modules" which I got here at Apachelounge.

Edited httpd.conf and added this:


LoadModule fcgid_module modules/mod_fcgid.so

<Directory "c:/Apache24/htdocs">
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Require all granted
</Directory>

run <?php phpinfo(); ?>

and no luck at all. Please help me..
Back to top
QKWS



Joined: 15 Aug 2013
Posts: 2
Location: Philippines, Pampanga

PostPosted: Fri 16 Aug '13 5:10    Post subject: Reply with quote

Made it work by adding:

FcgidInitialEnv PHPRC "C:/PHP"
AddHandler fcgid-script .php
FcgidWrapper "C:/PHP/php-cgi.exe" .php

Thanks anyways =)
Back to top


Reply to topic   Topic: Configure Apache to Run PHP View previous topic :: View next topic
Post new topic   Forum Index -> Other Software