#24424 [Opn->Bgs]: Complains about libxml even when not compiling with XML

2003-06-30 Thread derick
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Open
+Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

--enable-wddx requires libxml2 too


Previous Comments:


[2003-07-01 01:06:24] liz at xcalibur dot demon dot co dot uk

Given I have submitted my entire configuration, please, tell me what.

The line now reads

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin --with-zlib
-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp --disable-xml --disable-simplexml --disable-dom



[2003-06-30 17:55:58] [EMAIL PROTECTED]

It works just fine. You're just doing something wrong.




[2003-06-30 17:05:17] [EMAIL PROTECTED]

--disable-xml --disable-simplexml --disable-dom --without-pear
does it with latest CVS.




[2003-06-30 16:48:22] [EMAIL PROTECTED]

Installing libxml is not the solution in this case, as the user is
specifically requesting that XML support not be added to their PHP
install.

Hopefully the fixes today also made XML support follow the
--disable-all command!

Marking back as open.



[2003-06-30 16:02:41] [EMAIL PROTECTED]

Install Redhat package libxml2-devel .




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/24424

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



#24424 [Bgs->Opn]: Complains about libxml even when not compiling with XML

2003-06-30 Thread liz at xcalibur dot demon dot co dot uk
 ID:   24424
 User updated by:  liz at xcalibur dot demon dot co dot uk
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Bogus
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Given I have submitted my entire configuration, please, tell me what.

The line now reads

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin --with-zlib
-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp --disable-xml --disable-simplexml --disable-dom


Previous Comments:


[2003-06-30 17:55:58] [EMAIL PROTECTED]

It works just fine. You're just doing something wrong.




[2003-06-30 17:05:17] [EMAIL PROTECTED]

--disable-xml --disable-simplexml --disable-dom --without-pear
does it with latest CVS.




[2003-06-30 16:48:22] [EMAIL PROTECTED]

Installing libxml is not the solution in this case, as the user is
specifically requesting that XML support not be added to their PHP
install.

Hopefully the fixes today also made XML support follow the
--disable-all command!

Marking back as open.



[2003-06-30 16:02:41] [EMAIL PROTECTED]

Install Redhat package libxml2-devel .




[2003-06-30 15:58:23] liz at xcalibur dot demon dot co dot uk

No, it still doesnt work, however it gets further and then whines

configure: error: xml2-config not found. Use --with-libxml-dir=
make: *** No targets specified and no makefile found.  Stop.



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/24424

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



#24427 [Opn->Bgs]: Can't Find Mysql function

2003-06-30 Thread philip
 ID:   24427
 Updated by:   [EMAIL PROTECTED]
 Reported By:  flyruns at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: MySQL related
 Operating System: windows 2000 Server sp2(chinese)
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

MySQL is not compiled into the distributed Windows binaries in PHP 5,
like they are in PHP 4, so undefined MySQL functions are expected
here.

And btw, there is no php_mysql.dll in beta1, so wait for beta2 or use a
snap: http://snaps.php.net/


Previous Comments:


[2003-06-30 21:22:52] flyruns at hotmail dot com

Description:

when i install php5

---
copy php5beat1/dlls/* -> %SYSTEMROOT%/system32/
copy php5beat1/php4ts.dll -> %SYSTEMROOM%/system32/
copy php5beat1/php.ini_dist -> %SYSTEMROOT%/php.ini

edit httpd.conf 
  LoadModule php5_module pathto/php5beat1/sapi/php4apache2.dll
  Addmodule module_php5.c

edit php.ini


   http://localhost/phpinfo.php

   i  can't find any mysql info!!



Reproduce code:
---

OUTPUT---
Fatal error: Call to undefined function: mysql_connect() in C:\Program
Files\Apache Group\Apache2\htdocs\mysql.php on line 2

Expected result:

i think.
what's wrong happend in my install.






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



#24248 [Opn]: .htaccess php var overides not being cleared between page requests

2003-06-30 Thread dkh-php at nighttide dot net
 ID:   24248
 User updated by:  dkh-php at nighttide dot net
 Reported By:  dkh-php at nighttide dot net
 Status:   Open
 Bug Type: Apache2 related
 Operating System: FreeBSD 4.8-STABLE
-PHP Version:  4.3.2
+PHP Version:  4.3.2/5.0.0b1
 New Comment:

Same problem with php5.0.0b1


Previous Comments:


[2003-06-18 21:57:07] dkh-php at nighttide dot net

It does not happen with Apache 1.3.27. Though the versions I have
installed are not completely congruent (no ssl in the older version for
instance.

I have not been able to recreate the problem with Apache2 and the same
version of PHP on a FreeBSD 4.8-RC install (slightly older source).
Will update both systems to the most current STABLE release and see if
the behavior occurs on both.

The behavior is consistant. Load the first page then load the second
page (lightly loaded server so the requests are sequential with nothing
intervening) and you get the problem. Reloading the second page a
couple of times will see the same result but after that the second page
loads as it should. 

Have tried compiling php without pth threads to no effect.

The outward appearance is that the php var overides are not being
cleared between page requests.



[2003-06-18 18:20:04] [EMAIL PROTECTED]

Apache2 is not really ready for production. Could you please test and
see if this happens with Apache 1.3.27 ?

And does this happen randomly or..?




[2003-06-18 16:10:40] dkh-php at nighttide dot net

Description:

FreeBSD 4.8-STABLE
Apache 2.0.46
PHP 4.3.2 

PHP being used as module.

User 1 creates an .htaccess file in their dir at
/home/user1/WWW/sub/.htaccess. This file contains php var overides for
auto_prepend_file, auto_append_file, include_path etc.

User 2 has a simple index.php file - html tag, body tag, single text
line followed by a php invocation of phpinfo (happens with other pages
as well) then closing tags. No .htaccess file here.

User 1 stuff in /home/user1/WWW/sub/index.php works as expected

User 2 stuff in /home/user2/WWW/index.php, if loaded immediately after
/home/user1/WWW/sub/index.php will see User 1's auto_prepend_file and
auto_append_file. The local values from the phpinfo invocation shows
User 2's overrides.

Appears as if the apache session (or thread?) that serviced the first
request, doesn't clear out the local overrides before handling a new
request. Potentially dangerous.







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



#24427 [NEW]: Can't Find Mysql function

2003-06-30 Thread flyruns at hotmail dot com
From: flyruns at hotmail dot com
Operating system: windows 2000 Server sp2(chinese)
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: MySQL related
Bug description:  Can't Find Mysql function 

Description:

when i install php5

---
copy php5beat1/dlls/* -> %SYSTEMROOT%/system32/
copy php5beat1/php4ts.dll -> %SYSTEMROOM%/system32/
copy php5beat1/php.ini_dist -> %SYSTEMROOT%/php.ini

edit httpd.conf 
  LoadModule php5_module pathto/php5beat1/sapi/php4apache2.dll
  Addmodule module_php5.c

edit php.ini


   http://localhost/phpinfo.php

   i  can't find any mysql info!!



Reproduce code:
---

OUTPUT---
Fatal error: Call to undefined function: mysql_connect() in C:\Program
Files\Apache Group\Apache2\htdocs\mysql.php on line 2

Expected result:

i think.
what's wrong happend in my install.


-- 
Edit bug report at http://bugs.php.net/?id=24427&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24427&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24427&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24427&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24427&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24427&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24427&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24427&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24427&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24427&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24427&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24427&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24427&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24427&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24427&r=gnused



#24309 [Bgs]: mb_detect_encoding return EUC-JP for invalid EUC-JP char sequence

2003-06-30 Thread jc at mega-bucks dot co dot jp
 ID:   24309
 User updated by:  jc at mega-bucks dot co dot jp
 Reported By:  jc at mega-bucks dot co dot jp
 Status:   Bogus
 Bug Type: mbstring related
 Operating System: Linux
 PHP Version:  4.3.3RC1
 Assigned To:  hirokawa
 New Comment:

Are you sure? ^_^

I am not an encoding expert so if you say that it is a valid sequence I
believe you but ...

I am using postgreSQL as a database and it says that it is not a valid
EUC sequence. So either PHP is wrong or the database is wrong :)

Here is my test code:

  echo "Checking $string ...";
  $sql = "select id from products where name like '$string'";
  $conn = pg_connect("host=$IP port=5432 dbname=$DB user=postgres");
  $res  = pg_query($conn, $sql);
  $err_msg = pg_last_error($conn);
  if (preg_match("/Invalid EUC_JP character sequence found/",
$err_msg)) {
echo "NOT VALID";
  }

The error message returned by the DB is:

pg_query(): Query failed: ERROR:  Invalid EUC_JP character sequence
found (0xba7e)

The output is:

Checking 喧� ...
NOT VALID

I'll post this to the postgreSQL developer's list also in case it is a
bug in postgreSQL.

If you are certain that this character sequence is valid can you point
me to a ressource I can use to show the postgreSQL team that they have
a bug that needs fixing?

Thanks!


Previous Comments:


[2003-06-30 07:49:30] [EMAIL PROTECTED]

It is not a bug of mbstring.
0xb7,0xf6,0xba,0x7e is a correct byte seqence of EUC-JP.




[2003-06-28 09:40:13] [EMAIL PROTECTED]

URL decoded byte sequance of 'search_words=%B7%F6%BA%7E' is
B7E6+BA7E, which is correct EUC-JP character sequence.



Encoding detection is not perfect, it may make mistake if the length of
string is too short.

But, I believe encoding detection of mbstring works fine in this case.
B7E6+BA7E is not correct byte sequence of SJIS, UTF-8, ISO2022-JP. It
is correct EUC-JP byte sequence.







[2003-06-24 02:52:51] jc at mega-bucks dot co dot jp

Description:

I've just run into a strange "bug". I have a form on my web site that
takes input from the user and then uses that to do a search of a
postgresql database.

The form is set to be EUC-JP, but this weekend a user submitted a
query
that postgres reject because it "contains invalid EUC-JP" characters.
Luckily the error was logged and I was able to track it down.

I thought that maybe the user had entered some bad characters in the
form or used some strange encoding so I should better check to make
sure
that the encoding of the submitted form data really is EUC-JP using
mb_detect_encoding(). But unfortunately mb_detect_encoding() says that
the invalid string *is* in EUC-JP!?

The query string is as it appears in the URL is:

search_words=%B7%F6%BA%7E

In the script that parses this query I have put the following:

$words = $_GET["words"];
$enc = mb_detect_encoding($aI["words"]);
echo "encoding is $enc and the query is ($words)";die;

The result is:

encoding is EUC-JP and the query is (喧?)

As you can see the query string is *not* a valid EUC-JP sequence ...

Reproduce code:
---
$words = $_GET["words"];
$enc = mb_detect_encoding($aI["words"]);
echo "encoding is $enc and the query is ($words)";die;

Expected result:

SJIS (?) or Undefined.

mb_detect_encoding() does not specify what it returns if an invalid
character sequence for which the encoding cannot be detectec is passed
in.

In the above case the character sequence is valid SJIS I believe ...

Actual result:
--
EUC-JP





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



#22175 [Opn->Csd]: session_decode does not work

2003-06-30 Thread sterling
 ID:   22175
 Updated by:   [EMAIL PROTECTED]
 Reported By:  michel at ziobudda dot net
-Status:   Open
+Status:   Closed
 Bug Type: Session related
 Operating System: Linux Redhat 8.0
 PHP Version:  5CVS-2003-02-11 (dev)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-06-17 14:59:29] michel at ziobudda dot net

I have tried with PHP5 CVS version 17 Jun 2003 and the error persist.

bye



[2003-06-11 02:41:30] [EMAIL PROTECTED]

Go to http://snaps.php.net , it has a PHP 5 snapshot too.

Derick



[2003-06-11 02:27:02] michel at ziobudda dot net

Hi, you have give me php4-STABLE-latest.tar.gz link. But the error is
for PHP5.  In php4 there is no error.

Bye.



[2003-06-10 19:21:39] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-02-11 15:52:35] michel at ziobudda dot net

Sure, you can find the script for

PHP4 (it works): http://www.ziobudda.net/test/session4-3.php (.phps for
the source)

PHP5 (not work): http://www.ziobudda.net:81/test/session4-3.php



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/22175

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



#22684 [Opn->Csd]: Unhappy with strtoll declaration in bundled libmysql

2003-06-30 Thread sterling
 ID:   22684
 Updated by:   [EMAIL PROTECTED]
 Reported By:  michael dot mauch at gmx dot de
-Status:   Open
+Status:   Closed
 Bug Type: MySQL related
 Operating System: Tru64 4.0g
 PHP Version:  5.0.0-dev & 4.3.2RC1
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

there is no bundle.


Previous Comments:


[2003-05-30 15:36:10] michael dot mauch at gmx dot de

I already reported it to the MySQL people back in March (I thought I
had noted it here, but obviously not). I got a private answer saying
that the fix is not so easy as I thought, because it would break the
build on other machines. I'll check and see if there are any news.



[2003-05-30 14:42:32] [EMAIL PROTECTED]

Could you please report this bug (with latest stable 3.23.x client
library) to bugs.mysql.com ?



[2003-03-14 11:19:34] [EMAIL PROTECTED]

You should report this to the mysql. (if you already haven't :)

Even as it clearly is Mysql problem, it's better leave
this open for now as a reminder to upgrade the bundled
library as soon as it's fixed.




[2003-03-14 10:31:06] michael dot mauch at gmx dot de

No, MySQL 3.23.55 shows the same error => bogus (but the Status box
only has "Open" or "Close", so I have to leave it open).



[2003-03-13 17:20:11] [EMAIL PROTECTED]

Do you get the same error when you compile mysql?




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/22684

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



#22823 [Opn->Fbk]: Two warnings during make

2003-06-30 Thread sniper
 ID:   22823
 Updated by:   [EMAIL PROTECTED]
 Reported By:  j dot lammerts at chello dot nl
-Status:   Open
+Status:   Feedback
 Bug Type: Compile Warning
 Operating System: AIX 5.1.0.0
 PHP Version:  4.3.2RC1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Also, what was the configure line used?



Previous Comments:


[2003-03-22 08:03:58] j dot lammerts at chello dot nl

BTW,

The same nm message (Cannot process symbol table) appears also when
doing the make install



[2003-03-22 05:31:08] j dot lammerts at chello dot nl

Hi,

Discovered two more warnings when compiling the latest cvs release.
The first one has to do with pcre. The second one is when nm tries to
list symbols of image.o. It says it can't...
Here are the warnings :

1)
 /bin/sh /home/root/php4-STABLE-200303212030/libtool --silent
--preserve-dup-deps --mode=compile gcc -DSUPPORT_UTF8 -DLINK_SIZE=2
-I/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib -Iext/pcre/
-I/home/root/php4-STABLE-200303212030/ext/pcre/ -DPHP_ATOM_INC
-I/home/root/php4-STABLE-200303212030/include
-I/home/root/php4-STABLE-200303212030/main
-I/home/root/php4-STABLE-200303212030
-I/home/root/php4-STABLE-200303212030/Zend
-I/home/root/php4-STABLE-200303212030/ext/xml/expat 
-I/home/root/php4-STABLE-200303212030/TSRM  -g -O2  -prefer-pic -c
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c -o
ext/pcre/pcrelib/pcre.lo
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:108:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:108:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:108:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:108:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:108:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:108:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:110:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:110:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:110:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:111:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:112:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:112:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:114:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:114:
warning: overflow in implicit constant conversion
/home/root/php4-STABLE-200303212030/ext/pcre/pcrelib/pcre.c:116:
warning: overflow in implicit constant conversion

2)
nm: ext/standard/image.o: 0654-206 Cannot process the symbol table.

TIA,

Hans




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



#20490 [Ana->Fbk]: enable versioning not supported on OSX

2003-06-30 Thread sniper
 ID:   20490
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Analyzed
+Status:   Feedback
 Bug Type: *Configuration Issues
 Operating System: OSX 10.2.2
 PHP Version:  4CVS-2002-11-18 (dev)
 New Comment:

Is it some other flag or is it not needed at all for OSX?



Previous Comments:


[2002-12-01 09:56:00] [EMAIL PROTECTED]

I sent Marko a patch on this (I think) and he said he'd double check my
work today sometime.  Hopefully this can be fit into the 4.3 RC
schedule.



[2002-11-18 20:09:00] [EMAIL PROTECTED]

./configure --enable-versioning uses -export-sybmols in the ld command,
this is not supported under osx and should be disabled in the configure
script.




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



#22604 [Opn->Csd]: Egrep/'grep -E' usage not working

2003-06-30 Thread sniper
 ID:   22604
 Updated by:   [EMAIL PROTECTED]
 Reported By:  j-devenish at users dot sourceforge dot net
-Status:   Open
+Status:   Closed
 Bug Type: *Configuration Issues
 Operating System: Solaris
 PHP Version:  5.0.0-dev
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-03-10 10:42:23] [EMAIL PROTECTED]

There are no 'grep -E' calls in the PHP_4_3 branch.




[2003-03-08 03:57:34] j-devenish at users dot sourceforge dot net

(1) There are multiple instances of hard-coded egrep/'grep -E'. egrep
is deprecated, but unfortunately grep with '-E' is not always available
with people's default paths under Solaris. So, hard-coded 'grep -E' can
cause configuration error messages under Solaris (esp HEAD, maybe not
so much with  PHP_4_3).

(2) AC_PROG_CPP appears to do an egrep/'grep -E' test and defines the
variable $EGREP. (But this is after PHP_INIT_BUILD_SYSTEM, which itself
currently uses extended regex.)

(3) perhaps, sometimes, bare 'grep' may be sufficient.





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



#24025 [Opn->Csd]: Can't build with shared ldap support

2003-06-30 Thread sniper
 ID:   24025
 Updated by:   [EMAIL PROTECTED]
 Reported By:  andreas at conectiva dot com dot br
-Status:   Open
+Status:   Closed
 Bug Type: Compile Failure
 Operating System: linux
 PHP Version:  4CVS-2003-06-04 (stable)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-06-04 14:49:03] andreas at conectiva dot com dot br

The configure test for ldap_start_tls_s and other ldap functions fails
to pass along needed ldap libraries:

(...)
configure:41587: checking for ldap_parse_reference
configure:41615: gcc -o conftest -O2 -march=i386 -mcpu=pentiumpro -fPIC
 -L/usr/lib -ldb-4.1 -L/usr/lib/krb5 conftest.c -lcrypt -lpam
 -lgmp -lfreetype -lpng -lz -ljpeg -lz -ldb-4.1 -lgdbm -lcurl -lbz2 -lz
-lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lz -lssl -lcr
ypto -ldl -lz -lxml2 -lz -lm 1>&5
(...)
configure:41587: checking for ldap_start_tls_s
configure:41615: gcc -o conftest -O2 -march=i386 -mcpu=pentiumpro -fPIC
 -L/usr/lib -ldb-4.1 -L/usr/lib/krb5 conftest.c -lcrypt -lpam
 -lgmp -lfreetype -lpng -lz -ljpeg -lz -ldb-4.1 -lgdbm -lcurl -lbz2 -lz
-lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lz -lssl -lcr
ypto -ldl -lz -lxml2 -lz -lm 1>&5
(...)

The patch below, against ext/ldap/config.m4, worksaround this problem.
Worked here, but may not be the right way to fix this:
--- php4-STABLE-200306041730/ext/ldap/config.m4.orig2003-06-04
16:25:11.0 -0300
+++ php4-STABLE-200306041730/ext/ldap/config.m4 2003-06-04
16:30:21.0 -0300
@@ -110,7 +110,9 @@
 
   dnl Check for 3 arg ldap_set_rebind_proc
   _SAVE_CPPFLAGS=$CPPFLAGS
+  _SAVE_LDFLAGS=$LDFLAGS
   CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
+  LDFLAGS="$LDFLAGS -L$LDAP_LIBDIR $LDAP_SHARED_LIBADD"
   AC_CACHE_CHECK([for 3 arg ldap_set_rebind_proc],
ac_cv_3arg_setrebindproc,
   [AC_TRY_COMPILE([#include ], [ldap_set_rebind_proc(0,0,0)],
   ac_cv_3arg_setrebindproc=yes, ac_cv_3arg_setrebindproc=no)])
@@ -118,8 +120,15 @@
 AC_DEFINE(HAVE_3ARG_SETREBINDPROC,1,[Whether 3 arg
set_rebind_proc()])
   fi
   CPPFLAGS=$_SAVE_CPPFLAGS
+  LDFLAGS=$_SAVE_LDFLAGS
 
   dnl Solaris 2.8 claims to be 2004 API, but doesn't have
   dnl ldap_parse_reference() nor ldap_start_tls_s()
+  _SAVE_CPPFLAGS=$CPPFLAGS
+  _SAVE_LDFLAGS=$LDFLAGS
+  CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
+  LDFLAGS="$LDFLAGS -L$LDAP_LIBDIR $LDAP_SHARED_LIBADD"
   AC_CHECK_FUNCS([ldap_parse_reference ldap_start_tls_s])
+  CPPFLAGS=$_SAVE_CPPFLAGS
+  LDFLAGS=$_SAVE_LDFLAGS
 fi 





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



#23275 [Opn->NoF]: serialize(), $_SESSION, seg fault

2003-06-30 Thread sniper
 ID:   23275
 Updated by:   [EMAIL PROTECTED]
 Reported By:  moxley at moxleydata dot com
-Status:   Open
+Status:   No Feedback
 Bug Type: Session related
 Operating System: Linux 4.2
 PHP Version:  4.3.2-RC
 New Comment:

Fine.



Previous Comments:


[2003-06-30 14:08:46] moxley at moxleydata dot com

Sorry, I'm not going to have the time and the available server to test
this. I have a work-around, which I will be using. Thanks.



[2003-06-26 12:35:09] [EMAIL PROTECTED]

What's the status?




[2003-05-20 19:50:07] moxley at moxleydata dot com

I've installed the release and the problem still exists. Addtionally,
there is another problem with the new release, related to sessions,
which I haven't had the time to investigate. Please give me more time
to check out the new problem. Thanks



[2003-05-15 13:27:07] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And if it still crashes, add the backtrace here.




[2003-04-21 10:03:40] [EMAIL PROTECTED]

I get this with latest STABLE CVS:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 136337046 bytes) in Unknown on line 0



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/23275

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



#24426 [Opn->Bgs]: Apache Installation Doesn't Work

2003-06-30 Thread sniper
 ID:   24426
 Updated by:   [EMAIL PROTECTED]
 Reported By:  LouisGreen at pljg dot freeserve dot co dot uk
-Status:   Open
+Status:   Bogus
-Bug Type: *Web Server problem
+Bug Type: Apache related
 Operating System: Windows XP Pro
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

If you had bothered to search the bug database, you'd know the answer
already. Don't bother reopening, you're just wasting our time.




Previous Comments:


[2003-06-30 18:04:38] LouisGreen at pljg dot freeserve dot co dot uk

php4apache2.dll
php4apache.dll


Is this not bundled as part PHP, because it fuses to work. The bundled
instructions are only for PHP 4, not 5. I could spend time going
thought dozens of news groups / forums and mailing list, looking for
the answer, may even spend days chasing a wide goose. If there is ever
likely a chance for a Windows Apache user to try/ debug PHP5, could u
or somone please point me to some where more specific where I can get
answer. Thanks



[2003-06-30 17:53:53] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.



[2003-06-30 17:53:10] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:52:58] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:44:16] LouisGreen at pljg dot freeserve dot co dot uk

Description:

I have tried without success to get php-5.0.0b1-Win32 installed. The
web servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as
a Module and CGI, but Apache refuses to start up. This is what I have
put in to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and
system32 driectories. Also the php.ini file to the windows/winnt
directory. Then when I start Apache, I get this error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found


---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Expected result:

To work :'(

Actual result:
--
Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found





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



#24426 [Bgs->Opn]: Apache Installation Doesn't Work

2003-06-30 Thread LouisGreen at pljg dot freeserve dot co dot uk
 ID:   24426
 User updated by:  LouisGreen at pljg dot freeserve dot co dot uk
-Summary:  Installation Doesn't Work
 Reported By:  LouisGreen at pljg dot freeserve dot co dot uk
-Status:   Bogus
+Status:   Open
-Bug Type: Apache related
+Bug Type: *Web Server problem
 Operating System: Windows XP Pro
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

php4apache2.dll
php4apache.dll


Is this not bundled as part PHP, because it fuses to work. The bundled
instructions are only for PHP 4, not 5. I could spend time going
thought dozens of news groups / forums and mailing list, looking for
the answer, may even spend days chasing a wide goose. If there is ever
likely a chance for a Windows Apache user to try/ debug PHP5, could u
or somone please point me to some where more specific where I can get
answer. Thanks


Previous Comments:


[2003-06-30 17:53:53] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.



[2003-06-30 17:53:10] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:52:58] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:44:16] LouisGreen at pljg dot freeserve dot co dot uk

Description:

I have tried without success to get php-5.0.0b1-Win32 installed. The
web servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as
a Module and CGI, but Apache refuses to start up. This is what I have
put in to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and
system32 driectories. Also the php.ini file to the windows/winnt
directory. Then when I start Apache, I get this error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found


---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Expected result:

To work :'(

Actual result:
--
Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found





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



#24424 [Opn->Bgs]: Complains about libxml even when not compiling with XML

2003-06-30 Thread sniper
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Open
+Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

It works just fine. You're just doing something wrong.



Previous Comments:


[2003-06-30 17:05:17] [EMAIL PROTECTED]

--disable-xml --disable-simplexml --disable-dom --without-pear
does it with latest CVS.




[2003-06-30 16:48:22] [EMAIL PROTECTED]

Installing libxml is not the solution in this case, as the user is
specifically requesting that XML support not be added to their PHP
install.

Hopefully the fixes today also made XML support follow the
--disable-all command!

Marking back as open.



[2003-06-30 16:02:41] [EMAIL PROTECTED]

Install Redhat package libxml2-devel .




[2003-06-30 15:58:23] liz at xcalibur dot demon dot co dot uk

No, it still doesnt work, however it gets further and then whines

configure: error: xml2-config not found. Use --with-libxml-dir=
make: *** No targets specified and no makefile found.  Stop.



[2003-06-30 15:44:11] [EMAIL PROTECTED]

I forgot to mention that that was cleaned up in the latest snapshot
from http://snaps.php.net/

./configure --help | egrep "(xml|dom)" | grep disable
  --disable-dom   Disable new DOM support.
  --disable-simplexml Disable simplexml support
  --disable-xml   Disable XML support.




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/24424

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



#24426 [Opn->Bgs]: Installation Doesn't Work

2003-06-30 Thread sniper
 ID:   24426
 Updated by:   [EMAIL PROTECTED]
 Reported By:  LouisGreen at pljg dot freeserve dot co dot uk
-Status:   Open
+Status:   Bogus
-Bug Type: *Web Server problem
+Bug Type: Apache related
 Operating System: Windows XP Pro
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.


Previous Comments:


[2003-06-30 17:53:10] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:52:58] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:44:16] LouisGreen at pljg dot freeserve dot co dot uk

Description:

I have tried without success to get php-5.0.0b1-Win32 installed. The
web servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as
a Module and CGI, but Apache refuses to start up. This is what I have
put in to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and
system32 driectories. Also the php.ini file to the windows/winnt
directory. Then when I start Apache, I get this error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found


---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Expected result:

To work :'(

Actual result:
--
Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found





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



#24426 [Opn]: Installation Doesn't Work

2003-06-30 Thread LouisGreen at pljg dot freeserve dot co dot uk
 ID:   24426
 User updated by:  LouisGreen at pljg dot freeserve dot co dot uk
 Reported By:  LouisGreen at pljg dot freeserve dot co dot uk
 Status:   Open
 Bug Type: *Web Server problem
 Operating System: Windows XP Pro
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php


Previous Comments:


[2003-06-30 17:52:58] LouisGreen at pljg dot freeserve dot co dot uk

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php



[2003-06-30 17:44:16] LouisGreen at pljg dot freeserve dot co dot uk

Description:

I have tried without success to get php-5.0.0b1-Win32 installed. The
web servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as
a Module and CGI, but Apache refuses to start up. This is what I have
put in to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and
system32 driectories. Also the php.ini file to the windows/winnt
directory. Then when I start Apache, I get this error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found


---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Expected result:

To work :'(

Actual result:
--
Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found





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



#24425 [Opn->Bgs]: apache problem

2003-06-30 Thread sniper
 ID:   24425
 Updated by:   [EMAIL PROTECTED]
 Reported By:  burst at pop dot com dot br
-Status:   Open
+Status:   Bogus
 Bug Type: Apache related
 Operating System: win98
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

php4_module -> php5_module



Previous Comments:


[2003-06-30 16:54:01] burst at pop dot com dot br

Description:

in portuguese (brazilian)
bug em um dll

Expected result:

Apache run PHP 5.0.0...

Actual result:
--
Can't locate API module structure 'php4_module' in file
c:/php5/sapi/php4apache.dll: (124) Não foi possível encontrar o
procedimento especificado: 
Note the errors or messages above, and press the  key to exit.
29..
28..
27..
26..

:-(





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



#24426 [Opn]: Installation Doesn't Work

2003-06-30 Thread LouisGreen at pljg dot freeserve dot co dot uk
 ID:   24426
 User updated by:  LouisGreen at pljg dot freeserve dot co dot uk
 Reported By:  LouisGreen at pljg dot freeserve dot co dot uk
 Status:   Open
 Bug Type: *Web Server problem
 Operating System: Windows XP Pro
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

err, slight tpyo, but did do a complete refresh install of apache 1 and
2. And I did complete uninstalled and removed the old apache directory
each time, so the remains of the old one left.

Should of typed for the working bit

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php


Previous Comments:


[2003-06-30 17:44:16] LouisGreen at pljg dot freeserve dot co dot uk

Description:

I have tried without success to get php-5.0.0b1-Win32 installed. The
web servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as
a Module and CGI, but Apache refuses to start up. This is what I have
put in to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and
system32 driectories. Also the php.ini file to the windows/winnt
directory. Then when I start Apache, I get this error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found


---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Expected result:

To work :'(

Actual result:
--
Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found





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



#24426 [NEW]: Installation Doesn't Work

2003-06-30 Thread LouisGreen at pljg dot freeserve dot co dot uk
From: LouisGreen at pljg dot freeserve dot co dot uk
Operating system: Windows XP Pro
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: *Web Server problem
Bug description:  Installation Doesn't Work

Description:

I have tried without success to get php-5.0.0b1-Win32 installed. The web
servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as a
Module and CGI, but Apache refuses to start up. This is what I have put in
to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and system32
driectories. Also the php.ini file to the windows/winnt directory. Then
when I start Apache, I get this error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found


---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Expected result:

To work :'(

Actual result:
--
Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found

-- 
Edit bug report at http://bugs.php.net/?id=24426&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24426&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24426&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24426&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24426&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24426&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24426&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24426&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24426&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24426&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24426&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24426&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24426&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24426&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24426&r=gnused



#24424 [Opn]: Complains about libxml even when not compiling with XML

2003-06-30 Thread dickmeiss
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
 Status:   Open
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

--disable-xml --disable-simplexml --disable-dom --without-pear
does it with latest CVS.



Previous Comments:


[2003-06-30 16:48:22] [EMAIL PROTECTED]

Installing libxml is not the solution in this case, as the user is
specifically requesting that XML support not be added to their PHP
install.

Hopefully the fixes today also made XML support follow the
--disable-all command!

Marking back as open.



[2003-06-30 16:02:41] [EMAIL PROTECTED]

Install Redhat package libxml2-devel .




[2003-06-30 15:58:23] liz at xcalibur dot demon dot co dot uk

No, it still doesnt work, however it gets further and then whines

configure: error: xml2-config not found. Use --with-libxml-dir=
make: *** No targets specified and no makefile found.  Stop.



[2003-06-30 15:44:11] [EMAIL PROTECTED]

I forgot to mention that that was cleaned up in the latest snapshot
from http://snaps.php.net/

./configure --help | egrep "(xml|dom)" | grep disable
  --disable-dom   Disable new DOM support.
  --disable-simplexml Disable simplexml support
  --disable-xml   Disable XML support.




[2003-06-30 15:43:09] [EMAIL PROTECTED]

Please try the latest snapshot, these configure things have just been
"cleaned" up.



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/24424

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



#24425 [NEW]: apache problem

2003-06-30 Thread burst at pop dot com dot br
From: burst at pop dot com dot br
Operating system: win98
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: Apache related
Bug description:  apache problem

Description:

in portuguese (brazilian)
bug em um dll

Expected result:

Apache run PHP 5.0.0...

Actual result:
--
Can't locate API module structure 'php4_module' in file
c:/php5/sapi/php4apache.dll: (124) Não foi possível encontrar o
procedimento especificado: 
Note the errors or messages above, and press the  key to exit. 29..
28..
27..
26..

:-(

-- 
Edit bug report at http://bugs.php.net/?id=24425&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24425&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24425&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24425&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24425&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24425&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24425&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24425&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24425&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24425&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24425&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24425&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24425&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24425&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24425&r=gnused



#24424 [Fbk->Opn]: Complains about libxml even when not compiling with XML

2003-06-30 Thread kalowsky
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Installing libxml is not the solution in this case, as the user is
specifically requesting that XML support not be added to their PHP
install.

Hopefully the fixes today also made XML support follow the
--disable-all command!

Marking back as open.


Previous Comments:


[2003-06-30 16:02:41] [EMAIL PROTECTED]

Install Redhat package libxml2-devel .




[2003-06-30 15:58:23] liz at xcalibur dot demon dot co dot uk

No, it still doesnt work, however it gets further and then whines

configure: error: xml2-config not found. Use --with-libxml-dir=
make: *** No targets specified and no makefile found.  Stop.



[2003-06-30 15:44:11] [EMAIL PROTECTED]

I forgot to mention that that was cleaned up in the latest snapshot
from http://snaps.php.net/

./configure --help | egrep "(xml|dom)" | grep disable
  --disable-dom   Disable new DOM support.
  --disable-simplexml Disable simplexml support
  --disable-xml   Disable XML support.




[2003-06-30 15:43:09] [EMAIL PROTECTED]

Please try the latest snapshot, these configure things have just been
"cleaned" up.



[2003-06-30 15:41:40] liz at xcalibur dot demon dot co dot uk

So, sorry, I dont accept this as bogus as the fix you suggested
(despite 2 options not being listed in configure --help, didnt work.



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/24424

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



#24418 [Com]: Problem loading mysql.dll

2003-06-30 Thread rick_g22 at yahoo dot com
 ID:   24418
 Comment by:   rick_g22 at yahoo dot com
 Reported By:  auroraeosrose at hotmail dot com
 Status:   Assigned
 Bug Type: MySQL related
 Operating System: Windows XP SP1
 PHP Version:  5CVS-2003-06-30 (dev)
 Assigned To:  edink
 New Comment:

Um, i havent downloaded anything yet, but dont you think it's a bit too
presumptuous to just remove the mysql library from the default config?
(specially when the new version of mysql is coming out soon). There are
tons of ppl out there who got already acquainted with mysql, and then
wham, we all of a sudden we're (nearly) stuck with a whole new database
(SQLite? what the ...?) that doesn't even catch wrong-type errors in
database insertions.

Yes, I know, maybe I'm making a lot of noise about this, but can't you
just put back the mysql support "by default"? 

Most Web hosting companies dont care in modyfying or recompiling php
(you shouldve seen the scandal i caused in my company trying to compile
a not-built-in module), so the stick with the default config. I know,
maybe there's a simple flag to change... but it's still a change. The
webhosts who already have mysql databases will have to go thru yet
another hire-the-expert routine to enable mysql.

At least i think you should open a forum or something explaining the
reasons for the php-mysql divorce. Or am I really making too much fuzz
about this?


Previous Comments:


[2003-06-30 14:53:33] [EMAIL PROTECTED]

I will investigate this.



[2003-06-30 12:42:37] auroraeosrose at hotmail dot com

Description:

php_mysql.dll has an error when trying to load

I downloaded a snapshot from snaps.php.net to retrieve the php 5.0
mysql dll which wasn't included in the recently released 5.0.0b1 beta

Brief overview - 
Windows XP professional SP1 (Windows NT PC420 5.1 build 2600)
Apache 2.0.45(Apache 2.0 Handler)
PHP 5.0.0b2-dev(non-debug build, thread safety on)

It's a perfectly functioning installation, until I try to add in the
mysql module

Mssql, gd2, and mbstring extensions enabled and working great, mysql
error still occurs whether I disable them or not

When starting apache error comes up -

Unknown(): Invalid library (maybe not a PHP library)'php_mysql.dll'

the libMysql.dll included in the zip file is in c:\WINDOWS\system32
just where it should be, with the rest of the dlls, and the
php_mysql.dll is in the extensions folder, just like the mssql, gd2,
and mbstring extensions (I know they're loading properly)

Otherwise a perfectly functioning installation of php 5 on apache 2 as
a module with all else running properly - is mysql just broken
completely in php5?

And I don't have the resources (or really the knowledge) to compile php
for windows from cvs so I have to rely on snaps (p.s., the last one
didn't build...)






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



#24389 [Com]: PHP 5 : Windows build needs a MySQL DLL

2003-06-30 Thread ipa at assis dot lt
 ID:   24389
 Comment by:   ipa at assis dot lt
 Reported By:  philip at cornado dot com
 Status:   Closed
 Bug Type: Feature/Change Request
 Operating System: Windows
 PHP Version:  5CVS-2003-06-29 (dev)
 Assigned To:  edink
 New Comment:

php_mysql.dll from snap says
PHP Warning:  Unknown(): Invalid library (maybe not a PHP library)
'php_mysql.dll'  in Unknown on line 0


Previous Comments:


[2003-06-29 20:21:31] [EMAIL PROTECTED]

OK. PHP 5 snaps and distro's include php_mysql.dll (php extension) and
dlls\libmySQL.dll (remember to copy this to the system folder).



[2003-06-29 18:04:40] [EMAIL PROTECTED]

Hm, anyone know where to find non-GPLed libmysql 3.x for windows?



[2003-06-29 14:36:13] philip at cornado dot com

Description:

The Windows distribution of PHP 5 doesn't include a DLL for either
ext/mysql or ext/mysqli support.  Users must compile their own PHP on
Windows to gain this support.

This is a request to make these DLL's available.






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



#24424 [Opn->Fbk]: Complains about libxml even when not compiling with XML

2003-06-30 Thread dickmeiss
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Open
+Status:   Feedback
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Install Redhat package libxml2-devel .



Previous Comments:


[2003-06-30 15:58:23] liz at xcalibur dot demon dot co dot uk

No, it still doesnt work, however it gets further and then whines

configure: error: xml2-config not found. Use --with-libxml-dir=
make: *** No targets specified and no makefile found.  Stop.



[2003-06-30 15:44:11] [EMAIL PROTECTED]

I forgot to mention that that was cleaned up in the latest snapshot
from http://snaps.php.net/

./configure --help | egrep "(xml|dom)" | grep disable
  --disable-dom   Disable new DOM support.
  --disable-simplexml Disable simplexml support
  --disable-xml   Disable XML support.




[2003-06-30 15:43:09] [EMAIL PROTECTED]

Please try the latest snapshot, these configure things have just been
"cleaned" up.



[2003-06-30 15:41:40] liz at xcalibur dot demon dot co dot uk

So, sorry, I dont accept this as bogus as the fix you suggested
(despite 2 options not being listed in configure --help, didnt work.



[2003-06-30 15:41:24] [EMAIL PROTECTED]

You need to "make distclean" before you run configure again.



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/24424

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



#24424 [Csd->Opn]: Complains about libxml even when not compiling with XML

2003-06-30 Thread liz at xcalibur dot demon dot co dot uk
 ID:   24424
 User updated by:  liz at xcalibur dot demon dot co dot uk
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Closed
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

No, it still doesnt work, however it gets further and then whines

configure: error: xml2-config not found. Use --with-libxml-dir=
make: *** No targets specified and no makefile found.  Stop.


Previous Comments:


[2003-06-30 15:44:11] [EMAIL PROTECTED]

I forgot to mention that that was cleaned up in the latest snapshot
from http://snaps.php.net/

./configure --help | egrep "(xml|dom)" | grep disable
  --disable-dom   Disable new DOM support.
  --disable-simplexml Disable simplexml support
  --disable-xml   Disable XML support.




[2003-06-30 15:43:09] [EMAIL PROTECTED]

Please try the latest snapshot, these configure things have just been
"cleaned" up.



[2003-06-30 15:41:40] liz at xcalibur dot demon dot co dot uk

So, sorry, I dont accept this as bogus as the fix you suggested
(despite 2 options not being listed in configure --help, didnt work.



[2003-06-30 15:41:24] [EMAIL PROTECTED]

You need to "make distclean" before you run configure again.



[2003-06-30 15:37:18] liz at xcalibur dot demon dot co dot uk

Actually I added the --disable-simplexml --disable-dom and
--disable-xml and it still did exactly the same.



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/24424

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



#24424 [Fbk->Csd]: Complains about libxml even when not compiling with XML

2003-06-30 Thread edink
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Feedback
+Status:   Closed
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

I forgot to mention that that was cleaned up in the latest snapshot
from http://snaps.php.net/

./configure --help | egrep "(xml|dom)" | grep disable
  --disable-dom   Disable new DOM support.
  --disable-simplexml Disable simplexml support
  --disable-xml   Disable XML support.



Previous Comments:


[2003-06-30 15:43:09] [EMAIL PROTECTED]

Please try the latest snapshot, these configure things have just been
"cleaned" up.



[2003-06-30 15:41:40] liz at xcalibur dot demon dot co dot uk

So, sorry, I dont accept this as bogus as the fix you suggested
(despite 2 options not being listed in configure --help, didnt work.



[2003-06-30 15:41:24] [EMAIL PROTECTED]

You need to "make distclean" before you run configure again.



[2003-06-30 15:37:18] liz at xcalibur dot demon dot co dot uk

Actually I added the --disable-simplexml --disable-dom and
--disable-xml and it still did exactly the same.



[2003-06-30 15:35:55] liz at xcalibur dot demon dot co dot uk

PS this also happens if I add --disable-xml



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/24424

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



#24424 [Opn->Fbk]: Complains about libxml even when not compiling with XML

2003-06-30 Thread derick
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Open
+Status:   Feedback
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Please try the latest snapshot, these configure things have just been
"cleaned" up.


Previous Comments:


[2003-06-30 15:41:40] liz at xcalibur dot demon dot co dot uk

So, sorry, I dont accept this as bogus as the fix you suggested
(despite 2 options not being listed in configure --help, didnt work.



[2003-06-30 15:41:24] [EMAIL PROTECTED]

You need to "make distclean" before you run configure again.



[2003-06-30 15:37:18] liz at xcalibur dot demon dot co dot uk

Actually I added the --disable-simplexml --disable-dom and
--disable-xml and it still did exactly the same.



[2003-06-30 15:35:55] liz at xcalibur dot demon dot co dot uk

PS this also happens if I add --disable-xml



[2003-06-30 15:33:34] [EMAIL PROTECTED]

To disable xml support completely you need to add:

--disable-xml --disable-simplexml --disable-dom 



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/24424

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



#24423 [Opn->Csd]: imagecolortransparent is not working on png images

2003-06-30 Thread pajoye
 ID:   24423
 Updated by:   [EMAIL PROTECTED]
 Reported By:  mailing at auktionmaster dot de
-Status:   Open
+Status:   Closed
 Bug Type: GD related
 Operating System: RedHat 7.3
 PHP Version:  4.3.3RC1
-Assigned To:  
+Assigned To:  pajoye
 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Hello,

imagecolortransparent works perfectly with RC2 and the latest 4.3
branch using the bundled GD. Upgrade PHP and use the bundled GD in
preference to the external one, using '--with-gd'.

thank's for your report,

pierrre


Previous Comments:


[2003-06-30 15:12:56] mailing at auktionmaster dot de

Description:

Function "imagecolortransparent" is not working on png images in
Version 4.3.3 RC1. The posted code was working fine in PHP 4.2.3

Reproduce code:
---
...
   $pic = imagecreate( $this->width, $this->height );
   $trans = imagecolorallocate( $pic, 255, 255, 255 );
   $trans = imagecolortransparent( $pic, $trans );
...






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



#24424 [Bgs->Opn]: Complains about libxml even when not compiling with XML

2003-06-30 Thread liz at xcalibur dot demon dot co dot uk
 ID:   24424
 User updated by:  liz at xcalibur dot demon dot co dot uk
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Bogus
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

So, sorry, I dont accept this as bogus as the fix you suggested
(despite 2 options not being listed in configure --help, didnt work.


Previous Comments:


[2003-06-30 15:41:24] [EMAIL PROTECTED]

You need to "make distclean" before you run configure again.



[2003-06-30 15:37:18] liz at xcalibur dot demon dot co dot uk

Actually I added the --disable-simplexml --disable-dom and
--disable-xml and it still did exactly the same.



[2003-06-30 15:35:55] liz at xcalibur dot demon dot co dot uk

PS this also happens if I add --disable-xml



[2003-06-30 15:33:34] [EMAIL PROTECTED]

To disable xml support completely you need to add:

--disable-xml --disable-simplexml --disable-dom 



[2003-06-30 15:29:27] liz at xcalibur dot demon dot co dot uk

Description:

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin
--with-zlib-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp

This is a script Ive used to compile PHP for a while.  However, how, I
noticed as its doing its config it seems to get upset. It says.

checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/local/lib

### Please note, I asked for for ZLIB support, yet it decides NO and
then STILL goes on to find it.

checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking if we should use CURL for url streams... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... yes
checking whether to enable dbx support... no
checking whether to enable direct I/O support... yes
checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
make: *** No targets specified and no makefile found.  Stop.

At this point, it dies, I dont want XML support, I dont use, nor am I
likely to use XML..

Expected result:

I expected it to build, as the system has recent enoguh components that
Im trying to use and install.

Actual result:
--
PHP wont compile.

This is not acceptible to be forced to compile in or upgrade parts of
my system I dont want PHP to use.





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



#24424 [Bgs]: Complains about libxml even when not compiling with XML

2003-06-30 Thread edink
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
 Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

You need to "make distclean" before you run configure again.


Previous Comments:


[2003-06-30 15:37:18] liz at xcalibur dot demon dot co dot uk

Actually I added the --disable-simplexml --disable-dom and
--disable-xml and it still did exactly the same.



[2003-06-30 15:35:55] liz at xcalibur dot demon dot co dot uk

PS this also happens if I add --disable-xml



[2003-06-30 15:33:34] [EMAIL PROTECTED]

To disable xml support completely you need to add:

--disable-xml --disable-simplexml --disable-dom 



[2003-06-30 15:29:27] liz at xcalibur dot demon dot co dot uk

Description:

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin
--with-zlib-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp

This is a script Ive used to compile PHP for a while.  However, how, I
noticed as its doing its config it seems to get upset. It says.

checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/local/lib

### Please note, I asked for for ZLIB support, yet it decides NO and
then STILL goes on to find it.

checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking if we should use CURL for url streams... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... yes
checking whether to enable dbx support... no
checking whether to enable direct I/O support... yes
checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
make: *** No targets specified and no makefile found.  Stop.

At this point, it dies, I dont want XML support, I dont use, nor am I
likely to use XML..

Expected result:

I expected it to build, as the system has recent enoguh components that
Im trying to use and install.

Actual result:
--
PHP wont compile.

This is not acceptible to be forced to compile in or upgrade parts of
my system I dont want PHP to use.





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



#24410 [Opn->Bgs]: Session data not written/stored

2003-06-30 Thread derick
 ID:   24410
 Updated by:   [EMAIL PROTECTED]
 Reported By:  tommy_in_japan at nospam dot hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: IIS related
 Operating System: Win XP Professional
 PHP Version:  4.3.2
 New Comment:

user error -> bogus


Previous Comments:


[2003-06-30 15:37:58] tommy_in_japan at nospam dot hotmail dot com

I see the problem now...the save path was pointing to the wrong
directory (as you suggested).  Thanks again!



[2003-06-30 15:35:43] tommy_in_japan at nospam dot hotmail dot com

For some reason, it reported the session.save_path directory as "/tmp".
 I created a c:\tmp directory and now session variables seem to work
fine.  Any idea why the settings I have in php.ini aren't being
recognized?

Thanks for your help.



[2003-06-30 13:01:21] postings-php-bug at hans-spath dot de

When you execute a script containing "", does the line
"Configuration File (php.ini) Path" return the correct path?



[2003-06-30 10:30:56] tommy_in_japan at nospam dot hotmail dot com

Description:

I've tried everything (I think), and can't get PHP to store any session
data.  I specified a session data directory that the web server has
read/write permissions for, and the session arrays get modified on the
page where the variables are set, yet nothing gets written to disk (and
therefore not passed to any other pages, from which I can't reference
the variables).

PHP.ini settings:
session.save_handler = files
session.save_path = c:/temp
;note: "c:\temp" and "/temp" etc. also do not work
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.cache_expire = 180

Reproduce code:
---
[test.php]
session_start();
$_SESSION["test"] = "test";

echo $_SESSION["test"];
//works fine, but when referencing in any other file
//(via redirect or anything else)...

[test2.php]
session_start();
echo $_SESSION["test"];
//returns nothing






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



#24410 [Opn]: Session data not written/stored

2003-06-30 Thread tommy_in_japan at nospam dot hotmail dot com
 ID:   24410
 User updated by:  tommy_in_japan at nospam dot hotmail dot com
 Reported By:  tommy_in_japan at nospam dot hotmail dot com
 Status:   Open
 Bug Type: IIS related
 Operating System: Win XP Professional
 PHP Version:  4.3.2
 New Comment:

I see the problem now...the save path was pointing to the wrong
directory (as you suggested).  Thanks again!


Previous Comments:


[2003-06-30 15:35:43] tommy_in_japan at nospam dot hotmail dot com

For some reason, it reported the session.save_path directory as "/tmp".
 I created a c:\tmp directory and now session variables seem to work
fine.  Any idea why the settings I have in php.ini aren't being
recognized?

Thanks for your help.



[2003-06-30 13:01:21] postings-php-bug at hans-spath dot de

When you execute a script containing "", does the line
"Configuration File (php.ini) Path" return the correct path?



[2003-06-30 10:30:56] tommy_in_japan at nospam dot hotmail dot com

Description:

I've tried everything (I think), and can't get PHP to store any session
data.  I specified a session data directory that the web server has
read/write permissions for, and the session arrays get modified on the
page where the variables are set, yet nothing gets written to disk (and
therefore not passed to any other pages, from which I can't reference
the variables).

PHP.ini settings:
session.save_handler = files
session.save_path = c:/temp
;note: "c:\temp" and "/temp" etc. also do not work
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.cache_expire = 180

Reproduce code:
---
[test.php]
session_start();
$_SESSION["test"] = "test";

echo $_SESSION["test"];
//works fine, but when referencing in any other file
//(via redirect or anything else)...

[test2.php]
session_start();
echo $_SESSION["test"];
//returns nothing






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



#24424 [Bgs]: Complains about libxml even when not compiling with XML

2003-06-30 Thread liz at xcalibur dot demon dot co dot uk
 ID:   24424
 User updated by:  liz at xcalibur dot demon dot co dot uk
 Reported By:  liz at xcalibur dot demon dot co dot uk
 Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Actually I added the --disable-simplexml --disable-dom and
--disable-xml and it still did exactly the same.


Previous Comments:


[2003-06-30 15:35:55] liz at xcalibur dot demon dot co dot uk

PS this also happens if I add --disable-xml



[2003-06-30 15:33:34] [EMAIL PROTECTED]

To disable xml support completely you need to add:

--disable-xml --disable-simplexml --disable-dom 



[2003-06-30 15:29:27] liz at xcalibur dot demon dot co dot uk

Description:

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin
--with-zlib-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp

This is a script Ive used to compile PHP for a while.  However, how, I
noticed as its doing its config it seems to get upset. It says.

checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/local/lib

### Please note, I asked for for ZLIB support, yet it decides NO and
then STILL goes on to find it.

checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking if we should use CURL for url streams... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... yes
checking whether to enable dbx support... no
checking whether to enable direct I/O support... yes
checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
make: *** No targets specified and no makefile found.  Stop.

At this point, it dies, I dont want XML support, I dont use, nor am I
likely to use XML..

Expected result:

I expected it to build, as the system has recent enoguh components that
Im trying to use and install.

Actual result:
--
PHP wont compile.

This is not acceptible to be forced to compile in or upgrade parts of
my system I dont want PHP to use.





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



#24424 [Bgs]: Complains about libxml even when not compiling with XML

2003-06-30 Thread liz at xcalibur dot demon dot co dot uk
 ID:   24424
 User updated by:  liz at xcalibur dot demon dot co dot uk
 Reported By:  liz at xcalibur dot demon dot co dot uk
 Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

PS this also happens if I add --disable-xml


Previous Comments:


[2003-06-30 15:33:34] [EMAIL PROTECTED]

To disable xml support completely you need to add:

--disable-xml --disable-simplexml --disable-dom 



[2003-06-30 15:29:27] liz at xcalibur dot demon dot co dot uk

Description:

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin
--with-zlib-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp

This is a script Ive used to compile PHP for a while.  However, how, I
noticed as its doing its config it seems to get upset. It says.

checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/local/lib

### Please note, I asked for for ZLIB support, yet it decides NO and
then STILL goes on to find it.

checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking if we should use CURL for url streams... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... yes
checking whether to enable dbx support... no
checking whether to enable direct I/O support... yes
checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
make: *** No targets specified and no makefile found.  Stop.

At this point, it dies, I dont want XML support, I dont use, nor am I
likely to use XML..

Expected result:

I expected it to build, as the system has recent enoguh components that
Im trying to use and install.

Actual result:
--
PHP wont compile.

This is not acceptible to be forced to compile in or upgrade parts of
my system I dont want PHP to use.





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



#24410 [Opn]: Session data not written/stored

2003-06-30 Thread tommy_in_japan at nospam dot hotmail dot com
 ID:   24410
 User updated by:  tommy_in_japan at nospam dot hotmail dot com
 Reported By:  tommy_in_japan at nospam dot hotmail dot com
 Status:   Open
 Bug Type: IIS related
 Operating System: Win XP Professional
 PHP Version:  4.3.2
 New Comment:

For some reason, it reported the session.save_path directory as "/tmp".
 I created a c:\tmp directory and now session variables seem to work
fine.  Any idea why the settings I have in php.ini aren't being
recognized?

Thanks for your help.


Previous Comments:


[2003-06-30 13:01:21] postings-php-bug at hans-spath dot de

When you execute a script containing "", does the line
"Configuration File (php.ini) Path" return the correct path?



[2003-06-30 10:30:56] tommy_in_japan at nospam dot hotmail dot com

Description:

I've tried everything (I think), and can't get PHP to store any session
data.  I specified a session data directory that the web server has
read/write permissions for, and the session arrays get modified on the
page where the variables are set, yet nothing gets written to disk (and
therefore not passed to any other pages, from which I can't reference
the variables).

PHP.ini settings:
session.save_handler = files
session.save_path = c:/temp
;note: "c:\temp" and "/temp" etc. also do not work
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.cache_expire = 180

Reproduce code:
---
[test.php]
session_start();
$_SESSION["test"] = "test";

echo $_SESSION["test"];
//works fine, but when referencing in any other file
//(via redirect or anything else)...

[test2.php]
session_start();
echo $_SESSION["test"];
//returns nothing






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



#24424 [Opn->Bgs]: Complains about libxml even when not compiling with XML

2003-06-30 Thread edink
 ID:   24424
 Updated by:   [EMAIL PROTECTED]
 Reported By:  liz at xcalibur dot demon dot co dot uk
-Status:   Open
+Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: linux  2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

To disable xml support completely you need to add:

--disable-xml --disable-simplexml --disable-dom 


Previous Comments:


[2003-06-30 15:29:27] liz at xcalibur dot demon dot co dot uk

Description:

./configure --with-mysql=/usr/bin
--with-apache=/usr/src/web/apache_1.3.27 --enable-discard-path
--enable-track-vars --disable-debug --enable-dbase --enable-trans-sid
--enable-inline-optimization --enable-ftp --enable-sockets --with-imap
--with-imap-ssl=/usr/include/openssl --enable-libgcc --disable-ipv6
--enable-exif --with-gd --with-jpeg-dir=/usr/local/bin
--with-zlib-dir=/usr/local/lib --enable-dio --enable-gd-native-ttf
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
--enable-yp

This is a script Ive used to compile PHP for a while.  However, how, I
noticed as its doing its config it seems to get upset. It says.

checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/local/lib

### Please note, I asked for for ZLIB support, yet it decides NO and
then STILL goes on to find it.

checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking if we should use CURL for url streams... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... yes
checking whether to enable dbx support... no
checking whether to enable direct I/O support... yes
checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
make: *** No targets specified and no makefile found.  Stop.

At this point, it dies, I dont want XML support, I dont use, nor am I
likely to use XML..

Expected result:

I expected it to build, as the system has recent enoguh components that
Im trying to use and install.

Actual result:
--
PHP wont compile.

This is not acceptible to be forced to compile in or upgrade parts of
my system I dont want PHP to use.





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



#24424 [NEW]: Complains about libxml even when not compiling with XML

2003-06-30 Thread liz at xcalibur dot demon dot co dot uk
From: liz at xcalibur dot demon dot co dot uk
Operating system: linux  2.4.20
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: PHP options/info functions
Bug description:  Complains about libxml even when not compiling with XML

Description:

./configure --with-mysql=/usr/bin --with-apache=/usr/src/web/apache_1.3.27
--enable-discard-path --enable-track-vars --disable-debug --enable-dbase
--enable-trans-sid --enable-inline-optimization --enable-ftp
--enable-sockets --with-imap --with-imap-ssl=/usr/include/openssl
--enable-libgcc --disable-ipv6 --enable-exif --with-gd
--with-jpeg-dir=/usr/local/bin --with-zlib-dir=/usr/local/lib --enable-dio
--enable-gd-native-ttf --enable-sysvmsg --enable-sysvsem --enable-sysvshm
--enable-wddx --enable-yp

This is a script Ive used to compile PHP for a while.  However, how, I
noticed as its doing its config it seems to get upset. It says.

checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined...
/usr/local/lib

### Please note, I asked for for ZLIB support, yet it decides NO and then
STILL goes on to find it.

checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... no
checking if we should use CURL for url streams... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... yes
checking whether to enable dbx support... no
checking whether to enable direct I/O support... yes
checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution
make: *** No targets specified and no makefile found.  Stop.

At this point, it dies, I dont want XML support, I dont use, nor am I
likely to use XML..

Expected result:

I expected it to build, as the system has recent enoguh components that Im
trying to use and install.

Actual result:
--
PHP wont compile.

This is not acceptible to be forced to compile in or upgrade parts of my
system I dont want PHP to use.

-- 
Edit bug report at http://bugs.php.net/?id=24424&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24424&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24424&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24424&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24424&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24424&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24424&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24424&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24424&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24424&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24424&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24424&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24424&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24424&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24424&r=gnused



#24422 [Opn->Csd]: classname main reserved?

2003-06-30 Thread edink
 ID:   24422
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bart_de_boer at msn dot com
-Status:   Open
+Status:   Closed
 Bug Type: Class/Object related
 Operating System: IIS 5
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

'main' is no longer reserved class name.


Previous Comments:


[2003-06-30 15:02:58] bart_de_boer at msn dot com

Description:

I use a class called "main" in my script. When testing with PHP5 I
got:

Fatal error: Cannot use 'main' as class name as it is reserved in
D:\Inetpub\wwwroot\test.php on line n

I'm assuming that this means PHP5 will provide some standard way for
defining a main class. I couldn't find anything about it anywhere.
Instead of renaming all my "main" classes I would much rather like to
start using this new main feature right away. 

Reproduce code:
---
class main {


}


Expected result:

Standard class definition or main class definition.

Actual result:
--
Fatal error: Cannot use 'main' as class name as it is reserved in
D:\Inetpub\wwwroot\test.php on line n





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



#24423 [NEW]: imagecolortransparent is not working on png images

2003-06-30 Thread mailing at auktionmaster dot de
From: mailing at auktionmaster dot de
Operating system: RedHat 7.3
PHP version:  4.3.3RC1
PHP Bug Type: GD related
Bug description:  imagecolortransparent is not working on png images

Description:

Function "imagecolortransparent" is not working on png images in Version
4.3.3 RC1. The posted code was working fine in PHP 4.2.3

Reproduce code:
---
...
   $pic = imagecreate( $this->width, $this->height );
   $trans = imagecolorallocate( $pic, 255, 255, 255 );
   $trans = imagecolortransparent( $pic, $trans );
...


-- 
Edit bug report at http://bugs.php.net/?id=24423&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24423&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24423&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24423&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24423&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24423&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24423&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24423&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24423&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24423&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24423&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24423&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24423&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24423&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24423&r=gnused



#24422 [NEW]: classname main reserved?

2003-06-30 Thread bart_de_boer at msn dot com
From: bart_de_boer at msn dot com
Operating system: IIS 5
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: Class/Object related
Bug description:  classname main reserved?

Description:

I use a class called "main" in my script. When testing with PHP5 I got:

Fatal error: Cannot use 'main' as class name as it is reserved in
D:\Inetpub\wwwroot\test.php on line n

I'm assuming that this means PHP5 will provide some standard way for
defining a main class. I couldn't find anything about it anywhere. Instead
of renaming all my "main" classes I would much rather like to start using
this new main feature right away. 

Reproduce code:
---
class main {


}


Expected result:

Standard class definition or main class definition.

Actual result:
--
Fatal error: Cannot use 'main' as class name as it is reserved in
D:\Inetpub\wwwroot\test.php on line n

-- 
Edit bug report at http://bugs.php.net/?id=24422&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24422&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24422&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24422&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24422&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24422&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24422&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24422&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24422&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24422&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24422&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24422&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24422&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24422&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24422&r=gnused



#24418 [Opn->Asn]: Problem loading mysql.dll

2003-06-30 Thread edink
 ID:   24418
 Updated by:   [EMAIL PROTECTED]
 Reported By:  auroraeosrose at hotmail dot com
-Status:   Open
+Status:   Assigned
 Bug Type: MySQL related
 Operating System: Windows XP SP1
 PHP Version:  5CVS-2003-06-30 (dev)
-Assigned To:  
+Assigned To:  edink
 New Comment:

I will investigate this.


Previous Comments:


[2003-06-30 12:42:37] auroraeosrose at hotmail dot com

Description:

php_mysql.dll has an error when trying to load

I downloaded a snapshot from snaps.php.net to retrieve the php 5.0
mysql dll which wasn't included in the recently released 5.0.0b1 beta

Brief overview - 
Windows XP professional SP1 (Windows NT PC420 5.1 build 2600)
Apache 2.0.45(Apache 2.0 Handler)
PHP 5.0.0b2-dev(non-debug build, thread safety on)

It's a perfectly functioning installation, until I try to add in the
mysql module

Mssql, gd2, and mbstring extensions enabled and working great, mysql
error still occurs whether I disable them or not

When starting apache error comes up -

Unknown(): Invalid library (maybe not a PHP library)'php_mysql.dll'

the libMysql.dll included in the zip file is in c:\WINDOWS\system32
just where it should be, with the rest of the dlls, and the
php_mysql.dll is in the extensions folder, just like the mssql, gd2,
and mbstring extensions (I know they're loading properly)

Otherwise a perfectly functioning installation of php 5 on apache 2 as
a module with all else running properly - is mysql just broken
completely in php5?

And I don't have the resources (or really the knowledge) to compile php
for windows from cvs so I have to rely on snaps (p.s., the last one
didn't build...)






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



#24421 [Opn->Csd]: global $$var doesnt work as expected

2003-06-30 Thread derick
 ID:   24421
 Updated by:   [EMAIL PROTECTED]
 Reported By:  humillo at hotmail dot com
-Status:   Open
+Status:   Closed
 Bug Type: Variables related
 Operating System: linux 2.4.20
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


Previous Comments:


[2003-06-30 14:32:10] humillo at hotmail dot com

Description:

The global variable isnt being assigned the mysql connection resource
id. This worked fine with PHP3 and 4.

Notes:
* Ive noticed that using anything like:
$$varname = "GOODBYE";
... assigns correctly, only with mysql_connect() the assignment is
ignored.

* If you remove the global declaration and use:
$GLOBALS[$varname] = mysql_connect();
.. it works.


Reproduce code:
---



Expected result:

Resource Id #


Actual result:
--
HELLO





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



#24421 [NEW]: global $$var doesnt work as expected

2003-06-30 Thread humillo at hotmail dot com
From: humillo at hotmail dot com
Operating system: linux 2.4.20
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: Variables related
Bug description:  global $$var doesnt work as expected

Description:

The global variable isnt being assigned the mysql connection resource id.
This worked fine with PHP3 and 4.

Notes:
* Ive noticed that using anything like:
$$varname = "GOODBYE";
... assigns correctly, only with mysql_connect() the assignment is
ignored.

* If you remove the global declaration and use:
$GLOBALS[$varname] = mysql_connect();
.. it works.


Reproduce code:
---



Expected result:

Resource Id #


Actual result:
--
HELLO

-- 
Edit bug report at http://bugs.php.net/?id=24421&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24421&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24421&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24421&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24421&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24421&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24421&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24421&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24421&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24421&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24421&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24421&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24421&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24421&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24421&r=gnused



#24415 [Bgs->Csd]: pi() and M_PI return float(3)

2003-06-30 Thread postings-php-bug at hans-spath dot de
 ID:   24415
 User updated by:  postings-php-bug at hans-spath dot de
 Reported By:  postings-php-bug at hans-spath dot de
-Status:   Bogus
+Status:   Closed
 Bug Type: Math related
 Operating System: Windows XP
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Ok, I've tested one of the CVS-snaps, and it worked. So I think it's
"closed" now and not "bogus".

M:\php\php5-win32-200306301130>echo ""
| php -q
"array(2) {
  [0]=>
  float(3.1415926535898)
  [1]=>
  float(3.1415926535898)
}


Previous Comments:


[2003-06-30 14:22:36] php dot net at siniath dot net

Tested on Win2k SP3, fails exactly as described by reporter:

C:\PHP\5.0.0b1>echo "" | php -q
"array(2) {
  [0]=>
  float(3)
  [1]=>
  float(3)
}
"

Definitely not bogus.



[2003-06-30 13:38:20] [EMAIL PROTECTED]

Tested on Windows and Linux, works on both.



[2003-06-30 11:54:44] postings-php-bug at hans-spath dot de

Description:

Yeah right. PI = 3 ... given a big enough 3 and a small enough pi ...

Reproduce code:
---


Expected result:

M:\php>echo "" | 431\php -q
"array(2) {
  [0]=>
  float(3.1415926535898)
  [1]=>
  float(3.1415926535898)
}
"

Actual result:
--
M:\php>echo "" | 500b1\php -q
"array(2) {
  [0]=>
  float(3)
  [1]=>
  float(3)
}
"





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



#24415 [Com]: pi() and M_PI return float(3)

2003-06-30 Thread php dot net at siniath dot net
 ID:   24415
 Comment by:   php dot net at siniath dot net
 Reported By:  postings-php-bug at hans-spath dot de
 Status:   Bogus
 Bug Type: Math related
 Operating System: Windows XP
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Tested on Win2k SP3, fails exactly as described by reporter:

C:\PHP\5.0.0b1>echo "" | php -q
"array(2) {
  [0]=>
  float(3)
  [1]=>
  float(3)
}
"

Definitely not bogus.


Previous Comments:


[2003-06-30 13:38:20] [EMAIL PROTECTED]

Tested on Windows and Linux, works on both.



[2003-06-30 11:54:44] postings-php-bug at hans-spath dot de

Description:

Yeah right. PI = 3 ... given a big enough 3 and a small enough pi ...

Reproduce code:
---


Expected result:

M:\php>echo "" | 431\php -q
"array(2) {
  [0]=>
  float(3.1415926535898)
  [1]=>
  float(3.1415926535898)
}
"

Actual result:
--
M:\php>echo "" | 500b1\php -q
"array(2) {
  [0]=>
  float(3)
  [1]=>
  float(3)
}
"





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



#24411 [Fbk->Opn]: 2 Gb filesize limit

2003-06-30 Thread domisse at iap dot fr
 ID:   24411
 User updated by:  domisse at iap dot fr
 Reported By:  domisse at iap dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: Feature/Change Request
 Operating System: Linux
 PHP Version:  4.3.2
 New Comment:

thanks :)
But most of my files are biggerwill wait for
the next release ;) Thanks


Previous Comments:


[2003-06-30 12:06:15] [EMAIL PROTECTED]

If they are smaller than 4GB you can do this:

printf("%u", filesize("filename")); Everything larger would be a
problem, as the return value from filesize is an integer.



[2003-06-30 12:04:55] domisse at iap dot fr

I have to manage astronomical images which are rather big !
I would like to get filesize to display basic data on them via
a browser.



[2003-06-30 11:59:40] [EMAIL PROTECTED]

Most likely not soon... internally PHP uses a signed integer for string
lengths and other things. What exactly do you want to do with this?



[2003-06-30 11:12:52] domisse at iap dot fr

Description:

Is there any hope to see a large file support in php ?







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



#23275 [Fbk->Opn]: serialize(), $_SESSION, seg fault

2003-06-30 Thread moxley at moxleydata dot com
 ID:   23275
 User updated by:  moxley at moxleydata dot com
 Reported By:  moxley at moxleydata dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Session related
 Operating System: Linux 4.2
 PHP Version:  4.3.2-RC
 New Comment:

Sorry, I'm not going to have the time and the available server to test
this. I have a work-around, which I will be using. Thanks.


Previous Comments:


[2003-06-26 12:35:09] [EMAIL PROTECTED]

What's the status?




[2003-05-20 19:50:07] moxley at moxleydata dot com

I've installed the release and the problem still exists. Addtionally,
there is another problem with the new release, related to sessions,
which I haven't had the time to investigate. Please give me more time
to check out the new problem. Thanks



[2003-05-15 13:27:07] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And if it still crashes, add the backtrace here.




[2003-04-21 10:03:40] [EMAIL PROTECTED]

I get this with latest STABLE CVS:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 136337046 bytes) in Unknown on line 0



[2003-04-18 16:18:46] moxley at moxleydata dot com

PHP apparently crashes under these contidions:
1. Use of serialize() on the $_SESSION variable
-AND-
2. $_SESSION contains an object
-AND-
3. object's class is not defined within the context of the serialize()
call

Please contact me for gdb backtrace, php.ini, or other information if
you cannot reproduce the problem with the script below.

Code that breaks:
serialize';
}

?>

Apache 1.3.27 error log:
[Fri Apr 18 14:04:05 2003] [notice] child pid 15705 exit signal
Segmentation fault (11)
[Fri Apr 18 14:04:05 2003] [notice] child pid 15697 exit signal
Segmentation fault (11)
[Fri Apr 18 14:04:05 2003] [notice] child pid 15693 exit signal
Segmentation fault (11)






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



#23935 [Opn->Csd]: array_key_exists no longer juggles types correctly

2003-06-30 Thread sterling
 ID:   23935
 Updated by:   [EMAIL PROTECTED]
 Reported By:  dave at codewhore dot org
-Status:   Open
+Status:   Closed
 Bug Type: Arrays related
 Operating System: Linux 2.4
 PHP Version:  5CVS-2003-05-31 (dev)
 Assigned To:  sterling
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-06-06 16:08:35] dave at codewhore dot org

I should clarify that it looks like the problem is in array_flip, not
array_key_exists. Is it okay to keep this here?



[2003-06-06 16:07:23] dave at codewhore dot org

Hi Sterling:

I think there's a remaining (related) problem, this time with array
keys that are strings. I've enclosed a test case.

 0);
  var_dump($f);
  var_dump(array_key_exists(7, $f));

  /* This doesn't */
  $f = array_flip(array('7'));
  var_dump($f);
  var_dump(array_key_exists(7, $f));
