php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61563 Installation/configuration problem with Apache 2.2.22; PHP 5.2.9-2 et OCI8 (wit
Submitted: 2012-03-30 13:21 UTC Modified: 2012-04-03 00:29 UTC
From: alex_couturier at yahoo dot com Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: master-Git-2012-03-30 (Git) OS: Windows 2003 server
Private report: No CVE-ID: None
 [2012-03-30 13:21 UTC] alex_couturier at yahoo dot com
Description:
------------
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_exif.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_oci8.dll
extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
extension=php_zip.dll
extension=php_http.dll
extension=php_oracle.dll

Test script:
---------------
Hello Support,

I would like help about a problem that I could not answer.

So I try to install Apache 2.2.22 with the link oci8 to connect my database
with Oracle 10G on a OS windows server 2003.

So I have installed exactly the pre requisite necessary to work together apache
with oci8

- Oracle instant client
- PHP 5.2.17
- Apache 2.2.22
- Oracle instant client 11G 32bits

I create the environnement variable TNS_ADMIN and PATH with the directory
"D:\www\instantclient_11_1"

And when I start Apache, I have the error message in php log :

PHP Warning:  PHP Startup: Unable to load dynamic library 'ext/php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 'ext/php_oracle.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0


Have you got an idea ?

Many thanks

AC


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-03 00:29 UTC] sixd@php.net
-Status: Open +Status: Not a bug
 [2012-04-03 00:29 UTC] sixd@php.net
Please ask this on a support forum before logging a bug.
Try http://www.oracle.com/technology/forums/php.html
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC