Re: PHP, Apache, Windows 2003
| From: | The Disguised Jedi | Date: | Fri, 22 Apr 2005 21:43:00 +0000 |
| Subject: | Re: PHP, Apache, Windows 2003 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213697@lists.php.net to get a copy of this message | ||
/* My response is below */
[quoting person="Reynier Perez Mira"]
>Recently I installed Windows 2003 Server. Now I try to install Apache >
2.0.48 and PHP 5.0.4. First I install PHP 5.0.4 from source binary to Win32
>downloaded from www.php.net <http://www.php.net>
><http://www.php.net/> .
It's means that >php5apache2.dll is include in this packet. Well when I try
to config the >httpd.conf file and put this LoadModule
C:/PHP/php5apache2.dll into >Modules config the service doesn't start. Why?
Some help?
>
>Thanks
[/quote]
You need to tell Apache what function this module file will perform. You
are onlly telling it the path to the file. You could specify the any module
with a VERY descriptive file name, but Apache still doesn't know what to do
with it.
You need to use this type of a directive.
LoadModule php5_module "C:/PHP/php5apache2.dll"
The first argument passed will tell Apache the function of this file, and
the second argument tells it where to look for the library.
Hope it helps!
--
The Disguised Jedi
disguised.jedi@gmail.com
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
world-wide BABY!
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored. However,
I must say that the ENTIRE contents of this message are subject to other's
criticism, corrections, and speculations.
This message is Certified Virus Free