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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: [SOLVED] Error while trying to load mod_fcgid [SOLVED]
Author
icefresh



Joined: 21 Feb 2009
Posts: 7
Location: UK

PostPosted: Sat 21 Feb '09 23:00    Post subject: [SOLVED] Error while trying to load mod_fcgid [SOLVED] Reply with quote

Hi I tried testing the mod_fcgid module following the instructions from this thread http://www.apachelounge.com/viewtopic.php?t=2900. However when I tried to restart the Apache server, the following error resulted:

Code:
httpd.exe: Syntax error on line 133 of C:/srv/Apache2.2.11/conf/httpd.conf:  Cannot load C:/srv/Apache2.2.11/modules/mod_fcgid.so into server:  This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Note the errors or messages above, and press the <ESC> key to exit.


I am using Apache 2.2.11 and PHP 5.2.8 (zip package).

Based on the following installation instructions:

Quote:

# Install:

- Copy mod_fcgid.so to your apache/modules folder

- Install the Visual C++ 2008 Redistributable Package (the binary is build with VC 2008)

Download and install, if you not done it already, from:

www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

# Add to your httpd.conf:

LoadModule fcgid_module modules/mod_fcgid.so


Do I have do build anything? If so what do I need to build? Where are the build instructions? Can someone please explain and clarify what is required to get this to work?

Thanks


Last edited by icefresh on Sun 22 Feb '09 4:35; edited 1 time in total
Back to top
icefresh



Joined: 21 Feb 2009
Posts: 7
Location: UK

PostPosted: Sun 22 Feb '09 2:27    Post subject: [Solved] Reply with quote

Ok, I got rid of the error after installing the Microsoft Visual C++ 2008 Redistributable Package (x86). Based on the name and the way the installation instructions were worded, I was under the impression that this package was optional and required only if one wished to build the module. A terrible misunderstanding which was entirely my fault Smile.

Anyway that error message is gone and the Apache server restarts without problems, however, when I browse to http://localhost/file_name.php, the actual php code and not the parsed web page is shown. For example if I browse to the file named php_info.php which contains the following

Code:
<?php phpinfo(); ?>

the result is actually <?php phpinfo(); ?> instead of the expected web page displaying server information. Has anyone got an any ideas why this is happening?

Edit: Never mind, problem solved Smile.
Back to top


Reply to topic   Topic: [SOLVED] Error while trying to load mod_fcgid [SOLVED] View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules