473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

php5 on apache2 error: Cannot load c:/php/php5apache2.dll

i reinstalled windows (98), installed apache and extracted the php5 zip
file into c:\php. i renamed php.ini-recommended to php.ini and added
the following lines to httpd.conf:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

now when i start apache i get an error message:

Syntax error on line 957 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/php5apache2.dll into server: One of the library
files needed to run this application cannot be found.

when i delete the line
LoadModule php5_module "c:/php/php5apache2.dll"
apache works fine. i tried to copy php5ts.dll to c:\windows,
c:\windows\system and c:\program files\apache group\apache2\bin, it
still doesnt work...

what can i do...?

Apr 27 '06 #1
4 15425
LJB
Are you supposed to be using forward slashes?

ll***@hotmail.com wrote:
i reinstalled windows (98), installed apache and extracted the php5 zip
file into c:\php. i renamed php.ini-recommended to php.ini and added
the following lines to httpd.conf:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

now when i start apache i get an error message:

Syntax error on line 957 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/php5apache2.dll into server: One of the library
files needed to run this application cannot be found.

when i delete the line
LoadModule php5_module "c:/php/php5apache2.dll"
apache works fine. i tried to copy php5ts.dll to c:\windows,
c:\windows\system and c:\program files\apache group\apache2\bin, it
still doesnt work...

what can i do...?

Apr 27 '06 #2
thats what the php manual said...

but i also tried to use backslashes and it didnt solve the problem.

Apr 27 '06 #3
ll***@hotmail.com wrote:
i reinstalled windows (98), installed apache and extracted the php5 zip
file into c:\php. i renamed php.ini-recommended to php.ini and added
the following lines to httpd.conf:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

now when i start apache i get an error message:

Syntax error on line 957 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/php5apache2.dll into server: One of the library
files needed to run this application cannot be found.

when i delete the line
LoadModule php5_module "c:/php/php5apache2.dll"
apache works fine. i tried to copy php5ts.dll to c:\windows,
c:\windows\system and c:\program files\apache group\apache2\bin, it
still doesnt work...

what can i do...?

Where did you install php to?
If it is in C:\php then php2apache2.dll should be in C:\php\php2apache2.dll.

Your httpd.conf file should contain:

LoadModule php5_module C:/php/php2apache2.dll
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
-david-

Apr 28 '06 #4
i extracted the zip file to c:\php...
the file name is php5apache2.dll and it is in that root directory...
(c:\php\php5apache2.dll)

Apr 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kevin | last post by:
I posted this to the sourceforge phpMyAdmin ng, but there was a comment that it was properly a php question, so I'm posting it here. I'm on Windows XP, and have just installed Apache, php 5, and...
1
by: lithne | last post by:
Hi, when I try to open phpMyAdmin administration page I got this error: 'Cannot load mysql extension, please check your PHP configuration' I cannot sort out what's the source of the problem,...
2
by: Ian Emery | last post by:
Hi, I am trying to validate an XML file using the XmlValidatingReader and XmlUrlResolver. The code for which goes like this: // Read the XML file. XmlTextReader xmlReader = new XmlTextReader(...
5
by: Nathan Sokalski | last post by:
When running a page I am working on, I recieve the following error: Cannot use a leading .. to exit above the top directory. I suspect this has something to do with the problem I posted in a...
1
by: Vycka | last post by:
Hello, There is a enterprise web application that is based on asp.net technologies and works on Microsoft IIS. The total number of users is 850. When the load of system gets very high, the...
1
by: marknewbery | last post by:
Hi, I have been trying to get a php, mySQL install to work and talk together on Windows XP SP2 with IIS. So far I installed and received a responce from php(V5 - manual install) though the ...
3
by: Pupkin | last post by:
Hi, I'm running SQL Server 2000 on a Windows 2003 server. It's serving several small web site databases. About a month ago my automatic backups stopped working, and whenever I try to edit or...
2
by: PhpNew | last post by:
I'v downloaded the newest apache and php versions. Apache and PHP instalation and starting went without problems. I set the ini file into the windows / system32 After that i was trying to set...
0
by: Ammarqqqq | last post by:
I am getting this error: Cannot Load View State. : Gird- DetialsViews Control + Radio ButtonLists Whenever I update the records in edit(update) mode. The details goes back to the Read Only Mode...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.