?>

On PHP 5, I get:

array(1) {
  [7]=>
  int(0)
}
bool(true)
array(1) {
  ["7"]=>
  int(0)
}
bool(false)

On PHP 4 I get:
array(1) {
  [7]=>
  int(0)
}
bool(true)
array(1) {
  [7]=>
  int(0)
}
bool(true)


Thanks in advance,
- Dave



[2003-06-05 11:16:09] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

fixed in cvs, thanks.



[2003-05-31 23:12:32] dave at codewhore dot org

Hi:

The following script produces different output with PHP 5 HEAD than it
does with the PHP 4.3 stable branch:



With PHP 4.3 stable, I get:
  bool(true)

With PHP 5 HEAD, I get:
  bool(false)

It appears that PHP 5 HEAD is missing the call to HANDLE_NUMERIC() in
zend_hash_exists (Zend/zend_hash.c). The ZE2 changelog shows that it
was moved:

  move HANDLE_NUMERIC() from the hash table
  implementation upstream to the places that
  actually need to use it.

But I'm unable to figure out where the equivalent functionality was
added back. Am I missing something?

Thanks in advance,

- Dave





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



#24420 [NEW]: getcwd() returns random results in a callback

2003-06-30 Thread S dot Bennett at lancaster dot ac dot uk
From: S dot Bennett at lancaster dot ac dot uk
Operating system: Linux
PHP version:  4.3.2
PHP Bug Type: Directory function related
Bug description:  getcwd() returns random results in a callback

