#42456 [Bgs->Csd]: i foud solution, publish it on website

From: Date: Thu, 30 Aug 2007 07:33:01 +0000
Subject: #42456 [Bgs->Csd]: i foud solution, publish it on website
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-116859@lists.php.net to get a copy of this message
ID: 42456 User updated by: astorozhuk at ukrcard dot com dot ua Reported By: astorozhuk at ukrcard dot com dot ua -Status: Bogus +Status: Closed Bug Type: OCI8 related Operating System: sles9 PHP Version: 5.2.3 New Comment: seems to be source of problem that i was compilling it with Application, not Database ve compiled it with db and now is ok without changing source Previous Comments: ------------------------------------------------------------------------ [2007-08-30 06:34:01] astorozhuk at ukrcard dot com dot ua &#1074;&#1086;&#1090;&#1086; &#1090;&#1091;&#1087;&#1086;&#1088;&#1080;&#1083;&#1110; &#1082;&#1086;&#1087;&#1110;&#1087;&#1072;&#1089;&#1090;&#1103;&#1090;&#1100; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1110; &#1110; &#1087;&#1086;&#1084;&#1080;&#1083;&#1103;&#1102;&#1090;&#1100;&#1089;&#1103; &#1111;&#1084; &#1090;&#1080;&#1082;&#1072;&#1108;&#1097; &#1085;&#1086;&#1089;&#1086;&#1084; &#1097;&#1086; &#1087;&#1086;&#1090;&#1088;&#1110;&#1073;&#1085;&#1086; &#1074;&#1080;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090;&#1080; &#1074; &#1110;&#1089;&#1093;&#1086;&#1076;&#1085;&#1110;&#1082;&#1072;&#1093;, &#1072; &#1074;&#1086;&#1085;&#1080; &#1085;&#1077; &#1074;&#1090;&#1080;&#1082;&#1072;&#1102;&#1090;&#1100; &#1074;&#1086;&#1085;&#1086; &#1110; &#1085;&#1077; &#1076;&#1080;&#1074;&#1085;&#1086; &#1097;&#1086; &#1074; &#1087;&#1093;&#1087; &#1089;&#1090;&#1110;&#1083;&#1100;&#1082;&#1080; &#1075;&#1083;&#1102;&#1082;&#1110;&#1074; ------------------------------------------------------------------------ [2007-08-29 08:45:34] tony2001@php.net >(/oracle/as is oracle application server. we use also oracle9 >database. all from official installation) What's the EXACT version number? 9.what? >useful information: Oh, please keep this useful information to yourself. >please add 4 lines to source of oci8 extension lines: Please stop telling me what to do. >why some php developers not analysing problem , but just make >copy-paste, and even make errors in copy-pasting :) Why some users think they may call other people stupid and expect these very people to help them? Do you think you're clever? Name me at least one reason why should I even listen to you after that. ------------------------------------------------------------------------ [2007-08-29 07:15:25] astorozhuk at ukrcard dot com dot ua i definitly wrote in OS field - sles9 (sles9= Suse Linux Enterprise server version 9) , service pack 3, OFFICIAL i mention freebsd as link, not because i use it. i found link with problem solution. configure ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-config-file-path=/usr/local/apache/conf --with-oci8=/oracle/as --disable-rpath --enable-soap --enable-iconv --enable-oracle --with-gd -with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-zlib=/usr (/oracle/as is oracle application server. we use also oracle9 database. all from official installation) version 5.1.6 compilations is normal version 5.2.3 not compiling , error i've mentioned above !useful information: ------------------------------------------ please add 4 lines to source of oci8 extension lines: #ifdef OCI_NLS_CHARSET_MAXBYTESZ #else bytes_per_char = 4; #endif in ext/oci8/oci8_lob.c, near line 340 as i mensioned above ------------------------------------------- another questions: why some php developers not analysing problem , but just make copy-paste, and even make errors in copy-pasting :) ------------------------------------------------------------------------ [2007-08-28 21:08:45] tony2001@php.net OCI8 builds and works perfectly fine with Oracle 9, 10 and 11. It can also be used to communicate with earlier versions, though we do not support clients < 9 because of several reasons which I'm not going to explain here. If you are using an unsupported platform (FreeBSD), then it's your responsibility to make it work - we're definitely not going to support hacks and unofficial "ports". If you mentioned FreeBSD for another reason, then please try to be more verbose: I can see a lot of emotions in your report, but almost no useful information. What kind of OS is that? Which version of Oracle client was used? Do you use official distribution or something manually hacked? How did you configure PHP? Without this information the report is bogus. ------------------------------------------------------------------------ [2007-08-28 12:04:27] astorozhuk at ukrcard dot com dot ua google: ociheaders site:oracle.com found http://www.oracle.com/technology/products/ias/ohs/htdocs/php_ohs.htm title of document: Using PHP with Oracle Application Server 10g (! version 10) url of headers found http://www.oracle.com/technology/products/ias/ohs/htdocs/ociheaders.tar wget http://www.oracle.com/technology/products/ias/ohs/htdocs/ociheaders.tar --15:00:49-- http://www.oracle.com/technology/products/ias/ohs/htdocs/ociheaders.tar => `ociheaders.tar' Resolving www.oracle.com... 141.146.8.66 Connecting to www.oracle.com[141.146.8.66]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,330,176 [application/x-tar] 100%[==================================================================================>] 1,330,176 13.60K/s ETA 00:00 15:01:52 (22.22 KB/s) - `ociheaders.tar' saved [1330176/1330176] md5sum ociheaders.tar 1d1cc2502e9d1e5bf95c33b5616fb604 ociheaders.tar comparing with headers that was long time ago (few monthes), and installed on system... #OciHeaders # url http://www.oracle.com/technology/products/ias/ohs/htdocs/ociheaders.tar # md5 1d1cc2502e9d1e5bf95c33b5616fb604 ------------------------ conclusions: ociheaders didn't changed last few monthes but on php-5.1.6 they worked and now (php-5.2.3) compilling with them raise error ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/42456 -- Edit this bug report at http://bugs.php.net/?id=42456&edit=1

« previous php.bugs (#116859) next »