473,387 Members | 3,781 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,387 software developers and data experts.

PHP5/ Apache strange install problem

hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\PHP\ext"

and <pathis e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...

thank you very much!!
Sep 13 '07 #1
3 1518
Daniel Loose wrote:
hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\PHP\ext"

and <pathis e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...

thank you very much!!
Daniel,

I always use forward slashes in my directories,i.e.

extension_dir="c:/Programme/PHP/ext/"

Also, note that the directory ends with a '/'.

Also, in the particular case of php_exif.dll, php_mbstring.dll must be
loaded first (in the list before php_exif.dll).

You didn't list any other modules, so not sure that that problem would be.

If nothing else, comment out all extensions and try it. Then try
loading them one at a time.

BTW - why are you still on Apache 1.3?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 13 '07 #2
On 13.09.2007 18:39 Daniel Loose wrote:
hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\PHP\ext"

and <pathis e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...

thank you very much!!
It can be that an extension dll requires some other dll that doesn't
exist or is not in your path. I'd suggest you install FileMon from
sysinternals.com and look what files Apache is trying to access.
--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Sep 14 '07 #3
gosha bine wrote:
On 13.09.2007 18:39 Daniel Loose wrote:
>hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\PHP\ext"

and <pathis e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...
thank you very much!!

It can be that an extension dll requires some other dll that doesn't
exist or is not in your path. I'd suggest you install FileMon from
sysinternals.com and look what files Apache is trying to access.

Hi, Gosha -

Good though - I'd forgotten about FileMon. It's a great tool for things
like this. Thanks for reminding me.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 14 '07 #4

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

Similar topics

0
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
8
by: Gene Kahn | last post by:
Windows XP, Apache 2, PHP5 RC1 Hello, A total newbie here. I can't seem to get Apache2 to load the php5 module. When I loaded up this html file in a browser, only the Today's date: line prints on...
4
by: Mxsmanic | last post by:
The require() I'm using in a PHP script has stopped working after I moved from PHP4 and Apache 1.3.x to PHP5 and Apache 2.x. Now I get messages like this: Warning:...
2
by: Jupiter's Song | last post by:
(In Apache2) I have this setup and using the new CGI daemon interface... no probs. However the binary is accessible via the browser. I suppose I wouldn't even make this an issue but I get this...
7
by: SKUNKFACEWOODY | last post by:
I hope for the sake of my sanity and the safety of my computer someone can help. I have been trying to install php5 to use with apache2 and windows xp. Apache installs fine and when you look up...
2
by: Stefan Huber | last post by:
Hi I've got a really strange problem, and can't find out why it's not working as intended. in order to use php4 and 5 together on a webserver and the requirement for running as different...
4
by: Chuck Anderson | last post by:
I am trying to install Php5 on my WindowsXP machine (at home, not on the 'net). I downloaded the Php Windows binary at php.net, unzipped it to c:/Php5, changed my Apache config file to use Php5...
3
by: brundlefly76 | last post by:
I am using the apache-perl webserver in Feisty (an Apache 1.3 with mod_perl enabled), which works fine, but I cannot figure out how to install php5 into this webserver as well. Here's some stuff...
12
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.