473,396 Members | 1,834 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,396 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 74600
"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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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,...

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.