Description:

The current working directory seems to set to random values  under certain
circumstances. e.g. getcwd() returns inconsistent values (as shown in the
sample code) and attempts to reference files by relative paths work
intermittently or not at all (which is how I discovered this bug..). 

Other variations on this code (eg calling getcwd() from an ob_start()
callback) appear to give similar results.

The code works fine from the command line (ie produces the expected
result).

I've configured PHP with the following, and still been able to reproduce
the result:
./configure --prefix=/usr/local/packages/php-4.3.2
--with-apxs=/usr/local/packages/apache-1.3.27/bin/apxs

I've also reproduced this problem on a Solaris box, also running Apache
1.3.27.



Reproduce code:
---
\n";
print "(in main) cwd is '".getcwd()."'\n";
register_shutdown_function("atexit");

function atexit()
{
print "(in callback) cwd is '".getcwd()."'\n";
}
?>


Expected result:

Something like:
current time is '06/30/03 18:39:24'
(in main) cwd is '/home/steveb/public_html/callbacktest'
(in callback) cwd is '/home/steveb/public_html/callbacktest'

Actual result:
--
actual results vary, here's two. All I did in between them was press
'reload'...

output 1:
-
current time is '06/30/03 18:59:24'
(in main) cwd is '/home/steveb/public_html/callbacktest'
(in callback) cwd is '/home/www/vhosts/nutter.spoo.org/htdocs'

output 2:
-
current time is '06/30/03 18:59:34'
(in main) cwd is '/home/steveb/public_html/callbacktest'
(in callback) cwd is '/home/steveb/public_html'

The values returned by getcwd() appear to be related to previous pages
that have been served by apache (not necessarily ones that have been
processed by PHP).


-- 
Edit bug report at http://bugs.php.net/?id=24420&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24420&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24420&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24420&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24420&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24420&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24420&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24420&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24420&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24420&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24420&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24420&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24420&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24420&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24420&r=gnused



#24415 [Opn->Bgs]: pi() and M_PI return float(3)

2003-06-30 Thread sterling
 ID:   24415
 Updated by:   [EMAIL PROTECTED]
 Reported By:  postings-php-bug at hans-spath dot de
-Status:   Open
+Status:   Bogus
 Bug Type: Math related
 Operating System: Windows XP
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Tested on Windows and Linux, works on both.


Previous Comments:


[2003-06-30 11:54:44] postings-php-bug at hans-spath dot de

Description:

Yeah right. PI = 3 ... given a big enough 3 and a small enough pi ...

Reproduce code:
---


Expected result:

M:\php>echo "" | 431\php -q
"array(2) {
  [0]=>
  float(3.1415926535898)
  [1]=>
  float(3.1415926535898)
}
"

Actual result:
--
M:\php>echo "" | 500b1\php -q
"array(2) {
  [0]=>
  float(3)
  [1]=>
  float(3)
}
"





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



#24408 [Com]: misinterpretation (file as a folder/directory - without an error)

2003-06-30 Thread postings-php-bug at hans-spath dot de
 ID:   24408
 Comment by:   postings-php-bug at hans-spath dot de
 Reported By:  theo at sponholz dot de
 Status:   Bogus
 Bug Type: *Directory/Filesystem functions
 Operating System: Linux 2.2.24-6.2.3
 PHP Version:  4.3.1
 New Comment:

I think the "problem" is like this:

If the stylesheet is located at
"http://www.sponholz.de/style.css";
and is refered like

from theo.php, the browser will search for
"http://www.sponholz.de/style.css";
if the request was 
"http://www.sponholz.de/theo.php";
but the browser will search for
"http://www.sponholz.de/theo.php/style.css";
if the request was 
"http://www.sponholz.de/theo.php/";

So this is indeed no PHP bug, but an Apache feature.

To "fix" this behavior, theo.php should refer to style.css by using

or
http://www.sponholz.de/style.css";>


Previous Comments:


[2003-06-30 13:00:19] [EMAIL PROTECTED]

Without knowing what you're actually doing there, I've no idea how you
could 'disable' it..

Using 4.3.2 I can't reproduce anything like your site has.




[2003-06-30 12:26:36] theo at sponholz dot de

is it possible to disable this feature?
THEO



[2003-06-30 12:10:54] [EMAIL PROTECTED]

Too old PHP version, plus it's not a bug but feature.. :)




[2003-06-30 09:40:18] theo at sponholz dot de

Description:

the Apache/1.3.26 with php-mod misinterprets a file as a directory
for example:
http://www.sponholz.de/theo.php/
(there is no dir. "/theo.php/" under "http://www.sponholz.de/";, just a
file "theo.php")

if you type "http://www.sponholz.de/theo.php"; the site will be shown
correctly. 

if you type "http://www.sponholz.de/theo.php/"; (with an ending
[SLASH]), then the server shows a site without CCS and pictures. Boths
are included relativ. 

further: 
you can add strings like:
"http://www.sponholz.de/theo.php/type.PHP.what.PHP.you/.want";
instead of returning an error
"http://www.sponholz.de/theo.php/";
will be shown.

my problem / wish:

i wanna get an error, when a file or a dir./folder does not exist. 

by the way (i tried this @ php.net, but the php.net-server refers to
google ...)
thx 4 help,
theo






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



#24391 [Opn->Csd]: output of private class variable doesn't show an error

2003-06-30 Thread sterling
 ID:   24391
 Updated by:   [EMAIL PROTECTED]
 Reported By:  flaimo at gmx dot net
-Status:   Open
+Status:   Closed
 Bug Type: Class/Object related
 Operating System: win xp
 PHP Version:  5CVS-2003-06-29 (dev)
 New Comment:

This is the expected behaviour when you access a private member on a
class that cannot be logically determined.


Previous Comments:


[2003-06-29 17:01:21] flaimo at gmx dot net

hm, seems like they delete old post after a day or so...
i'll post it here:

-

id = $id;
$this->name = $name;
$this->message = $message;
}

function getID() {
return $this->id;
}

function getName() {
return $this->name;
}

function getMessage() {
return $this->message;
}
} // end Comment

class CommentList {

private $list;

function __construct() {
}

function addComment(Comment $comment) {
$this->list[] = $comment;
}

function getComment($id) {
return  $this->list[$id];
}

} // end CommentList


$mycomment = new Comment(1, 'Michael', 'Here is my message');
$cl = new CommentList();
$cl->addComment($mycomment);
echo $cl->getComment(0)->message; // why doesn't this line show an
errormessage?
echo $cl->getComment(0)->getMessage();
?>



[2003-06-29 16:43:08] [EMAIL PROTECTED]

status.. 



[2003-06-29 16:42:46] [EMAIL PROTECTED]

