#37218 [Fbk-Opn]: oci_new_collection crash Apache

2006-05-02 Thread xfree at inbox dot lv
 ID:   37218
 User updated by:  xfree at inbox dot lv
 Reported By:  xfree at inbox dot lv
-Status:   Feedback
+Status:   Open
 Bug Type: OCI8 related
 Operating System: Windows
 PHP Version:  5.1.2
 Assigned To:  tony2001
 New Comment:

the same error with the latest snapshot..


Previous Comments:


[2006-05-01 07:12:08] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip





[2006-04-27 07:03:38] xfree at inbox dot lv

Description:

Oci_new_collection crash Apache Web Server running on Windows XP. Then
I calling this function - Apache just stops, with windows like error
message #8220;Apache service raise an error and will be
closed.#8221;

Configuration is following:
PHP 5.1.2. Apache 2.0.55. Oracle Database 10.1.3. 
phpinfo() shows: 
Temporary Lob support enabled  
Collections support enabled.

Collection type is very simple:
create or replace type myCollection as table of varchar2(4000);
/


Reproduce code:
---
// connect to ora
$lora_conn = oci_connect(_LOGIN, _PASSWD, _TNSNAME);
if ($lora_conn)
{
$lora_coll = oci_new_collection($lora_conn, 'myCollection');

//...
}

Actual result:
--
Apache service crash.





-- 
Edit this bug report at http://bugs.php.net/?id=37218edit=1


#37218 [NEW]: oci_new_collection crash Apache

2006-04-27 Thread xfree at inbox dot lv
From: xfree at inbox dot lv
Operating system: Windows
PHP version:  5.1.2
PHP Bug Type: OCI8 related
Bug description:  oci_new_collection crash Apache

Description:

Oci_new_collection crash Apache Web Server running on Windows XP. Then I
calling this function - Apache just stops, with windows like error message
#8220;Apache service raise an error and will be closed.#8221;

Configuration is following:
PHP 5.1.2. Apache 2.0.55. Oracle Database 10.1.3. 
phpinfo() shows: 
Temporary Lob support enabled  
Collections support enabled.

Collection type is very simple:
create or replace type myCollection as table of varchar2(4000);
/


Reproduce code:
---
// connect to ora
$lora_conn = oci_connect(_LOGIN, _PASSWD, _TNSNAME);
if ($lora_conn)
{
$lora_coll = oci_new_collection($lora_conn, 'myCollection');

//...
}

Actual result:
--
Apache service crash.

-- 
Edit bug report at http://bugs.php.net/?id=37218edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37218r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37218r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37218r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37218r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37218r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37218r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37218r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37218r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37218r=support
Expected behavior:http://bugs.php.net/fix.php?id=37218r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37218r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37218r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37218r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37218r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37218r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37218r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37218r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37218r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37218r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37218r=mysqlcfg


#36204 [NEW]: Can#8217;t compile from sources with addition futures (!)

2006-01-30 Thread xfree at inbox dot lv
From: xfree at inbox dot lv
Operating system: RHEL 4 Update 2 AS x86_64
PHP version:  5.1.2
PHP Bug Type: *Compile Issues
Bug description:  Can#8217;t compile from sources with addition futures (!)

Description:

Hi, 

After two days trying to compile latest PHP release 5.1.2 from sources I
would like to write you about some configuration error. I would like to
see 3 things in my PHP: mysql support, mcrypt support and imap support. 

One of the goal reasons witch I see is the AMD64  (x84_64) platform
support in PHP.

Now main issue. My compilation script is following:

1)  MySQL. Return error on ./configure step. Configuration test is fail on
mysql_close, mysql_error functions. PHP 4.4.0 compiles without errors
#8211; its means that MySQL libraries is configured properly.
2)  MCrypt. Return error on ./configure step both PHP4.4.0 and PHP5.1.2.
Firstly I compile libmcrypt from sources after mcrypt. Secondly installing
libmcrypt-2.5.7 from rpm and after mcrypt from rpm too. Changing libs
location from /usr, /usr/local.. trying to set shared options. No any
result. The error is the following can#8217;t detect mcrypt version
#8211; witch is incorrect because I have a latest lib version.
3)  IMAP. Work with out any problems on my test x84 system. In x84_64
return error compilation step on linking c-client futures. After I
installing all require devel libraries from rpms - result is the same
#8211; compilation error on c-client libraries linking.

So, thank you for your important work Hope I help you to find and
understand problems.
Good lack.


Reproduce code:
---
PREFIX=/usr/local/apacheBASE2Beta
./configure \
--with-apxs2=$PREFIX/bin/apxs \
--with-openssl \
--with-bz2 \
--with-zlib \
--with-oci8=/home/oracle/OraHome_1 \
--enable-sigchild \
--with-gd \
--without-sqlite \
--without-pdo-sqlite \
--with-xml \
--with-mcrypt=/usr/local
--with-imap=shared --with-kerberos=/usr/local --with-imap-ssl \
--with-mysql=shared \
--with-mysqli=/usr/bin/mysql_config \
--with-mysql-sock=/var/lib/mysql/mysql.sock
make
make install

Expected result:

N/A

Actual result:
--
N/A

-- 
Edit bug report at http://bugs.php.net/?id=36204edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36204r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36204r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36204r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36204r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=36204r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=36204r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=36204r=needscript
Try newer version:http://bugs.php.net/fix.php?id=36204r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=36204r=support
Expected behavior:http://bugs.php.net/fix.php?id=36204r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=36204r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=36204r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36204r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36204r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36204r=dst
IIS Stability:http://bugs.php.net/fix.php?id=36204r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=36204r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36204r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=36204r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=36204r=mysqlcfg