PHP5/ Apache strange install problem
PHP5/ Apache strange install problem
am 13.09.2007 18:39:41 von Daniel Loose
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 '' " -- but
*does* exist!
extension_dir ="C:\Programme\PHP\ext"
and is 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!!
Re: PHP5/ Apache strange install problem
am 13.09.2007 19:19:00 von Jerry Stuckle
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 '' " -- but
> *does* exist!
>
> extension_dir ="C:\Programme\PHP\ext"
>
> and is 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.
jstucklex@attglobal.net
==================
Re: PHP5/ Apache strange install problem
am 14.09.2007 10:45:16 von gosha bine
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 '' " -- but
> *does* exist!
>
> extension_dir ="C:\Programme\PHP\ext"
>
> and is 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
Re: PHP5/ Apache strange install problem
am 14.09.2007 14:04:36 von Jerry Stuckle
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 '' " -- but
>> *does* exist!
>>
>> extension_dir ="C:\Programme\PHP\ext"
>>
>> and is 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.
jstucklex@attglobal.net
==================