There is no code there.. Please provide a script to 
reproduce the problem. 



[2003-06-29 15:35:42] flaimo at gmx dot net

Description:

the line "echo $cl->getComment(0)->message;" (see sourcecode) should
show an error that i tried to access a private variable, but instead
the script just stops working. without this line the script works fine.

Reproduce code:
---
http://pastebin.com/13998. (the linebreak in the comment is not in the
original script!)

Expected result:

an error message

Actual result:
--
nothing





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



#24419 [NEW]: ifx_connect broken when connecting to remote informix server

2003-06-30 Thread leightonbrown at excite dot com
From: leightonbrown at excite dot com
Operating system: Windows 2000
PHP version:  4.3.2
PHP Bug Type: Informix related
Bug description:  ifx_connect broken when connecting to remote informix server

Description:

On a remote host running several informix server instances, ifx_connect
will only connect to the INFORMIXSERVER that is the default for the user
and password supplied. Even when sqlhosts and etc/services are setup
correctly on the local host. 

Environment
PHP 4.3.2
Web server: Apache 2.0.46
Web server host: Windows 2000 SP 3
OS: Windows 2000 SP 3
Database: Informix OnLine Dynamic 7.3UD2R1
Database host OS: Solaris 5.8

local sqlhosts entry:
mars_tcp onsoctcp remote_1 mars_tcp
birch_tcp onsoctcp remote_1 birch_tcp

c:\winnt\system32\drivers\etc\services entry:
mars_tcp 1529/tcp
birch_tcp1527/tcp


Reproduce code:
---
// program code [line 62 in index.php] fails :
$ifx_handle = ifx_connect("[EMAIL PROTECTED]", "userid", "passwd");

//program code [line 62 in index.php] succeeds :
$ifx_handle = ifx_connect("[EMAIL PROTECTED]", "userid", "passwd");

//birch_tcp is the default INFORMIXSERVER for userid/password or remote_1,
mars_tcp is not.

Expected result:

$ifx_handle <> 0

Actual result:
--
$ifx_handle = 0 
with a logged error :
PHP Warning:  ifx_connect(): E [SQLSTATE=IX 000  SQLCODE=-761] in
C:\Program Files\Apache Group\Apache2\htdocs\php\index.php on line 62

-- 
Edit bug report at http://bugs.php.net/?id=24419&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24419&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24419&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24419&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24419&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24419&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24419&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24419&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24419&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24419&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24419&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24419&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24419&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24419&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24419&r=gnused



#23745 [Asn->Csd]: bz2 support not in PHP5?

2003-06-30 Thread sterling
 ID:   23745
 Updated by:   [EMAIL PROTECTED]
 Reported By:  allowee at simgames dot net
-Status:   Assigned
+Status:   Closed
 Bug Type: Bzip2 Related
 Operating System: Linux
 PHP Version:  5CVS-2003-05-21 (dev)
 Assigned To:  sterling
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-05-21 17:02:07] [EMAIL PROTECTED]

That's what you get for not following the mailing lists
and still using a version under heavy development..

ext/bz2 was moved to PECL and we don't have figured
out yet how to include certain PECL extensions with releases and php5
checkouts.

Assigned to responsible party.





[2003-05-21 17:02:04] allowee at simgames dot net

sorry, wrong email



[2003-05-21 16:59:38] allowee at simgames dot net

When I tried to compile PHP5 today everything ended up 
working. 
 
but when I visited the phpinfo page I saw that my request for 
bz2 was ignored. 
the configure command says '--with-bz2'  
but I can't find it on the phpinfo page. 
 
I'm sure that I got bz2 compiled in PHP4.3 and PHP4.5 
 
is bzip support not yet added to PHP5? 
 
Thanks, 
Allowee 




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



#24410 [Com]: Session data not written/stored

2003-06-30 Thread postings-php-bug at hans-spath dot de
 ID:   24410
 Comment by:   postings-php-bug at hans-spath dot de
 Reported By:  tommy_in_japan at nospam dot hotmail dot com
 Status:   Open
 Bug Type: IIS related
 Operating System: Win XP Professional
 PHP Version:  4.3.2
 New Comment:

When you execute a script containing "", does the line
"Configuration File (php.ini) Path" return the correct path?


Previous Comments:


[2003-06-30 10:30:56] tommy_in_japan at nospam dot hotmail dot com

Description:

I've tried everything (I think), and can't get PHP to store any session
data.  I specified a session data directory that the web server has
read/write permissions for, and the session arrays get modified on the
page where the variables are set, yet nothing gets written to disk (and
therefore not passed to any other pages, from which I can't reference
the variables).

PHP.ini settings:
session.save_handler = files
session.save_path = c:/temp
;note: "c:\temp" and "/temp" etc. also do not work
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.cache_expire = 180

Reproduce code:
---
[test.php]
session_start();
$_SESSION["test"] = "test";

echo $_SESSION["test"];
//works fine, but when referencing in any other file
//(via redirect or anything else)...

[test2.php]
session_start();
echo $_SESSION["test"];
//returns nothing






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



#24408 [Bgs]: misinterpretation (file as a folder/directory - without an error)

2003-06-30 Thread sniper
 ID:   24408
 Updated by:   [EMAIL PROTECTED]
 Reported By:  theo at sponholz dot de
 Status:   Bogus
 Bug Type: *Directory/Filesystem functions
 Operating System: Linux 2.2.24-6.2.3
 PHP Version:  4.3.1
 New Comment:

Without knowing what you're actually doing there, I've no idea how you
could 'disable' it..

Using 4.3.2 I can't reproduce anything like your site has.



Previous Comments:


[2003-06-30 12:26:36] theo at sponholz dot de

is it possible to disable this feature?
THEO



[2003-06-30 12:10:54] [EMAIL PROTECTED]

Too old PHP version, plus it's not a bug but feature.. :)




[2003-06-30 09:40:18] theo at sponholz dot de

Description:

the Apache/1.3.26 with php-mod misinterprets a file as a directory
for example:
http://www.sponholz.de/theo.php/
(there is no dir. "/theo.php/" under "http://www.sponholz.de/";, just a
file "theo.php")

if you type "http://www.sponholz.de/theo.php"; the site will be shown
correctly. 

if you type "http://www.sponholz.de/theo.php/"; (with an ending
[SLASH]), then the server shows a site without CCS and pictures. Boths
are included relativ. 

further: 
you can add strings like:
"http://www.sponholz.de/theo.php/type.PHP.what.PHP.you/.want";
instead of returning an error
"http://www.sponholz.de/theo.php/";
will be shown.

my problem / wish:

i wanna get an error, when a file or a dir./folder does not exist. 

by the way (i tried this @ php.net, but the php.net-server refers to
google ...)
thx 4 help,
theo






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



#24392 [Opn->Csd]: simplexml failure on slashdot.rdf

2003-06-30 Thread sterling
 ID:   24392
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: XML related
 Operating System: win32
 PHP Version:  5CVS-2003-06-29 (dev)
 Assigned To:  [EMAIL PROTECTED]
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-06-29 19:22:55] [EMAIL PROTECTED]

Description:

Sometimes simplexml objects return empty strings, even though var_dump
shows the strings.  A simple example is using simplexml to parse rdf. 
I grabbed an rdf from phpbuilder.com, and it worked wonderfully. 
Grabbed one from slashdot, and failure.



Reproduce code:
---
grab slashdot rdf

http://slashdot.org/slashdot.rdf

parse with:







channel->title; ?>

item as $item) {
// this dump shows the correct data, but emptiness below
// var_dump($item);  
?>


title;
?>














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



#24418 [NEW]: Problem loading mysql.dll

2003-06-30 Thread auroraeosrose at hotmail dot com
From: auroraeosrose at hotmail dot com
Operating system: Windows XP SP1
PHP version:  5CVS-2003-06-30 (dev)
PHP Bug Type: MySQL related
Bug description:  Problem loading mysql.dll

Description:

php_mysql.dll has an error when trying to load

I downloaded a snapshot from snaps.php.net to retrieve the php 5.0 mysql
dll which wasn't included in the recently released 5.0.0b1 beta

Brief overview - 
Windows XP professional SP1 (Windows NT PC420 5.1 build 2600)
Apache 2.0.45(Apache 2.0 Handler)
PHP 5.0.0b2-dev(non-debug build, thread safety on)

It's a perfectly functioning installation, until I try to add in the mysql
module

Mssql, gd2, and mbstring extensions enabled and working great, mysql error
still occurs whether I disable them or not

When starting apache error comes up -

Unknown(): Invalid library (maybe not a PHP library)'php_mysql.dll'

the libMysql.dll included in the zip file is in c:\WINDOWS\system32 just
where it should be, with the rest of the dlls, and the php_mysql.dll is in
the extensions folder, just like the mssql, gd2, and mbstring extensions
(I know they're loading properly)

Otherwise a perfectly functioning installation of php 5 on apache 2 as a
module with all else running properly - is mysql just broken completely in
php5?

And I don't have the resources (or really the knowledge) to compile php
for windows from cvs so I have to rely on snaps (p.s., the last one didn't
build...)


-- 
Edit bug report at http://bugs.php.net/?id=24418&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24418&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24418&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24418&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24418&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24418&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24418&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24418&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24418&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24418&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24418&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24418&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24418&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24418&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24418&r=gnused



#24063 [Opn->Csd]: Notice: unserialize(): Error at offset ... again

2003-06-30 Thread iliaa
 ID:   24063
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jparneodo at yahoo dot fr
-Status:   Open
+Status:   Closed
 Bug Type: Scripting Engine problem
 Operating System: RH7.2
 PHP Version:  4.3.3RC2-dev
 Assigned To:  helly
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

The output of unserialize($s); with latest CVS is
float(1.0E-6), which is the correct output.


Previous Comments:


[2003-06-30 12:33:00] jparneodo at yahoo dot fr

$f=1.0e-6;
$s=serialize($f);
$ff=unserialize($s);

// Output with php4-STABLE-200306301530/sapi/cli/php
4.3.3RC2-dev
Notice: unserialize(): Error at offset 0 of 9 bytes in - on line 5

d::.0E-7;
// Please compare output with 4.3.3RC1



[2003-06-29 20:05:27] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.





[2003-06-26 12:56:27] [EMAIL PROTECTED]

(that was for Marcus :)




[2003-06-26 12:56:14] [EMAIL PROTECTED]

You broke this, iirc.




[2003-06-20 09:28:26] jparneodo at yahoo dot fr



4.3.3RC1
d::.E-7;

phpinfo()
PHP Version => 4.3.3RC1

System => Linux paris.[skipped].com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT
2001 i686
Build Date => Jun 20 2003 10:21:42
Configure Command =>  './configure' '--with-apxs=/home/apache/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-system-regex'
'--enable-track-vars' '--enable-memory-limits' '--with-xml'
'--with-imap=/usr/local' '--enable-sysvsem' '--enable-sysvshm'
'--enable-sockets' '--with-gd' '--enable-inline-optimization'
'--with-curl' '--with-zlib' '--with-bz2' '--with-gettext' '--with-pcre'
'--enable-cli' '--disable-cgi' '--enable-pcntl' '--enable-url-open'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/phpcgi/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.bzip2, compress.zlib
 

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies



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/24063

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



#24417 [NEW]: Parsetime

2003-06-30 Thread Jorik at tangelder dot com
From: Jorik at tangelder dot com
Operating system: Windows XP
PHP version:  4.3.2
PHP Bug Type: Feature/Change Request
Bug description:  Parsetime

Description:

Hello,

i have an idea for a function in php. it returns the parsetime of the page
at the moment you call it. It is handier than making your own function,
cause it isn't started exacly at the time de script starts...

Greets,
Jorik Tangelder


-- 
Edit bug report at http://bugs.php.net/?id=24417&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24417&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24417&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24417&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24417&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24417&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24417&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24417&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24417&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24417&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24417&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24417&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24417&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24417&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24417&r=gnused



#24063 [Csd->Opn]: Notice: unserialize(): Error at offset ... again

2003-06-30 Thread jparneodo at yahoo dot fr
 ID:   24063
 User updated by:  jparneodo at yahoo dot fr
 Reported By:  jparneodo at yahoo dot fr
-Status:   Closed
+Status:   Open
 Bug Type: Scripting Engine problem
 Operating System: RH7.2
-PHP Version:  4.3.3RC1
+PHP Version:  4.3.3RC2-dev
 Assigned To:  helly
 New Comment:

$f=1.0e-6;
$s=serialize($f);
$ff=unserialize($s);

// Output with php4-STABLE-200306301530/sapi/cli/php
4.3.3RC2-dev
Notice: unserialize(): Error at offset 0 of 9 bytes in - on line 5

d::.0E-7;
// Please compare output with 4.3.3RC1


Previous Comments:


[2003-06-29 20:05:27] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.





[2003-06-26 12:56:27] [EMAIL PROTECTED]

(that was for Marcus :)




[2003-06-26 12:56:14] [EMAIL PROTECTED]

You broke this, iirc.




[2003-06-20 09:28:26] jparneodo at yahoo dot fr



4.3.3RC1
d::.E-7;

phpinfo()
PHP Version => 4.3.3RC1

System => Linux paris.[skipped].com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT
2001 i686
Build Date => Jun 20 2003 10:21:42
Configure Command =>  './configure' '--with-apxs=/home/apache/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-system-regex'
'--enable-track-vars' '--enable-memory-limits' '--with-xml'
'--with-imap=/usr/local' '--enable-sysvsem' '--enable-sysvshm'
'--enable-sockets' '--with-gd' '--enable-inline-optimization'
'--with-curl' '--with-zlib' '--with-bz2' '--with-gettext' '--with-pcre'
'--enable-cli' '--disable-cgi' '--enable-pcntl' '--enable-url-open'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/phpcgi/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.bzip2, compress.zlib
 

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies



[2003-06-09 08:13:51] [EMAIL PROTECTED]

4.3.3-dev

d:1.E-6;




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/24063

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



#6306 [Com]: changes in php.ini don't work

2003-06-30 Thread Walter_Mirzoyan at msn dot com
 ID:   6306
 Comment by:   Walter_Mirzoyan at msn dot com
 Reported By:  amri at easternaura dot com
 Status:   Closed
 Bug Type: Scripting Engine problem
 Operating System: MS Windows 98
 PHP Version:  4.0.1pl2
 New Comment:

I'm having exactly the same problem, but I can't find any
solution so far. In my understanding this is a bug and I will try to
solve this problem installing previous release of PHP instead.
If it works, it will prove existence of a bug. I would be
glad if someone explains me that I am wrong.
P.S. I have this problem on Windows XP.


Previous Comments:


[2000-09-20 18:14:53] [EMAIL PROTECTED]

no feedback



[2000-08-23 06:27:58] [EMAIL PROTECTED]

What is your configuration path?
Note that PHP configuration is called php.ini.



[2000-08-22 23:47:35] amri at easternaura dot com

I've successfully installed php4.0.1pl2 on my Apache server and my
programs run well. After I made few changes in my php4.ini in
c:\windows and I run a script with phpinfo(), I noticed that the
configuration displayed by phpinfo doesn't reflect the changes I made.
If I'm not mistaken the configuration displayed by phpinfo is the
default came in php.ini-dist

Later I remove php4.ini from my windows directory, reboot the pc and
php still can run without php4.ini or php.ini in my windows directory
or main php directory (c:\php4).

Later I rename c:\windows\php4.ini to php.ini and all my script
crashed. I remove php.ini from windows directory and copy it into php
core directory (c:\php4) and my php also crashed. My scripts will run
only after I rename it to php4.ini. 

Hope someone can look over this problem or give some explanation.






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



#24125 [Fbk->Opn]: Unable to add records when opened with odbc_pconnect

2003-06-30 Thread kalowsky
 ID:   24125
 Updated by:   [EMAIL PROTECTED]
 Reported By:  michael at redboxcode dot com
-Status:   Feedback
+Status:   Open
 Bug Type: ODBC related
 Operating System: Win NT
 PHP Version:  4.3.2
 New Comment:

Private Mail received from user:
can you post this reply, or tell me how to retrieve my password?

-

php db-9d ENTER SQLAllocEnv
  HENV *  005B3A90

php db-9d EXIT  SQLAllocEnv  with return code 0
(SQL_SUCCESS)
  HENV *  0x005B3A90 ( 0x00a61430)

php db-9d ENTER SQLAllocConnect
  HENV00A61430
  HDBC *  005B3A94

php db-9d EXIT  SQLAllocConnect  with return code 0
(SQL_SUCCESS)
  HENV00A61430
  HDBC *  0x005B3A94 ( 0x00a614d8)

php db-9d ENTER SQLConnectW
  HDBC00A614D8
  WCHAR * 0x00A615E0 [  -3] "mydata\ 0"
  SWORD   -3
  WCHAR * 0x1F7D8B70 [  -3] "**\ 0"
  SWORD   -3
  WCHAR * 0x1F7D8B70 [  -3] "**\ 0"
  SWORD   -3

php db-9d EXIT  SQLConnectW  with return code 0
(SQL_SUCCESS)
  HDBC00A614D8
  WCHAR * 0x00A615E0 [  -3] "mydata\ 0"
  SWORD   -3
  WCHAR * 0x1F7D8B70 [  -3] "**\ 0"
  SWORD   -3
  WCHAR * 0x1F7D8B70 [  -3] "**\ 0"
  SWORD   -3

php db-9d ENTER SQLAllocStmt
  HDBC00A614D8
  HSTMT * 00B68088

php db-9d EXIT  SQLAllocStmt  with return code 0
(SQL_SUCCESS)
  HDBC00A614D8
  HSTMT * 0x00B68088 ( 0x00a61a28)

php db-9d ENTER SQLGetInfoW
  HDBC00A614D8
  UWORD8 
  PTR 0012F758
  SWORD4
  SWORD * 0x0012F73C

php db-9d EXIT  SQLGetInfoW  with return code 0
(SQL_SUCCESS)
  HDBC00A614D8
  UWORD8 
  PTR 0012F758
  SWORD4
  SWORD * 0x0012F73C (4)

php db-9d ENTER SQLSetStmtOption
  HSTMT   00A61A28
  UWORD6 
  SQLLEN 2

php db-9d EXIT  SQLSetStmtOption  with return code 1
(SQL_SUCCESS_WITH_INFO)
  HSTMT   00A61A28
  UWORD6 
  SQLLEN 2

  DIAG [01S02] [Microsoft][ODBC Microsoft Access Driver]Option value
changed  (10)

php db-9d ENTER SQLExecDirect
  HSTMT   00A61A28
  UCHAR * 0x00B68040 [  -3] "select * from mytable
order by time_stamp;\ 0"
  SDWORD-3

php db-9d EXIT  SQLExecDirect  with return code 0
(SQL_SUCCESS)
  HSTMT   00A61A28
  UCHAR * 0x00B68040 [  -3] "select * from mytable
order by time_stamp;\ 0"
  SDWORD-3

php db-9d ENTER SQLNumResultCols
  HSTMT   00A61A28
  SWORD * 0x00B68094

php db-9d EXIT  SQLNumResultCols  with return code 0
(SQL_SUCCESS)
  HSTMT   00A61A28
  SWORD * 0x00B68094 (3)

php db-9d ENTER SQLColAttributes
  HSTMT   00A61A28
  UWORD1
  UWORD1 
  PTR0x00B680C8
  SWORD   32
  SWORD * 0x0012F738
  SQLLEN *0x

php db-9d EXIT  SQLColAttributes  with return code 0
(SQL_SUCCESS)
  HSTMT   00A61A28
  UWORD1
  UWORD1 
  PTR0x00B680C8
  SWORD   32
  SWORD * 0x0012F738 (2)
  SQLLEN *0x

php db-9d ENTER SQLColAttributes
  HSTMT   00A61A28
  UWORD1
  UWORD2 
  PTR0x
  SWORD0
  SWORD * 0x
  SQLLEN *0x00B680F0

php db-9d EXIT  SQLColAttributes  with return code 0
(SQL_SUCCESS)
  HSTMT   00A61A28
  UWORD1
  UWORD2 
  PTR0x
  SWORD0
  SWORD * 0x
  SQLLEN *0x00B680F0 (4)

php db-9d ENTER SQLColAttributes
  HSTMT   00A61A28
  UWORD1
  UWORD6 
  PTR0x
  SWORD0
  SWORD * 0x
  SQLLEN *0x0012F730

php db-9d EXIT  SQLColAttributes  with return code 0
(SQL_SUCCESS)
  HSTMT   00A61A28
  UWORD1
  UWORD6 
  PTR0

#24408 [Bgs]: misinterpretation (file as a folder/directory - without an error)

2003-06-30 Thread theo at sponholz dot de
 ID:   24408
 User updated by:  theo at sponholz dot de
 Reported By:  theo at sponholz dot de
 Status:   Bogus
 Bug Type: *Directory/Filesystem functions
 Operating System: Linux 2.2.24-6.2.3
 PHP Version:  4.3.1
 New Comment:

is it possible to disable this feature?
THEO


Previous Comments:


[2003-06-30 12:10:54] [EMAIL PROTECTED]

Too old PHP version, plus it's not a bug but feature.. :)




[2003-06-30 09:40:18] theo at sponholz dot de

Description:

the Apache/1.3.26 with php-mod misinterprets a file as a directory
for example:
http://www.sponholz.de/theo.php/
(there is no dir. "/theo.php/" under "http://www.sponholz.de/";, just a
file "theo.php")

if you type "http://www.sponholz.de/theo.php"; the site will be shown
correctly. 

if you type "http://www.sponholz.de/theo.php/"; (with an ending
[SLASH]), then the server shows a site without CCS and pictures. Boths
are included relativ. 

further: 
you can add strings like:
"http://www.sponholz.de/theo.php/type.PHP.what.PHP.you/.want";
instead of returning an error
"http://www.sponholz.de/theo.php/";
will be shown.

my problem / wish:

i wanna get an error, when a file or a dir./folder does not exist. 

by the way (i tried this @ php.net, but the php.net-server refers to
google ...)
thx 4 help,
theo






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



#24414 [Bgs]: FREAD not function correctly on url reads

2003-06-30 Thread gfraley5 at earthlink dot net
 ID:   24414
 User updated by:  gfraley5 at earthlink dot net
 Reported By:  gfraley5 at earthlink dot net
 Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

Thank you.  file_get_contents works perfectly.


Previous Comments:


[2003-06-30 12:20:12] [EMAIL PROTECTED]

fread() is not guaranteed to return the number of bytes that you
requested when working with anything other than local files.
You need to be prepared to read the data in chunks, as shown in the
example towards the bottom of the manual page.

Even better, just use file_get_contents() to read the whole page.



[2003-06-30 12:18:04] gfraley5 at earthlink dot net

Where can I get RC2 to try it?  Did you try it under 4.3.2?  That is
your latest stable public release.  It is not working and if it works
under rc2, but not rc1, then something HAS changed and it is a bug and
is NOT bogus.  at the very lease it should be labeled Closed.



[2003-06-30 12:11:49] [EMAIL PROTECTED]

I tried it, it worked fine. (using PHP 4.3.3RC2-dev)




[2003-06-30 12:09:51] gfraley5 at earthlink dot net

Come on!  Try the friggin' code!  It works under your previous releases
and it doesn't work under your current and future releases.  Sniper,
you do not belong working with the public.  This is the most assinine
response I have ever seen.  I have proven it, given you the code to
prove it, detailed it, and you come back with this ludicrous statement.
 if my code is still wrong, then prove it to me.  I changed it to the
'rb' and tried it and IT STILL DOES NOT
WORK!

Wez, please respond to this.  You seem to know how things work and how
to deal with the public that tries to help you guys.



[2003-06-30 12:03:34] [EMAIL PROTECTED]

Not PHP bug.




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/24414

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



#24414 [Bgs]: FREAD not function correctly on url reads

2003-06-30 Thread wez
 ID:   24414
 Updated by:   [EMAIL PROTECTED]
 Reported By:  gfraley5 at earthlink dot net
 Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

fread() is not guaranteed to return the number of bytes that you
requested when working with anything other than local files.
You need to be prepared to read the data in chunks, as shown in the
example towards the bottom of the manual page.

Even better, just use file_get_contents() to read the whole page.


Previous Comments:


[2003-06-30 12:18:04] gfraley5 at earthlink dot net

Where can I get RC2 to try it?  Did you try it under 4.3.2?  That is
your latest stable public release.  It is not working and if it works
under rc2, but not rc1, then something HAS changed and it is a bug and
is NOT bogus.  at the very lease it should be labeled Closed.



[2003-06-30 12:11:49] [EMAIL PROTECTED]

I tried it, it worked fine. (using PHP 4.3.3RC2-dev)




[2003-06-30 12:09:51] gfraley5 at earthlink dot net

Come on!  Try the friggin' code!  It works under your previous releases
and it doesn't work under your current and future releases.  Sniper,
you do not belong working with the public.  This is the most assinine
response I have ever seen.  I have proven it, given you the code to
prove it, detailed it, and you come back with this ludicrous statement.
 if my code is still wrong, then prove it to me.  I changed it to the
'rb' and tried it and IT STILL DOES NOT
WORK!

Wez, please respond to this.  You seem to know how things work and how
to deal with the public that tries to help you guys.



[2003-06-30 12:03:34] [EMAIL PROTECTED]

Not PHP bug.




[2003-06-30 11:50:28] gfraley5 at earthlink dot net

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.



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/24414

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



#24414 [Bgs]: FREAD not function correctly on url reads

2003-06-30 Thread gfraley5 at earthlink dot net
 ID:   24414
 User updated by:  gfraley5 at earthlink dot net
 Reported By:  gfraley5 at earthlink dot net
 Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

Where can I get RC2 to try it?  Did you try it under 4.3.2?  That is
your latest stable public release.  It is not working and if it works
under rc2, but not rc1, then something HAS changed and it is a bug and
is NOT bogus.  at the very lease it should be labeled Closed.


Previous Comments:


[2003-06-30 12:11:49] [EMAIL PROTECTED]

I tried it, it worked fine. (using PHP 4.3.3RC2-dev)




[2003-06-30 12:09:51] gfraley5 at earthlink dot net

Come on!  Try the friggin' code!  It works under your previous releases
and it doesn't work under your current and future releases.  Sniper,
you do not belong working with the public.  This is the most assinine
response I have ever seen.  I have proven it, given you the code to
prove it, detailed it, and you come back with this ludicrous statement.
 if my code is still wrong, then prove it to me.  I changed it to the
'rb' and tried it and IT STILL DOES NOT
WORK!

Wez, please respond to this.  You seem to know how things work and how
to deal with the public that tries to help you guys.



[2003-06-30 12:03:34] [EMAIL PROTECTED]

Not PHP bug.




[2003-06-30 11:50:28] gfraley5 at earthlink dot net

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.



[2003-06-30 11:44:51] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

4.3.0 and 4.3.1 were actually broken.
Please read the fread manual pages carefully.
http://www.php.net/manual/en/function.fread.php



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/24414

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



#24416 [Opn->Bgs]: Apache2 won't start with PHP5 beta

2003-06-30 Thread sniper
 ID:   24416
 Updated by:   [EMAIL PROTECTED]
 Reported By:  ldf13 at hotmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Apache2 related
 Operating System: Windows XP
 PHP Version:  5CVS-2003-06-30 (dev)
 New Comment:

php4_module -> php5_module



Previous Comments:


[2003-06-30 12:04:25] ldf13 at hotmail dot com

Description:

So far I could replace a PHP version by copying the .dll files to the
modules directory and that was it. This seems to be history in the PHP5
version because it won't start. 

I am using Apache2.0.46 on WindowsXP with the binary set of PHP5 .. 

Worst part is... no clue where to find some info on this.



Reproduce code:
---
these two lines are added to the httpd.conf file

LoadModule php4_module  modules/php4apache2.dll
AddType application/x-httpd-php .php

and

php4apache2.dll & php4ts.dll

are copied to the modules directory
I do not use a php.ini file


Expected result:

a running webserver :) .. duh!

Actual result:
--
gives an error with no clue in the error file





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



#24414 [Opn->Bgs]: FREAD not function correctly on url reads

2003-06-30 Thread sniper
 ID:   24414
 Updated by:   [EMAIL PROTECTED]
 Reported By:  gfraley5 at earthlink dot net
-Status:   Open
+Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

I tried it, it worked fine. (using PHP 4.3.3RC2-dev)



Previous Comments:


[2003-06-30 12:09:51] gfraley5 at earthlink dot net

Come on!  Try the friggin' code!  It works under your previous releases
and it doesn't work under your current and future releases.  Sniper,
you do not belong working with the public.  This is the most assinine
response I have ever seen.  I have proven it, given you the code to
prove it, detailed it, and you come back with this ludicrous statement.
 if my code is still wrong, then prove it to me.  I changed it to the
'rb' and tried it and IT STILL DOES NOT
WORK!

Wez, please respond to this.  You seem to know how things work and how
to deal with the public that tries to help you guys.



[2003-06-30 12:03:34] [EMAIL PROTECTED]

Not PHP bug.




[2003-06-30 11:50:28] gfraley5 at earthlink dot net

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.



[2003-06-30 11:44:51] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

4.3.0 and 4.3.1 were actually broken.
Please read the fread manual pages carefully.
http://www.php.net/manual/en/function.fread.php



[2003-06-30 11:43:15] gfraley5 at earthlink dot net

Description:

This code works perfectly on v4.3.1 and prior.  It no loner works on
4.3.2 nor on 4.3.3RC1.  I am using Apache 2.0.46.

http://finance.yahoo.com/q?s=FON&d=t";, "r");
$readNews = fread($getNews, 32767);
fclose($getNews);
echo "";
if (strpos($readNews,'New research reports for')!=FALSE) {
list($FirstSplit1,$FirstSplit2)= split ("New research reports for",
$readNews);
list($SecondSplit1,$SecondSplit2)= split
("", $FirstSplit2);
list($stockNews,$ThirdSplit2)= split ("All headlines for:", $SecondSplit2);
}
$stockNews = str_replace("href=","target=\"_new\" href=",$stockNews);

echo "Financial News For
FON$stockNews";
?>


Expected result:

Under 4.3.1 and prior:

Financial News For FON
Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact -
Dow Jones Business News 
Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to
Offer Customers America's First Full-Length Streamed Music Tracks in
the Palm of Their Hands - PR Newswire 
Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint
Ethernet Services(SM) - PR Newswire 
Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help
Deliver Access To Healthcare Services for Military Personnel in 16
States - PR Newswire 
Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad
Strategic Partnership To Distribute Mobile Entertainment Content - PR
Newswire 
Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS
Vision Music Channel, A One-Stop Source for Access to Wireless Music -
PR Newswire 
Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN
- Dow Jones Business News 
Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR
Newswire 
Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares -
Dow Jones Business News 
Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters 
 


Actual result:
--
Under 4.3.2 and 4.3.3rc1

Financial News For FON






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



#24408 [Opn->Bgs]: misinterpretation (file as a folder/directory - without an error)

2003-06-30 Thread sniper
 ID:   24408
 Updated by:   [EMAIL PROTECTED]
 Reported By:  theo at sponholz dot de
-Status:   Open
+Status:   Bogus
 Bug Type: *Directory/Filesystem functions
 Operating System: Linux 2.2.24-6.2.3
 PHP Version:  4.3.1
 New Comment:

Too old PHP version, plus it's not a bug but feature.. :)



Previous Comments:


[2003-06-30 09:40:18] theo at sponholz dot de

Description:

the Apache/1.3.26 with php-mod misinterprets a file as a directory
for example:
http://www.sponholz.de/theo.php/
(there is no dir. "/theo.php/" under "http://www.sponholz.de/";, just a
file "theo.php")

if you type "http://www.sponholz.de/theo.php"; the site will be shown
correctly. 

if you type "http://www.sponholz.de/theo.php/"; (with an ending
[SLASH]), then the server shows a site without CCS and pictures. Boths
are included relativ. 

further: 
you can add strings like:
"http://www.sponholz.de/theo.php/type.PHP.what.PHP.you/.want";
instead of returning an error
"http://www.sponholz.de/theo.php/";
will be shown.

my problem / wish:

i wanna get an error, when a file or a dir./folder does not exist. 

by the way (i tried this @ php.net, but the php.net-server refers to
google ...)
thx 4 help,
theo






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



#24414 [Bgs->Opn]: FREAD not function correctly on url reads

2003-06-30 Thread gfraley5 at earthlink dot net
 ID:   24414
 User updated by:  gfraley5 at earthlink dot net
 Reported By:  gfraley5 at earthlink dot net
-Status:   Bogus
+Status:   Open
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

Come on!  Try the friggin' code!  It works under your previous releases
and it doesn't work under your current and future releases.  Sniper,
you do not belong working with the public.  This is the most assinine
response I have ever seen.  I have proven it, given you the code to
prove it, detailed it, and you come back with this ludicrous statement.
 if my code is still wrong, then prove it to me.  I changed it to the
'rb' and tried it and IT STILL DOES NOT
WORK!

Wez, please respond to this.  You seem to know how things work and how
to deal with the public that tries to help you guys.


Previous Comments:


[2003-06-30 12:03:34] [EMAIL PROTECTED]

Not PHP bug.




[2003-06-30 11:50:28] gfraley5 at earthlink dot net

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.



[2003-06-30 11:44:51] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

4.3.0 and 4.3.1 were actually broken.
Please read the fread manual pages carefully.
http://www.php.net/manual/en/function.fread.php



[2003-06-30 11:43:15] gfraley5 at earthlink dot net

Description:

This code works perfectly on v4.3.1 and prior.  It no loner works on
4.3.2 nor on 4.3.3RC1.  I am using Apache 2.0.46.

http://finance.yahoo.com/q?s=FON&d=t";, "r");
$readNews = fread($getNews, 32767);
fclose($getNews);
echo "";
if (strpos($readNews,'New research reports for')!=FALSE) {
list($FirstSplit1,$FirstSplit2)= split ("New research reports for",
$readNews);
list($SecondSplit1,$SecondSplit2)= split
("", $FirstSplit2);
list($stockNews,$ThirdSplit2)= split ("All headlines for:", $SecondSplit2);
}
$stockNews = str_replace("href=","target=\"_new\" href=",$stockNews);

echo "Financial News For
FON$stockNews";
?>


Expected result:

Under 4.3.1 and prior:

Financial News For FON
Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact -
Dow Jones Business News 
Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to
Offer Customers America's First Full-Length Streamed Music Tracks in
the Palm of Their Hands - PR Newswire 
Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint
Ethernet Services(SM) - PR Newswire 
Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help
Deliver Access To Healthcare Services for Military Personnel in 16
States - PR Newswire 
Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad
Strategic Partnership To Distribute Mobile Entertainment Content - PR
Newswire 
Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS
Vision Music Channel, A One-Stop Source for Access to Wireless Music -
PR Newswire 
Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN
- Dow Jones Business News 
Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR
Newswire 
Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares -
Dow Jones Business News 
Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters 
 


Actual result:
--
Under 4.3.2 and 4.3.3rc1

Financial News For FON






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



#24405 [Opn->Fbk]: debug_backtrace - missing info

2003-06-30 Thread sniper
 ID:   24405
 Updated by:   [EMAIL PROTECTED]
 Reported By:  cagret at yahoo dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Scripting Engine problem
 Operating System: Windows
 PHP Version:  4.3.1
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



Previous Comments:


[2003-06-30 07:39:08] cagret at yahoo dot com

Description:

when using call_user_func_array() 'class' 'file' and 'line' key are
missing in some calls in debug_backtrace()

when using overload() 'class' key is missing in some calls in
debug_backtrace()

--
cagrET






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



#24411 [Opn->Fbk]: 2 Gb filesize limit

2003-06-30 Thread derick
 ID:   24411
 Updated by:   [EMAIL PROTECTED]
 Reported By:  domisse at iap dot fr
-Status:   Open
+Status:   Feedback
 Bug Type: Feature/Change Request
 Operating System: Linux
 PHP Version:  4.3.2
 New Comment:

If they are smaller than 4GB you can do this:

printf("%u", filesize("filename")); Everything larger would be a
problem, as the return value from filesize is an integer.


Previous Comments:


[2003-06-30 12:04:55] domisse at iap dot fr

I have to manage astronomical images which are rather big !
I would like to get filesize to display basic data on them via
a browser.



[2003-06-30 11:59:40] [EMAIL PROTECTED]

Most likely not soon... internally PHP uses a signed integer for string
lengths and other things. What exactly do you want to do with this?



[2003-06-30 11:12:52] domisse at iap dot fr

Description:

Is there any hope to see a large file support in php ?







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



#24411 [Fbk->Opn]: 2 Gb filesize limit

2003-06-30 Thread domisse at iap dot fr
 ID:   24411
 User updated by:  domisse at iap dot fr
 Reported By:  domisse at iap dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: Feature/Change Request
 Operating System: Linux
 PHP Version:  4.3.2
 New Comment:

I have to manage astronomical images which are rather big !
I would like to get filesize to display basic data on them via
a browser.


Previous Comments:


[2003-06-30 11:59:40] [EMAIL PROTECTED]

Most likely not soon... internally PHP uses a signed integer for string
lengths and other things. What exactly do you want to do with this?



[2003-06-30 11:12:52] domisse at iap dot fr

Description:

Is there any hope to see a large file support in php ?







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



#24416 [NEW]: Apache2 won't start with PHP5 beta

2003-06-30 Thread ldf13 at hotmail dot com
From: ldf13 at hotmail dot com
Operating system: Windows XP
PHP version:  5CVS-2003-06-30 (dev)
PHP Bug Type: Apache2 related
Bug description:  Apache2 won't start with PHP5 beta 

Description:

So far I could replace a PHP version by copying the .dll files to the
modules directory and that was it. This seems to be history in the PHP5
version because it won't start. 

I am using Apache2.0.46 on WindowsXP with the binary set of PHP5 .. 

Worst part is... no clue where to find some info on this.



Reproduce code:
---
these two lines are added to the httpd.conf file

LoadModule php4_module  modules/php4apache2.dll
AddType application/x-httpd-php .php

and

php4apache2.dll & php4ts.dll

are copied to the modules directory
I do not use a php.ini file


Expected result:

a running webserver :) .. duh!

Actual result:
--
gives an error with no clue in the error file

-- 
Edit bug report at http://bugs.php.net/?id=24416&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24416&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24416&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24416&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24416&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24416&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24416&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24416&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24416&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24416&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24416&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24416&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24416&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24416&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24416&r=gnused



#24414 [Opn->Bgs]: FREAD not function correctly on url reads

2003-06-30 Thread sniper
 ID:   24414
 Updated by:   [EMAIL PROTECTED]
 Reported By:  gfraley5 at earthlink dot net
-Status:   Open
+Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

Not PHP bug.



Previous Comments:


[2003-06-30 11:50:28] gfraley5 at earthlink dot net

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.



[2003-06-30 11:44:51] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

4.3.0 and 4.3.1 were actually broken.
Please read the fread manual pages carefully.
http://www.php.net/manual/en/function.fread.php



[2003-06-30 11:43:15] gfraley5 at earthlink dot net

Description:

This code works perfectly on v4.3.1 and prior.  It no loner works on
4.3.2 nor on 4.3.3RC1.  I am using Apache 2.0.46.

http://finance.yahoo.com/q?s=FON&d=t";, "r");
$readNews = fread($getNews, 32767);
fclose($getNews);
echo "";
if (strpos($readNews,'New research reports for')!=FALSE) {
list($FirstSplit1,$FirstSplit2)= split ("New research reports for",
$readNews);
list($SecondSplit1,$SecondSplit2)= split
("", $FirstSplit2);
list($stockNews,$ThirdSplit2)= split ("All headlines for:", $SecondSplit2);
}
$stockNews = str_replace("href=","target=\"_new\" href=",$stockNews);

echo "Financial News For
FON$stockNews";
?>


Expected result:

Under 4.3.1 and prior:

Financial News For FON
Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact -
Dow Jones Business News 
Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to
Offer Customers America's First Full-Length Streamed Music Tracks in
the Palm of Their Hands - PR Newswire 
Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint
Ethernet Services(SM) - PR Newswire 
Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help
Deliver Access To Healthcare Services for Military Personnel in 16
States - PR Newswire 
Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad
Strategic Partnership To Distribute Mobile Entertainment Content - PR
Newswire 
Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS
Vision Music Channel, A One-Stop Source for Access to Wireless Music -
PR Newswire 
Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN
- Dow Jones Business News 
Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR
Newswire 
Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares -
Dow Jones Business News 
Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters 
 


Actual result:
--
Under 4.3.2 and 4.3.3rc1

Financial News For FON






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



#24411 [Opn->Fbk]: 2 Gb filesize limit

2003-06-30 Thread derick
 ID:   24411
 Updated by:   [EMAIL PROTECTED]
 Reported By:  domisse at iap dot fr
-Status:   Open
+Status:   Feedback
-Bug Type: Filesystem function related
+Bug Type: Feature/Change Request
 Operating System: Linux
 PHP Version:  4.3.2
 New Comment:

Most likely not soon... internally PHP uses a signed integer for string
lengths and other things. What exactly do you want to do with this?


Previous Comments:


[2003-06-30 11:12:52] domisse at iap dot fr

Description:

Is there any hope to see a large file support in php ?







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



#24415 [NEW]: pi() and M_PI return float(3)

2003-06-30 Thread postings-php-bug at hans-spath dot de
From: postings-php-bug at hans-spath dot de
Operating system: Windows XP
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: Math related
Bug description:  pi() and M_PI return float(3)

Description:

Yeah right. PI = 3 ... given a big enough 3 and a small enough pi ...

Reproduce code:
---


Expected result:

M:\php>echo "" | 431\php -q
"array(2) {
  [0]=>
  float(3.1415926535898)
  [1]=>
  float(3.1415926535898)
}
"

Actual result:
--
M:\php>echo "" | 500b1\php -q
"array(2) {
  [0]=>
  float(3)
  [1]=>
  float(3)
}
"

-- 
Edit bug report at http://bugs.php.net/?id=24415&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24415&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24415&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24415&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24415&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24415&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24415&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24415&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24415&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24415&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24415&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24415&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24415&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24415&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24415&r=gnused



#24414 [Bgs->Opn]: FREAD not function correctly on url reads

2003-06-30 Thread gfraley5 at earthlink dot net
 ID:   24414
 User updated by:  gfraley5 at earthlink dot net
 Reported By:  gfraley5 at earthlink dot net
-Status:   Bogus
+Status:   Open
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.


Previous Comments:


[2003-06-30 11:44:51] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

4.3.0 and 4.3.1 were actually broken.
Please read the fread manual pages carefully.
http://www.php.net/manual/en/function.fread.php



[2003-06-30 11:43:15] gfraley5 at earthlink dot net

Description:

This code works perfectly on v4.3.1 and prior.  It no loner works on
4.3.2 nor on 4.3.3RC1.  I am using Apache 2.0.46.

http://finance.yahoo.com/q?s=FON&d=t";, "r");
$readNews = fread($getNews, 32767);
fclose($getNews);
echo "";
if (strpos($readNews,'New research reports for')!=FALSE) {
list($FirstSplit1,$FirstSplit2)= split ("New research reports for",
$readNews);
list($SecondSplit1,$SecondSplit2)= split
("", $FirstSplit2);
list($stockNews,$ThirdSplit2)= split ("All headlines for:", $SecondSplit2);
}
$stockNews = str_replace("href=","target=\"_new\" href=",$stockNews);

echo "Financial News For
FON$stockNews";
?>


Expected result:

Under 4.3.1 and prior:

Financial News For FON
Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact -
Dow Jones Business News 
Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to
Offer Customers America's First Full-Length Streamed Music Tracks in
the Palm of Their Hands - PR Newswire 
Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint
Ethernet Services(SM) - PR Newswire 
Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help
Deliver Access To Healthcare Services for Military Personnel in 16
States - PR Newswire 
Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad
Strategic Partnership To Distribute Mobile Entertainment Content - PR
Newswire 
Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS
Vision Music Channel, A One-Stop Source for Access to Wireless Music -
PR Newswire 
Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN
- Dow Jones Business News 
Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR
Newswire 
Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares -
Dow Jones Business News 
Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters 
 


Actual result:
--
Under 4.3.2 and 4.3.3rc1

Financial News For FON






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



#24414 [Opn->Bgs]: FREAD not function correctly on url reads

2003-06-30 Thread wez
 ID:   24414
 Updated by:   [EMAIL PROTECTED]
 Reported By:  gfraley5 at earthlink dot net
-Status:   Open
+Status:   Bogus
 Bug Type: Filesystem function related
 Operating System: XP and Linux
 PHP Version:  4.3.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

4.3.0 and 4.3.1 were actually broken.
Please read the fread manual pages carefully.
http://www.php.net/manual/en/function.fread.php


Previous Comments:


[2003-06-30 11:43:15] gfraley5 at earthlink dot net

Description:

This code works perfectly on v4.3.1 and prior.  It no loner works on
4.3.2 nor on 4.3.3RC1.  I am using Apache 2.0.46.

http://finance.yahoo.com/q?s=FON&d=t";, "r");
$readNews = fread($getNews, 32767);
fclose($getNews);
echo "";
if (strpos($readNews,'New research reports for')!=FALSE) {
list($FirstSplit1,$FirstSplit2)= split ("New research reports for",
$readNews);
list($SecondSplit1,$SecondSplit2)= split
("", $FirstSplit2);
list($stockNews,$ThirdSplit2)= split ("All headlines for:", $SecondSplit2);
}
$stockNews = str_replace("href=","target=\"_new\" href=",$stockNews);

echo "Financial News For
FON$stockNews";
?>


Expected result:

Under 4.3.1 and prior:

Financial News For FON
Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact -
Dow Jones Business News 
Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to
Offer Customers America's First Full-Length Streamed Music Tracks in
the Palm of Their Hands - PR Newswire 
Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint
Ethernet Services(SM) - PR Newswire 
Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help
Deliver Access To Healthcare Services for Military Personnel in 16
States - PR Newswire 
Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad
Strategic Partnership To Distribute Mobile Entertainment Content - PR
Newswire 
Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS
Vision Music Channel, A One-Stop Source for Access to Wireless Music -
PR Newswire 
Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN
- Dow Jones Business News 
Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR
Newswire 
Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares -
Dow Jones Business News 
Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters 
 


Actual result:
--
Under 4.3.2 and 4.3.3rc1

Financial News For FON






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



#24414 [NEW]: FREAD not function correctly on url reads

2003-06-30 Thread gfraley5 at earthlink dot net
From: gfraley5 at earthlink dot net
Operating system: XP and Linux
PHP version:  4.3.2
PHP Bug Type: Filesystem function related
Bug description:  FREAD not function correctly on url reads

Description:

This code works perfectly on v4.3.1 and prior.  It no loner works on 4.3.2
nor on 4.3.3RC1.  I am using Apache 2.0.46.

http://finance.yahoo.com/q?s=FON&d=t";, "r");
$readNews = fread($getNews, 32767);
fclose($getNews);
echo "";
if (strpos($readNews,'New research reports for')!=FALSE) {
list($FirstSplit1,$FirstSplit2)= split ("New research reports for",
$readNews);
list($SecondSplit1,$SecondSplit2)= split
("", $FirstSplit2);
list($stockNews,$ThirdSplit2)= split ("All headlines for:", $SecondSplit2);
}
$stockNews = str_replace("href=","target=\"_new\" href=",$stockNews);

echo "Financial News For
FON$stockNews";
?>


Expected result:

Under 4.3.1 and prior:

Financial News For FON
Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact - Dow
Jones Business News 
Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to Offer
Customers America's First Full-Length Streamed Music Tracks in the Palm of
Their Hands - PR Newswire 
Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint
Ethernet Services(SM) - PR Newswire 
Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help Deliver
Access To Healthcare Services for Military Personnel in 16 States - PR
Newswire 
Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad
Strategic Partnership To Distribute Mobile Entertainment Content - PR
Newswire 
Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS Vision
Music Channel, A One-Stop Source for Access to Wireless Music - PR
Newswire 
Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN -
Dow Jones Business News 
Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR Newswire

Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares - Dow
Jones Business News 
Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters 
 


Actual result:
--
Under 4.3.2 and 4.3.3rc1

Financial News For FON


-- 
Edit bug report at http://bugs.php.net/?id=24414&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24414&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24414&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24414&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24414&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24414&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24414&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24414&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24414&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24414&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24414&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24414&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24414&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24414&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24414&r=gnused



#24413 [NEW]: exception example provided on php site fails

2003-06-30 Thread tleake at ebuyer dot com
From: tleake at ebuyer dot com
Operating system: mandrake linux 9.0
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: Zend Engine 2 problem
Bug description:  exception example provided on php site fails

Description:

Trying the code below from the php site fails with the following error.
This is php-5.0.0 beta1 compiled with --disable-all under linux


Call to undefined method exception::__construct()

Reproduce code:
---
getMessage();
}
?> 

Expected result:

hello

Actual result:
--

Fatal error:  Call to undefined method exception::__construct() in
/home/tony/software/web/php-5.0.0b1/sapi/cgi/test.php on line
4

-- 
Edit bug report at http://bugs.php.net/?id=24413&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24413&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24413&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24413&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24413&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24413&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24413&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24413&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24413&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24413&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24413&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24413&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24413&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24413&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24413&r=gnused



#24398 [Fbk->Csd]: Compile fails when trying to find libxml

2003-06-30 Thread greg at destiney dot com
 ID:   24398
 User updated by:  greg at destiney dot com
 Reported By:  greg at destiney dot com
-Status:   Feedback
+Status:   Closed
 Bug Type: Compile Failure
 Operating System: RedHat 8.0
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

I installed libxml2-devel as suggested, and it satisfied the
dependency.  Compiled, installed, and running..  Thanks.


Previous Comments:


[2003-06-30 08:22:49] fischer at ms-net dot de

./configure --with-apxs --disable-xml
gives same error



[2003-06-30 05:44:27] adam at indexdata dot dk

RPM user: You need to install package libxml2-devel

MAC user or any other user that don't haev libxml2 installed
in /usr or /usr/local: specify
  --with-libxml-dir=/prefix --with-simplexml=/prefix



[2003-06-30 05:11:56] fischer at ms-net dot de

same with Mac OS 10.2
installed libxml2 via fink
./configure --with-apxs --with-libxml-dir=/sw/lib
config.log has 870 lines, so i dont attach it



[2003-06-30 01:02:01] [EMAIL PROTECTED]

Can you put your "configure.log" on line, and post the link here?

regards,
Derick



[2003-06-30 00:58:51] greg at destiney dot com

Description:

My configure line:

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr

ends with:

checking for new DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution

I installed newest libxml from ftp://xmlsoft.org/:

> rpm -qa | grep libxml
libxml2-2.5.7-1

Ran ldconfig, same errors on second attempt.






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



#22621 [Com]: Make exits with "No such file or directory error"

2003-06-30 Thread da_narcissus at hotmail dot com
 ID:   22621
 Comment by:   da_narcissus at hotmail dot com
 Reported By:  rjhopkins at hotmail dot com
 Status:   Bogus
 Bug Type: Compile Failure
 Operating System: RH 7.2 with latest updates
 PHP Version:  4.3.1
 New Comment:

I get the same error when I try make.
My configure options are 

--with-imap --with-gettext --with-mysql --with-imapssl=/usr/local/ssl
--with-xml --with-apache=/path/to/apache -enable-track-vars

I tried both the gz and bz2 versions..Both terminate with the same
error
gcc: sapi/cli/php_cli.o: No such file or directory
gcc: sapi/cli/getopt.o: No such file or directory
make: *** [sapi/cli/php] Error 1

Any help on this would be appreciated.


Previous Comments:


[2003-03-15 06:52:33] rjhopkins at hotmail dot com

Used --without-pear option and installs ok.



[2003-03-15 06:31:32] rjhopkins at hotmail dot com

Could possibly be a broken zip file.  Downloaded the gz file a couple
of times, same error.  Then tried the bz2 file and the make succeded
but the make install failed with the following error.

  :
  :
creating libphp4.la
(cd .libs && rm -f libphp4.la && ln -s ../libphp4.la libphp4.la)
Installing PHP SAPI module
Installing shared extensions:
/usr/local/PHP_CGI/lib/php/extensions/debug-non-zts-20020429/
Installing PEAR environment:  /usr/local/PHP_CGI/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2



[2003-03-10 09:41:30] [EMAIL PROTECTED]

There's something really broken in your system.
Or your tar.gz of PHP wasn't complete.
Or your gcc is broken. But this is definately any
bug, otherwise we'd had hundreds of reports about it
by now.




[2003-03-10 06:25:15] rjhopkins at hotmail dot com

I've searched the internet as well as the PHP web site and found a
couple of people with the same problem but no solution.

I get no error when I configure with --with-apxs2 flag.

When I use ./configure --prefix=/usr/local/PHP_CGI
--with-mysql=/usr/local/mysql --enable-force-cgi-redirect
--enable-discard-path --enable-debug
OR just ./configure on it's own, I get an error using make.


# make
/bin/sh /home/downloads/php/php-4.3.1/libtool --mode=link gcc
-export-dynamic -g -Wall  -L/usr/local/mysql/lib  -R
/usr/local/mysql/lib ext/ctype/ctype.lo ext/mysql/php_mysql.lo
ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo
ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/posix/posix.lo
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo
ext/standard/basic_functions.lo ext/standard/browscap.lo
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo
ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo
ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo
ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo
ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo
ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo
ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo ext/standard/assert.lo
ext/standard/strnatcmp.lo ext/standard/levenshtein.lo
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo
ext/standard/css.lo ext/standard/var_unserializer.lo
ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo
ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo regex/regcomp.lo
regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo
main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo
main/fopen_wrappers.lo main/alloca.lo main/php_ini.lo main/SAPI.lo
main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo
main/strlcat.lo main/mergesort.lo main/reentrancy.lo
main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
main/memory_streams.lo main/user_streams.lo
Zend

#24411 [NEW]: 2 Gb filesize limit

2003-06-30 Thread domisse at iap dot fr
From: domisse at iap dot fr
Operating system: Linux 
PHP version:  4.3.2
PHP Bug Type: Filesystem function related
Bug description:  2 Gb filesize limit

Description:

Is there any hope to see a large file support in php ?



-- 
Edit bug report at http://bugs.php.net/?id=24411&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24411&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24411&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24411&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24411&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24411&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24411&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24411&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24411&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24411&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24411&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24411&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24411&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24411&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24411&r=gnused



#23877 [Opn]: ob_implicit_flush does not work

2003-06-30 Thread sthomas at townnews dot com
 ID:   23877
 User updated by:  sthomas at townnews dot com
 Reported By:  sthomas at townnews dot com
 Status:   Open
 Bug Type: Output Control
 Operating System: Redhat Linux
 PHP Version:  4.3.2
 New Comment:

Implicit flush is turned off in the php.ini file, but that's only the
default status.  Calling ob_implicit_flush should enable autoflushing. 
The CLI *does* work if I set the output_buffering setting to 0, but
here's the screwy part: Set it to any non-zero value, and flushing
doesn't occur at all.  

Setting output_buffering to 1024 would imply that after 1024 characters
are sent to the buffer, the buffer is sent to screen/browser.  This is
not the case.  So not only is ob_implict_flush completely ignored when
output_buffering is set to a non-zero value, but output_buffering
doesn't flush after the designated value either.  At least not with the
CLI.

But don't take my word for it.  Set output_buffering to *anything*
above 0, then run this script with the CLI:



You'll see that no flushing is taking place... at all.  Even with an
explicit call to flush(), and even though ob_implicit_flush says that
output buffering should now be disabled.  Yes ob_end_flush() works,
however the PHP documentation says ob_implicit_flush does an implied
call to ob_end_flush().  So either the documentation is wrong, or PHP
is broken.  If the documentation is wrong, why have ob_implicit_flush
in the first place if it doesn't actually do anything?

Because so far with recent versions of PHP, I haven't been able to
create a single test case where ob_implicit_flush actually did
anything.


Previous Comments:


[2003-06-30 09:33:08] [EMAIL PROTECTED]

There's a second level of buffering after the ob_ buffering.  What is
your implicit_flush setting?  Please also refer to
http://www.php.net/flush



[2003-06-30 08:02:09] sthomas at townnews dot com

So... did you read the report at all?  Did you see the part where I
quoted the PHP documentation?  Let me do it again:

"Turning implicit flushing on will disable output buffering, the output
buffers current output will be sent as if ob_end_flush() had been
called."

Therefore, according to this, calling ob_implicit_flush *IMPLIES A CALL
TO OB_END_FLUSH*! What part of YOUR OWN DOCUMENTATION do you not
understand?  Either the documentation is wrong, or PHP is wrong. 
Whichever it is, fix it so there's at least some consistancy.



[2003-06-29 21:07:05] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You should've used ob_end_flush(); instead of ob_implicit_flush();.



[2003-05-29 15:51:03] sthomas at townnews dot com

Please note that the manual says this:

"Turning implicit flushing on will disable output buffering, the output
buffers current output will be sent as if ob_end_flush() had been
called."

Now, I've set output_buffering = 0 in my php.ini script, so supposedly
ob_implicit_flush will flush any buffers started by the script itself,
and continue flushing output thereafter.  Try this:



This script will not output "Hi!" after each iteration through the
loop.  Supposedly the documented behavior of ob_implicit_flush is to
flush all output buffers once it's called, and disable output buffering
for further statements that produce output (print, etc.)

So either the documentation is wrong, or there's a bug in
ob_implicit_flush.  You decide.




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



#24215 [Com]: make install fails unless '--without-pear' specified

2003-06-30 Thread cox at idecnet dot com
 ID:   24215
 Comment by:   cox at idecnet dot com
 Reported By:  biclops at nosivad dot com
 Status:   Feedback
 Bug Type: Compile Failure
 Operating System: Linux
 PHP Version:  4.3.2
 New Comment:

Jani, was you the guy who added the "-n" option in  
Makefile.frag on Nov 12 2002 ;)


Previous Comments:


[2003-06-30 08:18:40] [EMAIL PROTECTED]

Nevermind the previous comment, there is '-n' in there.
biclops at nosivad dot com:

Can you please try running 'sapi/cli/php -m' to see whether the error
happens as is. If it happens, do 'ldd sapi/cli/php' and add the output
here.




[2003-06-30 08:15:59] [EMAIL PROTECTED]

It means that sapi/cli/php used reads an old php.ini which contains
some extension that uses some shared resources that have changed or
something. 

This is PEAR bug as no php.ini should be read during 'make install' to
prevent such issues..




[2003-06-30 08:00:38] [EMAIL PROTECTED]

The error comes here:

/home/pointstreak/data/serversoftware/src/ultramagnus/php-4.3.2/sapi/cli/php:
error while loading shared libraries: unexpected reloc type 0xa9

This is not related to PEAR, reclassified.



[2003-06-17 00:04:49] biclops at nosivad dot com

Description:

Recently installed php. Reinstalled so that I could use expat lib. Only
the last line (specifying expat dir) was added to configure and 'make
install' failed.

./configure \
--enable-shmop \
--enable-sysvsem --enable-sysvshm \
--enable-apc \
--with-oci8=/usr/local/oracle/8i/u01/app/oracle/product/8.1.6 \
--enable-debug=no \
--enable-track-vars \
--with-apache=../apache_1.3.27 \
--enable-trans-sid \
--with-cpdflib \
--with-gd  --with-pdflib=/usr/local \
--with-ttf=/usr/local/include \
--with-jpeg-dir=/usr --with-tiff-dir=/usr \
--with-zlib-dir=/usr/include \
--with-curl=/usr/local \
--with-expat-dir=/usr/local \

Output of 'make install':

Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/man/man1/
Installing PHP SAPI module
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:  /usr/local/lib/php/
/home/pointstreak/data/serversoftware/src/ultramagnus/php-4.3.2/sapi/cli/php:
error while loading shared libraries: unexpected reloc type 0xa9
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2

I added '--without-pear' and 'make install' worked without error.






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



#24410 [NEW]: Session data not written/stored

