PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > PHP5/ Apache strange install problem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
PHP5/ Apache strange install problem

Réponse
 
LinkBack Outils de la discussion
Vieux 13/09/2007, 17h39   #1
Daniel Loose
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 <path> is e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
ed.

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!!
  Réponse avec citation
Vieux 13/09/2007, 18h19   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP5/ Apache strange install problem

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 <path> is e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
> exist. this appears with about 20 files. reboot, reinstall, nothing
> ed.
>
> 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.
jstucklex@attglobal.net
==================
  Réponse avec citation
Vieux 14/09/2007, 09h45   #3
gosha bine
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP5/ Apache strange install problem

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 <path> is e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
> exist. this appears with about 20 files. reboot, reinstall, nothing
> ed.
>
> 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
  Réponse avec citation
Vieux 14/09/2007, 13h04   #4
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP5/ Apache strange install problem

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 <path> is e.g. 'C:\Programme\PHP\ext\php_exif.dll'. which *does*
>> exist. this appears with about 20 files. reboot, reinstall, nothing
>> ed.
>>
>> 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.
jstucklex@attglobal.net
==================
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h05.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,25257 seconds with 12 queries