Re: unable to load perl extension
| From: | dev lamp | Date: | Thu, 29 Dec 2005 17:21:57 +0000 |
| Subject: | Re: unable to load perl extension | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227977@lists.php.net to get a copy of this message | ||
On 12/29/05, Jochem Maas <jochem@iamjochem.com> wrote:
> dev lamp wrote:
> > Hi
> >
> > I am unable to call perl code from PHP, since the extension does not
> > get loaded !
> >
> > Scenario 1:
> > use dl('perl.so'); in the php code and invoke the script from the command line
> > The script works fine and the perl code gets executed as well.
>
> so the extension is not being loaded automatically right?
> but if you dl() it everything is fine, right?
> then double check the 'right' ini file is being used!
>
There is only one php.ini
I have checked the extensions path information using phpinfo().
Is there something else that I need to checkout ?
> >
>
> is the apache module using the php.ini that you think it is ?? -
> that kind of thing has caught me out more than once!
>
> >
How do I check that ?
I downloaded apache sources and compiled it.
Why do I need to specify the path of the php.ini file to the apache web server ?
Dev.