2003-06-30 Thread tommy_in_japan at nospam dot hotmail dot com
From: tommy_in_japan at nospam dot hotmail dot com
Operating system: Win XP Professional
PHP version:  4.3.2
PHP Bug Type: IIS related
Bug description:  Session data not written/stored

Description:

I've tried everything (I think), and can't get PHP to store any session
data.  I specified a session data directory that the web server has
read/write permissions for, and the session arrays get modified on the
page where the variables are set, yet nothing gets written to disk (and
therefore not passed to any other pages, from which I can't reference the
variables).

PHP.ini settings:
session.save_handler = files
session.save_path = c:/temp
;note: "c:\temp" and "/temp" etc. also do not work
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.cache_expire = 180

Reproduce code:
---
[test.php]
session_start();
$_SESSION["test"] = "test";

echo $_SESSION["test"];
//works fine, but when referencing in any other file
//(via redirect or anything else)...

[test2.php]
session_start();
echo $_SESSION["test"];
//returns nothing


-- 
Edit bug report at http://bugs.php.net/?id=24410&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24410&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24410&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24410&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24410&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24410&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24410&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24410&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24410&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24410&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24410&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24410&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24410&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24410&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24410&r=gnused



#24402 [Fbk->Opn]: Compile Failure using --with-gettext (v. 0.12.x)

2003-06-30 Thread beckett at beckettmw dot com
 ID:   24402
 User updated by:  beckett at beckettmw dot com
-Summary:  Compile Failure using --with-gettext
 Reported By:  beckett at beckettmw dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Gettext related
 Operating System: Mac OS X/Darwin
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Update:
---

I have now tested PHP 4.3.1, 4.3.2, 5.0.0b1, as well as 
snaps dated 200306301330 of PHP4-STABLE, PHP4-CVS, and 
PHP5-CVS.

In every case, PHP compiles with no errors if I use 
gettext 0.11.2.

However, if I use gettext 0.12 or 0.12.1, the error 
listed occurs in every case of PHP. So my guess would 
be that something critical has changed in gettext 
between 0.11.2 and 0.12 that's preventing PHP from 
compiling.

I have not yet had time to test this on platforms other 
than Mac OS X, but I will try on a Linux and a FreeBSD 
box later on today if possible.


Previous Comments:


[2003-06-30 07:14:22] [EMAIL PROTECTED]

Do you get the same errors with latest PHP 4 (stable) snapshot? (from
http://snaps.php.net)




[2003-06-30 05:58:50] beckett at beckettmw dot com

Description:

On Mac OS X 10.2.6, I compiled PHP 4.3.1 with gettext 
0.12 and GCC 3.1 (Apple v1151) just fine--no problems.

But with 4.3.2 and now again with 5.0.0b1, I get the 
following compile error when reaching gettext.c:

Compiler command that generates the error:
gcc  -Iext/gettext/ -I/dl/php-5.0.0b1/ext/gettext/ -
DPHP_ATOM_INC -I/dl/php-5.0.0b1/include -I/dl/php-
5.0.0b1/main -I/dl/php-5.0.0b1 -I/dl/php-5.0.0b1/Zend -
I/usr/local/include/libxml2 -I/usr/local/include -I/
usr/local/mysql/include  -no-cpp-precomp -I/dl/php-
5.0.0b1/TSRM  -g -O2  -c /dl/php-5.0.0b1/ext/gettext/
gettext.c -o ext/gettext/gettext.o  && echo > ext/
gettext/gettext.lo

Errors:
/dl/php-5.0.0b1/ext/gettext/gettext.c:37: 
`zif_libintl_textdomain' undeclared here (not in a 
function)
/dl/php-5.0.0b1/ext/gettext/gettext.c:37: initializer 
element is not constant
/dl/php-5.0.0b1/ext/gettext/gettext.c:37: (near 
initialization for `php_gettext_functions[0].handler')
/dl/php-5.0.0b1/ext/gettext/gettext.c:37: initializer 
element is not constant
/dl/php-5.0.0b1/ext/gettext/gettext.c:37: (near 
initialization for `php_gettext_functions[0]')
/dl/php-5.0.0b1/ext/gettext/gettext.c:38: 
`zif_libintl_gettext' undeclared here (not in a 
function)
/dl/php-5.0.0b1/ext/gettext/gettext.c:38: initializer 
element is not constant
/dl/php-5.0.0b1/ext/gettext/gettext.c:38: (near 
initialization for `php_gettext_functions[1].handler')
/dl/php-5.0.0b1/ext/gettext/gettext.c:38: initializer 
element is not constant
/dl/php-5.0.0b1/ext/gettext/gettext.c:38: (near 
initialization for `php_gettext_functions[1]')

(...and so on, one set of errors for each of the 
gettext functions).






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



#24408 [NEW]: misinterpretation (file as a folder/directory - without an error)

2003-06-30 Thread theo at sponholz dot de
From: theo at sponholz dot de
Operating system: Linux 2.2.24-6.2.3
PHP version:  4.3.1
PHP Bug Type: *Directory/Filesystem functions
Bug description:  misinterpretation (file as a folder/directory - without an error)

Description:

the Apache/1.3.26 with php-mod misinterprets a file as a directory
for example:
http://www.sponholz.de/theo.php/
(there is no dir. "/theo.php/" under "http://www.sponholz.de/";, just a
file "theo.php")

if you type "http://www.sponholz.de/theo.php"; the site will be shown
correctly. 

if you type "http://www.sponholz.de/theo.php/"; (with an ending [SLASH]),
then the server shows a site without CCS and pictures. Boths are included
relativ. 

further: 
you can add strings like:
"http://www.sponholz.de/theo.php/type.PHP.what.PHP.you/.want";
instead of returning an error
"http://www.sponholz.de/theo.php/";
will be shown.

my problem / wish:

i wanna get an error, when a file or a dir./folder does not exist. 

by the way (i tried this @ php.net, but the php.net-server refers to
google ...)
thx 4 help,
theo


-- 
Edit bug report at http://bugs.php.net/?id=24408&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24408&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24408&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24408&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24408&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24408&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24408&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24408&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24408&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24408&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24408&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24408&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24408&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24408&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24408&r=gnused



#23877 [Opn]: ob_implicit_flush does not work

2003-06-30 Thread mgf
 ID:   23877
 Updated by:   [EMAIL PROTECTED]
 Reported By:  sthomas at townnews dot com
 Status:   Open
 Bug Type: Output Control
 Operating System: Redhat Linux
 PHP Version:  4.3.2
 New Comment:

There's a second level of buffering after the ob_ buffering.  What is
your implicit_flush setting?  Please also refer to
http://www.php.net/flush


Previous Comments:


[2003-06-30 08:02:09] sthomas at townnews dot com

So... did you read the report at all?  Did you see the part where I
quoted the PHP documentation?  Let me do it again:

"Turning implicit flushing on will disable output buffering, the output
buffers current output will be sent as if ob_end_flush() had been
called."

Therefore, according to this, calling ob_implicit_flush *IMPLIES A CALL
TO OB_END_FLUSH*! What part of YOUR OWN DOCUMENTATION do you not
understand?  Either the documentation is wrong, or PHP is wrong. 
Whichever it is, fix it so there's at least some consistancy.



[2003-06-29 21:07:05] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You should've used ob_end_flush(); instead of ob_implicit_flush();.



[2003-05-29 15:51:03] sthomas at townnews dot com

Please note that the manual says this:

"Turning implicit flushing on will disable output buffering, the output
buffers current output will be sent as if ob_end_flush() had been
called."

Now, I've set output_buffering = 0 in my php.ini script, so supposedly
ob_implicit_flush will flush any buffers started by the script itself,
and continue flushing output thereafter.  Try this:



This script will not output "Hi!" after each iteration through the
loop.  Supposedly the documented behavior of ob_implicit_flush is to
flush all output buffers once it's called, and disable output buffering
for further statements that produce output (print, etc.)

So either the documentation is wrong, or there's a bug in
ob_implicit_flush.  You decide.




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



#23665 [Fbk->Opn]: PHP crashes with segfault as soon as it is loaded

2003-06-30 Thread dm at zamang dot co dot uk
 ID:   23665
 User updated by:  dm at zamang dot co dot uk
 Reported By:  dm at zamang dot co dot uk
-Status:   Feedback
+Status:   Open
 Bug Type: Reproducible crash
 Operating System: SCO OpenServer 5.0.6
 PHP Version:  4.3.2RC3 / RC4
 New Comment:

Just tried php4-STABLE-200306301330

bash-2.03£ gdb ./php ./core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-pc-sco3.2v5.0.5"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsocket.so.2...done.
Loaded symbols for /usr/lib/libsocket.so.2
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libresolv.so.1...done.
Loaded symbols for /usr/lib/libresolv.so.1
£0  0x80021bb2 in getcwd () from /usr/lib/libc.so.1
(gdb) bt
£0  0x80021bb2 in getcwd () from /usr/lib/libc.so.1
£1  0x80073d00 in pathcanon () from /usr/lib/libsocket.so.2
£2  0x80073fe0 in realpath () from /usr/lib/libsocket.so.2
£3  0x80cc6e8 in php_execute_script (primary_file=0x8047cd8)
at /src/php4-STABLE-200306301330/main/main.c:1652
£4  0x8118b7c in main (argc=1, argv=0x8047d20)
at /src/php4-STABLE-200306301330/sapi/cgi/cgi_main.c:1542
£5  0x8059d2b in _start ()
(gdb)


GCC  version is 2.95.2
Make version is 3.78.1


Previous Comments:


[2003-06-29 20:22:07] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-05-25 05:44:28] dm at zamang dot co dot uk

Just downloaded RC4 and tried again.

./configure --prefix=/usr/local/php-4.3.2RC4 --disable-all
--enable-sysvsem --enable-sysvshm --enable-debug

Everything ran though as before but running php from RC4 gave a
segfault.

bash-2.03# gdb ./php ./core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-pc-sco3.2v5.0.5"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsocket.so.2...done.
Loaded symbols for /usr/lib/libsocket.so.2
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libresolv.so.1...done.
Loaded symbols for /usr/lib/libresolv.so.1
#0  0x80021bb2 in getcwd () from /usr/lib/libc.so.1
(gdb) bt
#0  0x80021bb2 in getcwd () from /usr/lib/libc.so.1
#1  0x80073d00 in pathcanon () from /usr/lib/libsocket.so.2
#2  0x80073fe0 in realpath () from /usr/lib/libsocket.so.2
#3  0x80cc490 in php_execute_script (primary_file=0x8047cc4)
at /src/php-4.3.2RC4/main/main.c:1638
#4  0x8118560 in main (argc=1, argv=0x8047d0c)
at /src/php-4.3.2RC4/sapi/cgi/cgi_main.c:1504
#5  0x8059ceb in _start ()
(gdb)



[2003-05-19 19:53:42] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-05-16 16:17:19] dm at zamang dot co dot uk

Compilation attempted on SCO OpenServer 5.0.6 with the following
configure line:

./configure --prefix=/usr/local/php-4.3.1 --disable-all
--enable-sysvsem --enable-sysvshm --enable-debug

The compilation appears to successfully complete and 
Installation takes an age, this seems to be down to the php program in
/sapi/cli segfaulting.  Any attempt to use any of the compiled 'php'
programs also results in a segfault. Once installed the same problem
occurs. Following is a back trace using gdb.

bash-2.03# ./php
Segmentation Fault (core dumped)
bash-2.03# pwd
/usr/local/php-4.3.2RC3/bin
bash-2.03# gdb ./php ./core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License,
and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-pc-sco3.2v5.0.5"...
Core was 

#24401 [Com]: register globals does not work correctly??!!

2003-06-30 Thread philippe dot nonn at cgeyDOT dot com
 ID:   24401
 Comment by:   philippe dot nonn at cgeyDOT dot com
 Reported By:  eero at jlug dot org
 Status:   Open
 Bug Type: *General Issues
 Operating System: Linux
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

Hi,

it seems that register_globals don't even work on the Windows version.

When I call a php form which call phpinfo() with parameters (like
phpinfo.php?foo=test), there is non global variable $foo. 

The only way to get the $foo variable is to use get['foo']

Philippe


Previous Comments:


[2003-06-30 06:34:34] petrich at tronic-media dot com

Hi,
still have the problem;

(register_globals = On in php.ini are ignored, ServerApi = Apache2)

Configure String:
./configure --disable-all
--with-apxs2=/mnt/60giga/samba/public/www/apache2/bin/apxs

Hans-Jürgen Petrich



[2003-06-30 06:22:57] eero at jlug dot org

Now compiled with ./configure  --with-mysql
--with-apxs=/home/apache/bin/apxs and problems still exists.



[2003-06-30 06:01:28] [EMAIL PROTECTED]

1. Drop this:
  export CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"

2. Using /usr/lib as path to ANY php configure option is incorrect (use
/usr instead)

3. Remove following configure options:
  --enable-versioning
  --enable-inline-optimization

4. Try this configure line instead:

  # rm config.cache
  # ./configure --disable-all --with-apxs=home/apache/bin/apxs




[2003-06-30 05:43:07] eero at jlug dot org

and following settings are also on:

register_globals = On
register_long_arrays = On
register_argc_argv = On


echo $QUERY_STRING also stops working and so.



[2003-06-30 05:34:33] eero at jlug dot org

php5 compiled with following on Linux,
Linux lnx 2.4.18-18.7.x with athlon 1400 processor

export CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"

./configure  --with-mysql --with-bz2 --with-gd --with-jpeg-dir=/usr/lib
--with-png-dir=/usr/lib --with-gettext --enable-inline-optimization \
--with-apxs=/home/apache/bin/apxs --with-pgsql --with-zlib-dir=/usr/lib
--enable-ftp --enable-sockets --with-ming --with-mm --with-pdflib \
--enable-mime-magic --enable-dio --enable-calendar --enable-bcmath
--enable-wddx --with-xmlrpc --with-expat --with-dom --with-unixODBC \
--with-freetype --enable-gd-native-ttf --with-gettext --with-gmp
--enable-mbstring --enable-mbregex --enable-xslt --with-xslt-sablot \
--with-sablot-js --enable-shmop --enable-versioning

And register_globals is on and showing in phpinfo()



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/24401

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



#24407 [NEW]: configure: error: pcntl: fork() not supported by this platform

2003-06-30 Thread sonny at sun dot com
From: sonny at sun dot com
Operating system: Solaris 9
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: *Configuration Issues
Bug description:  configure: error: pcntl: fork() not supported by this platform

Description:

Due configure of php5.0beta comes following error:
checking for fork... no
configure: error: pcntl: fork() not supported by this platform

On php4.3.2 was it all fine.

I'm using it on Solaris 9 && SPARC Platform.

Reproduce code:
---
Run an configure on an sparc plattform.

Expected result:

pcntl extension should work.


-- 
Edit bug report at http://bugs.php.net/?id=24407&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24407&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24407&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24407&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24407&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24407&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24407&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24407&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24407&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24407&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24407&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24407&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24407&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24407&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24407&r=gnused



#24396 [Opn->Csd]: foreach ($k=>$v), the key $k is missing

2003-06-30 Thread zeev
 ID:   24396
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jlim at natsoft dot com
-Status:   Open
+Status:   Closed
 Bug Type: Scripting Engine problem
 Operating System: Windows XP
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:


[2003-06-30 08:46:55] sniper at iki dot fi

 1, 'b' => 2, 'c' => 3);

echo PHP_VERSION."";
print_r($arr);

foreach($arr as $k=>$v)  {
global $$k; // comment this out and it works in PHP 5 too..
   
print " ($k=>$v) ";
   
$$k = $v;  
}



[2003-06-30 05:48:29] [EMAIL PROTECTED]

4.3.3RC2-dev
Array ( [a] => 1 [b] => 2 [c] => 3 ) (a=>1) (b=>2) (c=>3)

(just checked that this is just 5.0.0b1 issue)




[2003-06-29 23:48:26] jlim at natsoft dot com

Description:

The following script below fails (missing $k).

Reproduce code:
---
";
print_r($_GET);

foreach($_GET as $k=>$v)  {
global $$k;

print " ($k=>$v) ";

$$k = $v;
}   
?>

Expected result:

5.0.0b1
Array ( [a] => 1 [b] => 2 [c] => 3 ) (a=>1) (b=>2) (c=>3) 

Actual result:
--
5.0.0b1
Array ( [a] => 1 [b] => 2 [c] => 3 ) (=>1) (=>2) (=>3) 





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



#24396 [Com]: foreach ($k=>$v), the key $k is missing

2003-06-30 Thread sniper at iki dot fi
 ID:   24396
 Comment by:   sniper at iki dot fi
 Reported By:  jlim at natsoft dot com
 Status:   Open
 Bug Type: Scripting Engine problem
 Operating System: Windows XP
 PHP Version:  5.0.0b1 (beta1)
 New Comment:

 1, 'b' => 2, 'c' => 3);

echo PHP_VERSION."";
print_r($arr);

foreach($arr as $k=>$v)  {
global $$k; // comment this out and it works in PHP 5 too..
   
print " ($k=>$v) ";
   
$$k = $v;  
}


Previous Comments:


[2003-06-30 05:48:29] [EMAIL PROTECTED]

4.3.3RC2-dev
Array ( [a] => 1 [b] => 2 [c] => 3 ) (a=>1) (b=>2) (c=>3)

(just checked that this is just 5.0.0b1 issue)




[2003-06-29 23:48:26] jlim at natsoft dot com

Description:

The following script below fails (missing $k).

Reproduce code:
---
";
print_r($_GET);

foreach($_GET as $k=>$v)  {
global $$k;

print " ($k=>$v) ";

$$k = $v;
}   
?>

Expected result:

5.0.0b1
Array ( [a] => 1 [b] => 2 [c] => 3 ) (a=>1) (b=>2) (c=>3) 

Actual result:
--
5.0.0b1
Array ( [a] => 1 [b] => 2 [c] => 3 ) (=>1) (=>2) (=>3) 





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



#24406 [NEW]: Failure on FreeTDS Portion

2003-06-30 Thread adam at cryptocomm dot com
From: adam at cryptocomm dot com
Operating system: Redhat 9
PHP version:  5.0.0b1 (beta1)
PHP Bug Type: Compile Failure
Bug description:  Failure on FreeTDS Portion

Description:

Configuring with the "--with-sybase" compile flag pointing to the correct
FreeTDS path causes a compile failure. The configure I am using is:

./configure --with-apxs=/usr/local/apache_1.3.27/bin/apxs
--with-sybase=/usr/local/freetds_0.61
--with-mysql=/usr/local/mysql_4.1.0
--disable-cli
--disable-ctype
--disable-overload
--without-pcre-regex
--disable-tokenizer
--disable-xml

Actual result:
--
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function
`php_sybase_do_connect':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:395: request for
member `value' in something not a structure or union
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function
`zif_sybase_select_db':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:657: invalid type
argument of `unary *'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function
`zif_sybase_free_result':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:915: parse error
before "if"
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: At top level:
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:916: parse error
before "return"
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918:
`sybase_result_index' undeclared here (not in a function)
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: `type'
undeclared here (not in a function)
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: warning:
initialization makes integer from pointer without a cast
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: initializer
element is not constant
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:918: warning: data
definition has no type or storage class
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:920: parse error
before "if"
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:922: parse error
before '->' token
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:924: parse error
before '(' token
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:925: parse error
before '->' token
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function
`zif_sybase_fetch_object':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1069: invalid lvalue
in assignment
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1070: invalid lvalue
in assignment
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function
`zif_sybase_result':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1287: request for
member `value' in something not a structure or union
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c: In function
`zif_sybase_affected_rows':
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type
argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type
argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible
types in initialization
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible
types in assignment
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type
argument of `unary *'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible
type for argument 1 of `_zval_copy_ctor'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type
argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: invalid type
argument of `->'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1331: incompatible
type for argument 1 of `convert_to_long'
/usr/local/php/php-5.0.0b1/ext/sybase/php_sybase_db.c:1332: invalid type
argument of `unary *'
make: *** [ext/sybase/php_sybase_db.lo] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=24406&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24406&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24406&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24406&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24406&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24406&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24406&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24406&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24406&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24406&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24406&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24406&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24406&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24406&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24406&r=gnused



  1   2   >