472,985 Members | 2,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

cannot load php5apache2_2.dll

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 the *.conf file in C:/program files/apache
group /apache2/conf/.

In the part of Dynamic Shared Object (DSO) Support i set:

LoadModule php5_module modules/php5apache2_2.dll

AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps

Restart server : error
Exit server:
Start/programs/apache HTTP server 2.0/control apache server /start
Command prompt: syntax error on line 174 of c:/program files/apache
group/apache2/ httpd.conf
Cannot load c:\php\php5apache2_2.dll into server. The specific file could
not be found.

The file * php5apache2_2.dll * is in the C:\php\ directory and i was trying
to put him into modules directory but the error is the same.
As far as i can see on the net i'm not the only one with this error..

Any idea ?
Sep 22 '08 #1
2 74563
"PhpNew" <ma**@mail.comwrote in message
news:gb**********@localhost.localdomain...
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 the *.conf file in C:/program files/apache
group /apache2/conf/.

In the part of Dynamic Shared Object (DSO) Support i set:

LoadModule php5_module modules/php5apache2_2.dll

AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps

Restart server : error
Exit server:
Start/programs/apache HTTP server 2.0/control apache server /start
Command prompt: syntax error on line 174 of c:/program files/apache
group/apache2/ httpd.conf
Cannot load c:\php\php5apache2_2.dll into server. The specific file could
not be found.

The file * php5apache2_2.dll * is in the C:\php\ directory and i was
trying to put him into modules directory but the error is the same.
As far as i can see on the net i'm not the only one with this error..

Any idea ?
******************************
I run the http://www.dependencywalker.com/. and set the

PATH=%SystemRoot%;%SystemRoot%\System32;C:\php;C:\ program files\apache
group\apache2\bin int httpd.conf ( disabling the loadModule)

cmd: Depends.exe c:/home/php/php5apache2_2.dll
Message: php5apache2_2.dll contains invalid path

So what to do now... should i get some older php version ?
Sep 22 '08 #2
PhpNew wrote:
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 the *.conf file in C:/program files/apache
group /apache2/conf/.

In the part of Dynamic Shared Object (DSO) Support i set:

LoadModule php5_module modules/php5apache2_2.dll

AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps

Restart server : error
Exit server:
Start/programs/apache HTTP server 2.0/control apache server /start
Command prompt: syntax error on line 174 of c:/program files/apache
group/apache2/ httpd.conf
Cannot load c:\php\php5apache2_2.dll into server. The specific file could
not be found.

The file * php5apache2_2.dll * is in the C:\php\ directory and i was trying
to put him into modules directory but the error is the same.
As far as i can see on the net i'm not the only one with this error..

Any idea ?
You also need to ensure the other files needed by php are in the PATH
environment variable, i.e. php5ts.dll, etc.

The easiest way is to put your php directory in the PATH environment
variable.

Also, I normally just load the PHP dll directly from the PHP directory, i.e.

LoadModule php5_module c:/php5/php5apache2_2.dll

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 22 '08 #3

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

Similar topics

2
by: Shannon Wright | last post by:
Hello, I hope someone out there can help me on this: I am developing a php application on a windows xp machine running IIS and I cannot load the famous test.php page or any others with a php...
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(...
0
by: SSW | last post by:
Hi: I'm trying to run Extended stored procedure, which is written in VC++ in window 2000 Professional. It works fine. But when I run it in windows 2003 I get following error ODBC: Msg 0,...
4
by: ll_42 | last post by:
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...
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 ...
4
by: ValValVal | last post by:
Hi! Please help with following question, this is really something I have not a clue why this is happening. I want to display BufferedImage in my JFrame. Now I need to load images first from disk....
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.