Fox Posted November 24, 2008 Share Posted November 24, 2008 I desperately need some help; I have searched in these posts and all over the internet for a solution to my problem, which I have not been able to find. I have installed the WAMP combo several times in the past and this is the first time I have had a problem. I am running Vista Home Premium 64 bit and trying to install PHP 5.2.6 on Apache 2.2.1. Apache installed fine and can be run; however, when I add the LoadModule and other PHP commands to the Apache hppd.conf file, I get a fail-to-start error along with: "The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 128 of C:/apache64/conf/httpd.conf: Cannot load C:/php/php5apache2_2.dll into server: The Apache service named is not a valid Win32 application." Apache is in c:/apache64; PHP is in c:/php. The following is what I have done so far to no avail. 1) Added to/changed in hppd.conf: ServerRoot "c:/apache64" DocumentRoot "c:/apache64/htdocs" LoadModule php5_module "c:/php/php5apache2_2.dll" PHPIniDir "c:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps 2) Changed where necessary the directory to "c:/php" 3) Added c:\php to PATH I can post the entire config file if necessary (without the comments). It's been five days now and I'm about to give up. If anyone can offer suggestions as to what I'm doing wrong I would be very grateful. Quote Link to comment https://forums.phpfreaks.com/topic/134105-php5-apache-22-problems/ Share on other sites More sharing options...
corbin Posted November 24, 2008 Share Posted November 24, 2008 Does php5apache2_2.dll exist? And, does the user under which Apache run have read permissions to it? Quote Link to comment https://forums.phpfreaks.com/topic/134105-php5-apache-22-problems/#findComment-698176 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.