Re: Apache and PHP wont work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
        if you download php 5.2.0 or above binary zip package, you will see the php5apache2_2.dll from the php directory. If you change the LoadModule line as below, your php installation will run.
 
# PHP5
LoadModule php5_module "D:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
 

--
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
 
""redhat penguin"" <rh.pngn@xxxxxxxxx>, haber iletisinde şunları yazdı:cd9e1dce0702110445h5bba5e7bid10d224f2289664d@xxxxxxxxxxxxxxxxx
hi,

Can somoene please tell why when i try and include the following text to apches conf. to load the php modules Apache then doesnt want to start?

# PHP5
LoadModule php5_module "D:/php/php5apache2.dll"
AddType application/x-httpd-php .php

# Path to php.ini
PHPIniDir "D:/php"

In my logs i get: httpd.exe: Syntax error on line 475 of D:/Apache2.2/conf/httpd.conf: Cannot load D:/php/php5apache2.dll into server: The specified module could not be found.
I dont understand WHY is it saying this because php5apache2.dll is in d:/php dir.

Any suggestions?
Thanks

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux