Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

LoadModule problem in apache
Welcome, Guest. Please login or register.
November 20, 2008, 06:32:46 AM
11306 Posts in 1249 Topics by 501 Members
Latest Member: rosaline
Experts Round Table Network  |  Webservers  |  Apache  |  LoadModule problem in apache « previous next »
Pages: [1]
Author Topic: LoadModule problem in apache  (Read 583 times)
shridhar48

Offline Offline

Posts: 2


« on: September 28, 2006, 04:46:12 AM »

hi,
 
i have read Installing Apache 2.0 and PHP 5 (and MySQL) on Windows XP
Step-by-Step Help from NicholasSolutions

and having problem when server starts
problem states like  syntax incorrect on line of statement
LoadModule php5_module "D:/Web/WebServer/PHP/php5apache2.dll"

it could not found it

but i have done everything right uptil that statement

what is wrong?

please help

regards

shridhar
Logged
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #1 on: September 28, 2006, 07:22:40 AM »

***first*** are you ***sure*** you're not trying to install PHP5 on an Apache 2.2 ? It doesn't work...
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #2 on: September 28, 2006, 07:29:07 AM »

then, other tracks to follow :

1)If you're using XP Home, cut the php5ts.dll from the PHP folder and place this in C:\Windows\system32

2) ServerRoot in httpd.conf may be wrong

3) Use backslashes in PHP.INI and forwardslashes in the http.conf
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
shridhar48

Offline Offline

Posts: 2


« Reply #3 on: September 28, 2006, 08:16:32 PM »

hi,
i am installing PHP 5.1.2 with apache 2.2 and mysql 5.0 server
is it all right or please tell me right configuration to install on windows xp

regards
shridhar
Logged
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #4 on: September 29, 2006, 06:53:18 AM »

easy : PHP 5+ is compiled for Apache 2.0.x and it is known to be incompatible so far with Apache 2.2+, at least on Windows

that's a binary issue xith the extensions AFAIK

Namely, you could have seen that :
Quote
httpd.exe: Syntax error on line 119 of C:/Program Files/Apache2/conf/httpd.conf:
API module structure 'php5_module' in file C:/Program Files/nusphere/phped/php5/
php5apache2.dll is garbled - perhaps this is not an Apache module DSO?

Revert to Apache 2.0.54 for installing any PHP 5+ on Windows

Other possibility I just googled (take it as a hint) : NuSphere Techplatform 4.4.

I also found that remark :
Quote
Tom
September 10th, 2006 20:48
7

There seems to be a problem with Apache 2.2 and the PHP dll modules (on Windows obviously, don’t know if there are any problems on unix). I fixed it by going to http://www.apachelounge.com/download/ and downloading their version of the php4apache2.dll file. This also comes with another file which you have to put in your Apache/bin directory, and you will also need to download a MS Visual C++ Package if you don’t have the .NET framework installed. This is all explained in the readme file that comes with the DLL.
on http://www.mydigitallife.info/2005/10/15/install-web-server-in-windows-xp-with-apache2-php5-and-mysql4-part-3/
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
CrYpTiC_MauleR
Site Builder

Offline Offline

Posts: 489



WWW
« Reply #5 on: September 29, 2006, 03:39:15 PM »

I have PHP latest snapshot and even used latest stable all 5.x branch with Apache 2.2.2 so it is compatible and runs fine. You do need to use certain binaries for Windows though for this installation. You can download them at http://www.apachelounge.com/download/ or compile them yourself. Could you paste us the lines in your config file that are coming up with errors including the line before and after it. Also paste any special directives you have used for your PHP config like PHPIniDir for instance. We beed to take this step by step, usually its a common mistake like not moving some DLLs to the system32 folder or placing files in wrong place.
Logged

[x] Fight | www.crypticmauler.com
"You must be
Pages: [1]
« previous next »
    Jump to: