[users@httpd] Apache Error

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

 



Ok, I downloaded PHP5 and extracted it to c:\php
I then moved the php.ini (the php.ini-recommended file, renamed to php.ini) file to c:\windows
I then opened php.ini and changed doc_root = to doc_root = C:\Program Files\WebServer\home\Apache2.2\htdocs and extension_dir = "./" to extension_dir = "C:\php\ext" and uncommented extension=php_mysqli.dll so I could use MySQL 5.
I opened C:\Program Files\WebServer\home\Apache2.2\conf\httpd.conf and added to the end
 
# add PHP5 as an apache module
AddType application/x-httpd-php .php
LoadModule php5_module "c:/php/php5apache2.dll"
# configure the path to php.ini
PHPIniDir "C:/php"
 
I try to run Apache (which did work with its default settings after the install) and I get an error
 
httpd.exe: Syntax error on line 488 of C:/Program Files/WebServer/home/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found.
Note the errors or messages above, and press the <ESC> key to exit.  (Counter)...
 
I tried moving the libmysql.dll file to the c:\windows\system32 folder like some tutorials say, but the problem persists.
 
What am I doing wrong?
 
Bye,
Christopher

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux