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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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! |
|
|||
|
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." |
|
|||
|
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." |