PHP error in module mode and not in cgi mode
PHP error in module mode and not in cgi mode
am 09.10.2007 12:03:23 von Machaon
Hi all,
I use apache 2.0 with php 5.1.6.
When this one is mounted as CGI script, php_oci8.dll works well (in version
5.1.2 !!?)
But in module mode this same dll (and version 5.1.6 too) can't be loaded.
What the difference between those modes ?
Where can I search to solve my problem ?
Thx all.
Machaon
Re: PHP error in module mode and not in cgi mode
am 09.10.2007 14:14:54 von Kees Nuyt
On Tue, 9 Oct 2007 12:03:23 +0200, "Machaon"
wrote:
>Hi all,
>
>I use apache 2.0 with php 5.1.6.
>When this one is mounted as CGI script, php_oci8.dll works well (in version
>5.1.2 !!?)
>But in module mode this same dll (and version 5.1.6 too) can't be loaded.
>
>What the difference between those modes ?
>Where can I search to solve my problem ?
>
>Thx all.
>
>Machaon
Commandline PHP (CGI mode) often refers to another php.ini file
then the Apache PHP module does. Perhaps the module mode php.ini
doesn't have php_oci8 enabled.
--
( Kees
)
c[_] I'm not a vegetarian, but I eat animals who are.
(Julius Henry "Groucho" Marx) (#478)
Re: PHP error in module mode and not in cgi mode
am 09.10.2007 17:07:02 von Machaon
"Kees Nuyt" a écrit dans le message de news:
r1smg3dst3upgjjhp3m1c7nq98s77biit9@dim53.demon.nl...
> On Tue, 9 Oct 2007 12:03:23 +0200, "Machaon"
> wrote:
>
>>Hi all,
>>
>>I use apache 2.0 with php 5.1.6.
>>When this one is mounted as CGI script, php_oci8.dll works well (in
>>version
>>5.1.2 !!?)
>>But in module mode this same dll (and version 5.1.6 too) can't be loaded.
>>
>>What the difference between those modes ?
>>Where can I search to solve my problem ?
>>
>>Thx all.
>>
>>Machaon
>
> Commandline PHP (CGI mode) often refers to another php.ini file
> then the Apache PHP module does. Perhaps the module mode php.ini
> doesn't have php_oci8 enabled.
> --
> ( Kees
> )
> c[_] I'm not a vegetarian, but I eat animals who are.
> (Julius Henry "Groucho" Marx) (#478)
Thx Kees,
but I compared the php configuration with phpinfo() and the ini file used is
the same !
Machaon
Re: PHP error in module mode and not in cgi mode
am 10.10.2007 11:21:46 von Kees Nuyt
On Tue, 9 Oct 2007 17:07:02 +0200, "Machaon"
wrote:
>"Kees Nuyt" a écrit dans le message de news:
>r1smg3dst3upgjjhp3m1c7nq98s77biit9@dim53.demon.nl...
>> On Tue, 9 Oct 2007 12:03:23 +0200, "Machaon"
>> wrote:
>>
>>>Hi all,
>>>
>>>I use apache 2.0 with php 5.1.6.
>>>When this one is mounted as CGI script, php_oci8.dll
>>>works well (in version 5.1.2 !!?)
>>>But in module mode this same dll (and version 5.1.6 too)
>>>can't be loaded.
>>>
>>>What the difference between those modes ?
>>>Where can I search to solve my problem ?
>>>
>>>Thx all.
>>>
>>>Machaon
>>
>> Commandline PHP (CGI mode) often refers to another php.ini file
>> then the Apache PHP module does. Perhaps the module mode php.ini
>> mode php.ini doesn't have php_oci8 enabled.
>
>Thx Kees,
>
>but I compared the php configuration with phpinfo() and
>the ini file used is the same !
It might have to do with access rights, but that's just a
guess. Another possibility is environment variables,
doesn't Oracle expect some, and are they set?
There is a discussion about it in the PHP manual,
Chapter CVII. Oracle Functions / Requirements
I have no experience with PHP / Oracle. If the abvove
doesn't help, perhaps you should ask in comp.lang.php
--
( Kees
)
c[_] My software never has bugs. It just develops random features. (#51)