Bluehost.com Web Hosting $6.95

Cannot connect to server

This is a discussion on Cannot connect to server within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all I am new to Apache and have just installed Apache2.2 on a Windows XP Pro system. After ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-17-2006
Plato
 
Posts: n/a
Default Cannot connect to server

Hi all

I am new to Apache and have just installed Apache2.2 on a Windows XP
Pro system. After installation I tested by entering http://localhost in
my browser and up came a page with "It works!" So far so good. I then
installed PHP 4.4.2.

I then added the following 2 lines at the end of httpd.conf file:
LoadModule php4_module php4apache2.dll
AddType application/x-httpd-php .php

I then copied the following files into C:\Apache Software
Foundation\Apache2.2 directory:
C:\php\php4ts.dll
C:\php\sapi\php4apache2.dll

I copied C:\php\php.ini-recommended to C:\Windows and renamed it
php.ini

I then restarted the server.

However when I test the configuration I get the following error:

"Syntax error on line 115 of C:/Apache Software
Foundation/Apache2...../httpd.conf
Cannot load c:/Apache Group/Apache2.2/php4apache2.dll into server:
The specified module could not be found."

Can anyone tell me what is wrong as I have checked that php4apache2.dll
IS in the named directory.

Thanks

plato

  #2 (permalink)  
Old 11-17-2006
shimmyshack
 
Posts: n/a
Default Re: Cannot connect to server

my first guess would be that the module is for apache 2.0.x not for
2.2.x php4 is long in the tooth now and so you might have to check that
it comes iwth a default module thats apache2.2. aware, its only a guess
I havent used php4 for a very long time. You could get the apache2.2.x
dll from apachefriends.de their current xampp has php4 bundled and
working with apache2.2.x, its a large download though, and the file you
need is under 30k!

  #3 (permalink)  
Old 11-17-2006
shimmyshack
 
Posts: n/a
Default Re: Cannot connect to server

also you have said you copied the module into apache software
foundation,
I then copied the following files into C:\Apache Software
Foundation\Apache2.2 directory:
C:\php\php4ts.dll
C:\php\sapi\php4apache2.dll


and then later the error is that they are not found elsewhere, are you
sure the conf file is set up to point to right location.

Cannot load c:/Apache Group/Apache2.2/php4apache2.dll into server:
The specified module could not be found."

  #4 (permalink)  
Old 11-17-2006
Plato
 
Posts: n/a
Default Re: Cannot connect to server

Hi

Thanks for your help. I have now uninstalled v2.2 and installed v2
and everything is OK.

BTW there was (as you noticed) an error in my last post - been staring
at the screen too long!

Thanks again.

plato

shimmyshack wrote:
> also you have said you copied the module into apache software
> foundation,
> I then copied the following files into C:\Apache Software
> Foundation\Apache2.2 directory:
> C:\php\php4ts.dll
> C:\php\sapi\php4apache2.dll
>
>
> and then later the error is that they are not found elsewhere, are you
> sure the conf file is set up to point to right location.
>
> Cannot load c:/Apache Group/Apache2.2/php4apache2.dll into server:
> The specified module could not be found."


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0