Afficher un message
Vieux 02/05/2008, 13h27   #5
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: extension won't load in php.ini, but loads with dl()

Gordon wrote:
> On May 2, 2:28 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> tommybi...@gmail.com wrote:
>>> I'm having a weird problem. I can't seem to force php to load an
>>> extension using php.ini, but it loads perfectly if I use dl() at the
>>> beginning of a test script.
>>> In php.ini I've got:
>>> extension_dir = "/correct/verified/path/to/extension/dir/"
>>> extension=imagick.so
>>> Apache will not restart if both those lines are present in php.ini
>>> (and apache's error_log doesn't report anything either).
>>> If I remove the extension load line, e.g.:
>>> extension_dir = "/correct/verified/path/to/extension/dir/"
>>> ; extension=imagick.so
>>> Apache will restart normally (without the extension loaded, but with
>>> the correct extension path).
>>> The confusing thing is that the extension then loads fine with dl():
>>> <?php
>>> dl("imagick.so")
>>> phpinfo();
>>> ?>
>>> and phpinfo displays the extension info normally.
>>> The problem seems to be with apache, but since there's nothing in the
>>> error_log I'm unsure how to proceed.
>>> system info:
>>> freebsd 7 on x86_64 architecture
>>> apache 1.3.41
>>> php 5.2.5
>>> Has anyone encountered this problem before?

>> You need to be asking in an Apache newsgroup. This doesn't have
>> anything to do with PHP. Try alt.apache.configuration.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================

>
> He asked politely, and it was reasonable to think that it was an issue
> in either PHP or Apache and that it wouldn't hurt to ask on a PHP
> group. There's absolutely no need to be such a total jerk about it.
> Other than the fact that you are a total jerk of course. Instead of
> attacking posters for asking perfectly reasonable questions why don't
> you just shut up instead and go back to your hug box?
>


You mean other than the fact your post was made by a total asshole? I
told him where to go. There was no attack - unlike you, I didn't call
him a jerk.

But you are a total asshole, as you just proved. Now I think you'd
better go running to your mommy - I hear her calling you.

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

  Réponse avec citation
 
Page generated in 0,06668 seconds with 9 queries