Re: php_oci8.dll not work correctly
| From: | Frank M. Kromann | Date: | Wed, 31 May 2000 09:18:40 +0000 |
| Subject: | Re: php_oci8.dll not work correctly | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-141@lists.php.net to get a copy of this message | ||
Hi Andrej,
I have tested my module, but I only get an error saying that the system can't find the oracle
dll's. I havent installed Oracle on my system, but I'll do that soon and test / fix the
module.
- Frank
>Hi Frank, Hi Anton!
>
>I must have done something wrong.
>
>Oci functions still don't work.
>
>I will try describe my instalation steps.
>
>My PC:
> WinNT 4.0 US,
> OptionPack 4.0 (Personal Web Server with InternetServiceManager),
> PHP 4.0.0 intalled in App Mappings as php.exe %s %s,
> Oracle 8.0.5 Client + Server,
> IE 5.0 US
>
>My php_oci8.dll instalation steps:
>
>Version 1: (my first test)
> 1) copy php_oci8.dll into c:\winnt\system32
> 2) write changes to c:\winnt\php.ini
> extension_dir = c:\winnt\system32 extension=php_oci8.dll
>
> [OCI8]
> oci8.allow_persistent = On ; allow or prevent persistent
>link
> oci8.max_persistent = -1 ; maximum number of persistent
>links. -1 means no limit
> oci8.max_links = -1 ; maximum number of links. -1
>means no limit
> oci8.debug_mode = 1
>
> Page:
> <?
> echo "<BR>MY TEST TEXT<BR>";
> ?>
>
> Result:
> X-Powered-By: PHP/4.0.0 Content-type: text/html
> MY TEST TEXT
> PHP Warning: Invalid library (maybe not a PHP library) 'php_oci8.dll' in
>Unknown on line 0
>
>
>Version 2: (I got mail from Anton Kalmykov - I followed his steps:)
> Mail:
> This is my own build of php v.4.0.0 and some modules. My testers said
>that
> php_oci8 work normal, try to use it. Not use it by extensions in
>php.ini.
> Try to use it in scrypt by dl() operator. You must place oci.dll from
>your
> distributive into php catalog.
>
> MySteps:
> 1) copy php_oci8.dll into c:\App\PHP4 dir where is PHP release
> 2) copy oci.dll into c:\App\PHP4 too
> 3) remove old settings from c:\winnt\php.ini and set
> extension_dir = ; directory in which the loadable extensions
>(modules) reside
>
> Page:
> <?
> dl("c:\App\PHP4\php_oci8.dll");
> echo "MY TEST TEXT";
> ?>
>
> Result:
> Warning: Invalid library (maybe not a PHP library)
>'\App\PHP4\php_oci8.dll' in Unknown on line 0
> MY TEST TEXT
>
>
>Thanks
>
>
>Bye
>
>Ondrej Kuchar
>SoftwareTREND
>kuchar@softwaretrend.com
>
>PS: Sorry for my bad english.
>
>
>
>----- Original Message -----
>From: Frank M. Kromann <fmk@swwwing.com>
>To: Ondrej Kuchar <kuchar@softwaretrend.com>
>Sent: Wednesday, May 31, 2000 9:36 AM
>Subject: Re: [PHP-WINDOWS] php_oci8.dll not work correctly
>
>
>> Hi Ondrej,
>>
>> I have updated the download-site with new binaries. If it still not works,
>please let me know and I'll install an Oracle db on my computer.
>>
>> - Frank
>>
>> >Hi everybody!
>> >
>> >I got php_oci8.dll (PHP4 version) library from
>> >http://download.swwwing.com/php4/modules/ and build it
>> >into my PC.
>> >My php page:
>> >
>> >
>> ><?
>> >echo "<BR>MY TEST TEXT<BR>";
>> >?>
>> >
>> >
>> > now still say to me:
>> >
>> >
>> >X-Powered-By: PHP/4.0.0 Content-type: text/html
>> >MY TEST TEXT
>> >PHP Warning: Invalid library (maybe not a PHP library) 'php_oci8.dll' in
>> >Unknown on line 0
>> >
>> >
>> >
>> >I don't know, what I doing wrong.
>> >
>> >(My syste is: WinNT 4 Workstation, IIS 4, PHP4.0, Oracle 8.0.5)
>> >If I remove oci8 library, php scripts works fine.
>> >
>> >Heeeelp me please!!
>> >
>> >Thanks.
>> >
>> >
>> >Ondrej Kuchar
>> >
>> >
>> >
>> >
>> >--
>> >PHP Windows Mailing List (http://www.php.net/)
>> >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>> >For additional commands, e-mail: php-windows-help@lists.php.net
>> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>> >
>> >
>> >
>>
>> Swwwing A/S
>> Frank M. Kromann
>> VP Development
>> Phone: +45 70 20 77 20
>> Fax: +45 70 20 77 21
>> http://www.swwwing.com
>>
>>
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>For additional commands, e-mail: php-windows-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Swwwing A/S
Frank M. Kromann
VP Development
Phone: +45 70 20 77 20
Fax: +45 70 20 77 21
http://www.swwwing.com