Bug #16594: mktime() when passed a 0 for the day of the month to get the last day is broken

2002-04-14 Thread lchang

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.5
PHP version:  4.1.2
PHP Bug Type: Date/time related
Bug description:  mktime() when passed a 0 for the day of the month to get the last 
day is broken

When you use mktime(0,0,0,month,day,year) and specify 0 as the day to
get the last day of the month, the last day of the month returned is off.
It seems that the months are all off by 1 after January. So with mktime(),
for February, the last day is the 31st, for March it is the 28th, for
April it is the 31st, etc. And instead February should be the 28th, March
the 31st, and April the 30th, etc...

?php
  //Last day should be 28, but is 31
  $day = getdate( mktime(0,0,0,2,0,2002) );
  print 'The last day for February is: ' . $day[mday]
.'br';
  //Last day should be 31, but is 28
  $day = getdate( mktime(0,0,0,3,0,2002) );
  print 'The last day for March is: ' . $day[mday];
  
?
-- 
Edit bug report at http://bugs.php.net/?id=16594edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16594r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16594r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16594r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16594r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16594r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16594r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16594r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16594r=submittedtwice




Bug #16589 Updated: php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error

2002-04-14 Thread misiek

 ID:   16589
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
-Bug Type: Zlib Related
+Bug Type: Reproducible crash
 Operating System: PLD Linux
 PHP Version:  4.2.0RC3
 New Comment:

Doesn't change anything (category changed). It happens if _any_ of my
php modules is loaded in php.ini...

My php is split in that way, see: ftp://ftp.pld.org.pl/test/i686/php*
(ps. this is apache 1.3 version but I'm using this recompiled with
apache 2.0.35).


Previous Comments:


[2002-04-13 23:26:58] [EMAIL PROTECTED]

What if you remove the zlib.so from your php.ini?




[2002-04-13 12:50:20] [EMAIL PROTECTED]

First update php.ini to reflect the correct extension dir. You're using
a lib compiled with debug=1 and a php version without.

The extension dir, then changes.



[2002-04-13 11:21:18] [EMAIL PROTECTED]

Fix version.



[2002-04-13 11:20:41] [EMAIL PROTECTED]

php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error:

#0  0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx-r-server, %s, msg);
(gdb) bt
#0  0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need...)
at sapi_apache2.c:214
#1  0x00839856 in php_log_err (
log_message=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need..., tsrm_ls=0x1775ff0) at
main.c:324
#2  0x00839d57 in php_error_cb (type=32, error_filename=0x8e8f2b
Unknown, error_lineno=0, 
format=0x8f3de0 %s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHPcompiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n, 
args=0xb758 wâ|) at main.c:459
#3  0x0082c917 in zend_error (type=32, 
format=0x8f3de0 %s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHPcompiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n) at zend.c:682
#4  0x0088cd51 in php_dl (file=0x1d46ff0, type=1,
return_value=0xb7c0, tsrm_ls=0x1775ff0) at dl.c:202
#5  0x0083f5c3 in php_load_function_extension_cb (arg=0x1d46ff0,
tsrm_ls=0x1775ff0) at php_ini.c:188
#6  0x008244cd in zend_llist_apply (l=0x915f3c, func=0x83f58a
php_load_function_extension_cb, tsrm_ls=0x1775ff0)
at zend_llist.c:186
#7  0x0083faa4 in php_ini_delayed_modules_startup (tsrm_ls=0x1775ff0)
at php_ini.c:313
#8  0x0083ba4b in php_module_startup (sf=0x77a020) at main.c:1001
#9  0x00778ca3 in php_apache_server_startup (pconf=0x4d4010,
plog=0x513010, ptemp=0x516010, s=0x4fe118)
at sapi_apache2.c:435
#10 0x080681e5 in ap_run_post_config (pconf=0x4d4010, plog=0x513010,
ptemp=0x516010, s=0x4fe118) at config.c:130
#11 0x0806e545 in main (argc=2, argv=0xb9e4) at main.c:569
#12 0x003c0418 in __libc_start_main () from /lib/libc.so.6
(gdb) frame 0
#0  0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx-r-server, %s, msg);
(gdb) print ctx
$8 = (struct php_struct *) 0x0
(gdb) 





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




Bug #16596: Rlative directory problems in XSL files (xslt extension with Sablotron)

2002-04-14 Thread ruudb

From: [EMAIL PROTECTED]
Operating system: Linux 2.4.18
PHP version:  4.1.2
PHP Bug Type: Apache2 related
Bug description:  Rlative directory problems in XSL files (xslt extension with 
Sablotron)

When using PHP 4.2.0RC3 with Apache 2 filter, the current directory seems
to be set to / instead of the directory where the script resides (however,
system(pwd); returns the correct current directory).

This breaks an XML/XSL oriented website: entries in the XSL files like
xsl:include href=file://../../xsl/html/all.xsl / do not work
anymore. 

The problem does _NOT_ appear with the RC3 when using the Apache 1.3 DSO
or Static SAPI in conjunction with Apache 1.3.22, but only when using the
apache2filter. The versions used are Apache 2.0.35 and PHP 4.2.0 RC3. 
-- 
Edit bug report at http://bugs.php.net/?id=16596edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16596r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16596r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16596r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16596r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16596r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16596r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16596r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16596r=submittedtwice




Bug #15310 Updated: when use object method call session register doesn't work

2002-04-14 Thread sniper

 ID:   15310
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   No Feedback
+Status:   Open
 Bug Type: Session related
 Operating System: linux
 PHP Version:  4.1.1
 New Comment:

reopen..the feedback _was_ given.



Previous Comments:


[2002-04-14 00:00:02] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2002-02-01 02:49:31] [EMAIL PROTECTED]

I mean value of $_SESSION['time'] lost at refresh.
When I comment line $test-t() script works correctly:

Array
(
[time] = 1012549372
)

--new _SESSION:--

Array
(
[time] = 1012549373
)

When I remove comment the output is like this (don't forget begin new
session):

Array
(
)

--new _SESSION:--

Array
(
[time] = 1012549537
)



[2002-02-01 02:22:49] [EMAIL PROTECTED]

What do you mean it has not given result.

If you mean $time does not have value, it's normal.
if $_SESSION['time'] does not have value something wrong.
If you mean you don't see $test-$mT['TEST']['_SESSION_']['time'] does
not have value, it's your bug.

Please try to be more specific.





[2002-01-31 06:06:48] [EMAIL PROTECTED]

I have removed session_register() call and began new session,  but it
has not given result.



[2002-01-31 05:31:45] [EMAIL PROTECTED]

As I changed session manual recently,
NEVER use $_SESSION(or $HTTP_SESSION_VARS) AND
session_register/is_registered/unregister() functions.
(It's not only for 4.1.x but also for 4.0.x)

I warned it already. 

tracked vars and globals are handled inconsistent manner in session
module. 
I really would like to get rid of global var support from session
module for PHP5



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

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




Bug #16589 Updated: php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error

2002-04-14 Thread sniper

 ID:   16589
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: Reproducible crash
 Operating System: PLD Linux
 PHP Version:  4.2.0RC3
 New Comment:

So if there are NO extensions loaded in php.ini, it doesn't
crash? Did you compile those extensions same time you compiled the php
you're trying to load them in? 




Previous Comments:


[2002-04-14 03:04:11] [EMAIL PROTECTED]

Doesn't change anything (category changed). It happens if _any_ of my
php modules is loaded in php.ini...

My php is split in that way, see: ftp://ftp.pld.org.pl/test/i686/php*
(ps. this is apache 1.3 version but I'm using this recompiled with
apache 2.0.35).



[2002-04-13 23:26:58] [EMAIL PROTECTED]

What if you remove the zlib.so from your php.ini?




[2002-04-13 12:50:20] [EMAIL PROTECTED]

First update php.ini to reflect the correct extension dir. You're using
a lib compiled with debug=1 and a php version without.

The extension dir, then changes.



[2002-04-13 11:21:18] [EMAIL PROTECTED]

Fix version.



[2002-04-13 11:20:41] [EMAIL PROTECTED]

php 4.2.0rc3+apache2.0.35+zlib crashes while displaying error:

#0  0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx-r-server, %s, msg);
(gdb) bt
#0  0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need...)
at sapi_apache2.c:214
#1  0x00839856 in php_log_err (
log_message=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need..., tsrm_ls=0x1775ff0) at
main.c:324
#2  0x00839d57 in php_error_cb (type=32, error_filename=0x8e8f2b
Unknown, error_lineno=0, 
format=0x8f3de0 %s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHPcompiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n, 
args=0xb758 wâ|) at main.c:459
#3  0x0082c917 in zend_error (type=32, 
format=0x8f3de0 %s: Unable to initialize module\nModule compiled
with module API=%d, debug=%d, thread-safety=%d\nPHPcompiled with
module API=%d, debug=%d, thread-safety=%d\nThese options need to
match\n) at zend.c:682
#4  0x0088cd51 in php_dl (file=0x1d46ff0, type=1,
return_value=0xb7c0, tsrm_ls=0x1775ff0) at dl.c:202
#5  0x0083f5c3 in php_load_function_extension_cb (arg=0x1d46ff0,
tsrm_ls=0x1775ff0) at php_ini.c:188
#6  0x008244cd in zend_llist_apply (l=0x915f3c, func=0x83f58a
php_load_function_extension_cb, tsrm_ls=0x1775ff0)
at zend_llist.c:186
#7  0x0083faa4 in php_ini_delayed_modules_startup (tsrm_ls=0x1775ff0)
at php_ini.c:313
#8  0x0083ba4b in php_module_startup (sf=0x77a020) at main.c:1001
#9  0x00778ca3 in php_apache_server_startup (pconf=0x4d4010,
plog=0x513010, ptemp=0x516010, s=0x4fe118)
at sapi_apache2.c:435
#10 0x080681e5 in ap_run_post_config (pconf=0x4d4010, plog=0x513010,
ptemp=0x516010, s=0x4fe118) at config.c:130
#11 0x0806e545 in main (argc=2, argv=0xb9e4) at main.c:569
#12 0x003c0418 in __libc_start_main () from /lib/libc.so.6
(gdb) frame 0
#0  0x007783eb in php_apache_sapi_log_message (
msg=0xbfffeec0 PHP Warning:  zlib: Unable to initialize
module\nModule compiled with module API=20010901, debug=1,
thread-safety=1\nPHPcompiled with module API=20010901, debug=0,
thread-safety=1\nThese options need...)
at sapi_apache2.c:214
214 ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO |
APLOG_STARTUP, 0, ctx-r-server, %s, msg);
(gdb) print ctx
$8 = (struct php_struct *) 0x0
(gdb) 





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




Bug #16489 Updated: php_admin_value not allowed in virtualhost

2002-04-14 Thread phpbug

 ID:   16489
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Apache2 related
 Operating System: Freebsd 4.5-stable
-PHP Version:  4.0CVS-2002-04-08
+PHP Version:  4.2.0RC3
 New Comment:

Problem still exists in 4.2.0 RC3.


Previous Comments:


[2002-04-08 16:10:12] [EMAIL PROTECTED]

The virtual host is included from httpd.conf with the include
statement.

It is not directly in httpd.conf



[2002-04-08 07:06:57] [EMAIL PROTECTED]

I upgraded from Apache 1.3.24 to 2.0.35

Apache is configured with:
./configure  --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-ssl --mandir=/usr/local/man

PHP is configured with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local
--with-t1lib --with-jpeg-dir --with-png-dir --with-tiff-dir
--with-zlib-dir
--with-freetype-dir=/usr/local/include/freetype2/freetype --with-imap
--with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp
--enable-bcmath --with-mcrypt --with-dom --with-expat-dir=/usr/local
--enable-xslt --with-xslt-sablot --enable-sablot-errors-descriptive
--with-config-file-path=/usr/local/etc --with-tsrm-pth
--with-apxs2=/usr/local/apache2/bin/apxs

I have a virtual host like this in my httpd.conf:
-- cut
virtualhost 192.168.1.3
 Servername www.domain.dk
 Serveralias domain.dk
 DocumentRoot /home/freakcers/www/www.domain.dk
 ErrorLog /home/freakcers/logs/www.domain.dk/error.log
 CustomLog /home/username/logs/www.domain.dk/access.log combined

 php_admin_value open_basedir /home/username/www:/usr/local/lib/php

 Directory /home/username/www
  Options ExecCGI Includes FollowSymLinks
  AllowOverride All
  Order Deny,Allow
  Allow from all
 /Directory
/virtualhost
-- cut

If i run apachectl configtest i get this error:
Syntax error on line 10 of
/usr/local/apache2/conf/virtualhosts/domain.dk.conf:
php_admin_value not allowed here


If you need any futher details, please advice :-)

Best regards Henrik Larsson




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




Bug #16598: Cannot load libphp4.so: undefined symbol: ap_block_alarms

2002-04-14 Thread roman

From: [EMAIL PROTECTED]
Operating system: linux red hat 7.2
PHP version:  4.2.0
PHP Bug Type: Apache2 related
Bug description:  Cannot load libphp4.so: undefined symbol: ap_block_alarms

Hello,

resources:
1. php-4_2_0RC3
2. mysqld  Ver 3.23.49a for pc-linux-gnu on i686 (rpm)
3. [root@oxic bin]# httpd -v
   Server version: Apache/2.0.35
--
configuration path:
[root@micho conf]# ./configure --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
--
Apache:
[root@micho conf]# grep -i php httpd.conf
#php
AddType application/x-httpd-php .php
LoadModule php4_module /usr/local/apache2/libexec/libphp4.so
LoadModule php4_module /usr/local/apache2/modules/libphp4.so
--
ll /usr/local/apache2/libexec/libphp4.so
-rwxr-xr-x1 root root  1349206 mar  9 00:05
/usr/local/apache2/libexec/libphp4.so

when I try start Apache server then system returns me message:

[root@micho bin]# ./apachectl startssl
Syntax error on line 989 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libphp4.so into server:
/usr/local/apache2/libexec/libphp4.so: undefined symbol: ap_block_alarms
./apachectl startssl: httpd could not be started

---

[root@micho libexec]# ldd -d libphp4.so
libpam.so.0 = /lib/libpam.so.0 (0x40145000)
libssl.so.2 = /lib/libssl.so.2 (0x4014d000)
libcrypto.so.2 = /lib/libcrypto.so.2 (0x4017a000)
libdl.so.2 = /lib/libdl.so.2 (0x4023d000)
libltdl.so.3 = /usr/lib/libltdl.so.3 (0x40242000)
libpspell-modules.so.1 = /usr/lib/libpspell-modules.so.1
(0x40248000)
libstdc++-libc6.2-2.so.3 = /usr/lib/libstdc++-libc6.2-2.so.3
(0x4024a000)
libc.so.6 = /lib/libc.so.6 (0x4028c000)
libz.so.1 = /usr/lib/libz.so.1 (0x403c1000)
libresolv.so.2 = /lib/libresolv.so.2 (0x403cf000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0x403e2000)
libmm.so.11 = /usr/lib/libmm.so.11 (0x403ff000)
libpspell.so.4 = /usr/lib/libpspell.so.4 (0x40404000)
libgmp.so.3 = /usr/lib/libgmp.so.3 (0x4041e000)
libgd.so.1.8 = /usr/lib/libgd.so.1.8 (0x4043f000)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x40471000)
libdb-3.2.so = /lib/libdb-3.2.so (0x4050f000)
libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x405b6000)
libcurl.so.1 = /usr/lib/libcurl.so.1 (0x405bd000)
libbz2.so.1 = /usr/lib/libbz2.so.1 (0x405d8000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x405e8000)
libm.so.6 = /lib/libm.so.6 (0x40615000)
libttf.so.2 = /usr/lib/libttf.so.2 (0x40638000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40662000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x40696000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x406b7000)
libnsl.so.1 = /lib/libnsl.so.1 (0x406d6000)
libgssapi_krb5.so.2 = /usr/kerberos/lib/libgssapi_krb5.so.2
(0x406ed000)
libkrb5.so.3 = /usr/kerberos/lib/libkrb5.so.3 (0x40701000)
libk5crypto.so.3 = /usr/kerberos/lib/libk5crypto.so.3
(0x40759000)
libcom_err.so.2 = /lib/libcom_err.so.2 (0x4076a000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libcom_err.so.3 = /usr/kerberos/lib/libcom_err.so.3 (0x4076d000)
undefined symbol: ap_block_alarms   (./libphp4.so)
undefined symbol: ap_unblock_alarms (./libphp4.so)
undefined symbol: ap_user_id(./libphp4.so)
undefined symbol: ap_server_root(./libphp4.so)
undefined symbol: ap_group_id   (./libphp4.so)
undefined symbol: ap_user_name  (./libphp4.so)
undefined symbol: top_module(./libphp4.so)
undefined symbol: ap_max_requests_per_child (./libphp4.so)

**

I really have no idea how to fix it ..
Any suggestions ?

thank you very much
Roman
-- 
Edit bug report at http://bugs.php.net/?id=16598edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16598r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16598r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16598r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16598r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16598r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16598r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16598r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16598r=submittedtwice




Bug #13500 Updated: copy() gives incorrect open_basedir() errors

2002-04-14 Thread yves

 ID:   13500
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Filesystem function related
 Operating System: Debian GNU/Linux 2.4
 PHP Version:  4.0.6
 New Comment:

Red Hat 7.2, Apache 1.3.20, PHP 4.0.6-12 using Plesk 2.5

copy() is working fine for me with 
Directory /home/httpd/vhosts/mydomain.com/httpdocs
  php_admin_value upload_tmp_dir /tmp
  php_admin_value open_basedir
/home/httpd/vhosts/mydomain.com/httpdocs:/tmp
/Directory


Previous Comments:


[2001-10-01 14:38:23] [EMAIL PROTECTED]


It appears that copy() is overprotective of open_basedir restrictions.

At the web host I administer we restrict each VirtualHost to the owning
user's homedir using php_admin_value open_basedir /tmp:/home/user

All is well unless the user attempts to copy files. With ANY file
copying operation, even copying files within one directory that is
allowed by open_basedir, copy() fails with an open_basedir error (File
is in wrong directory, open_basedir restriction in effect.) The
directory the error complains about is ALWAYS allowed in the user's
open_basedir setting.

This is especially evident when uploading files. open_basedir is set to
allow for access to /tmp, but if users attempt to copy() an uploaded
file from /tmp to /home/user, it gives an error. If the user instead
calls move_uploaded_file() it is successful.




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




Bug #14994 Updated: Adding TIFF support to GetImageSize

2002-04-14 Thread helly

 ID:  14994
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Analyzed
+Status:  Closed
 Bug Type:Feature/Change Request
 PHP Version: 4.1.1
-Assigned To: 
+Assigned To: helly
 New Comment:

Included in 4.2


Previous Comments:


[2002-03-02 12:30:39] [EMAIL PROTECTED]

Next version of read_exif_data will provide the information needed. So
i think we can add a constant for TIFF and add support...



[2002-01-11 06:07:43] [EMAIL PROTECTED]

I know, that Rasmus made the implementation for this function and that
he used the header readouts from an imageinfo.c, but I'm missing the
ability to identify TIFF images.
As i'm not firm with imageheaders, I'd like to ask someone to implement
this feature.




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




Bug #13508 Updated: read exif data not working on large thumbnails

2002-04-14 Thread helly

 ID:   13508
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   No Feedback
+Status:   Assigned
 Bug Type: *Graphics related
 Operating System: Linux
 PHP Version:  4.0.6
-Assigned To:  
+Assigned To:  helly
 New Comment:

Try with CVS or PHP 4.2 please...


Previous Comments:


[2002-02-02 06:43:23] [EMAIL PROTECTED]

No feedback was provided for this bug, so it is being suspended.
If you are able to provide the information that was requested,
please do so and change the status of the bug back to Open.



[2002-01-11 17:27:19] [EMAIL PROTECTED]

Can you try this with 4.1.1?



[2001-10-02 06:54:38] [EMAIL PROTECTED]

This (Bug #11784) can't really be classified as Closed, because it
still won't enable 'large' thumbnails to be extracted from the EXIF
data.

My application requires that I extract the actual thumbnail image from
the Exif data of the digital image.

Will READ-EXIF-DATA be fixed to handle large thumbnails - or just
ignore them?? (at least the fix extracts the other data) 




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




Bug #16599: strange behaviour with IE

2002-04-14 Thread georg_gruber

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.1.2
PHP Bug Type: Unknown/Other Function
Bug description:  strange behaviour with IE

see the file:
http://ggnxp.com/tests/submiterror.php

description:
abnormal form submit behaviour with IE (maybe IE error?).

try this:
enter a value and hit enter with the mouse.

enter a value and hit enter with the space key.

enter a value and press enter in the text field (IN THE
textfield!!)...NOTHING HAPPENS??

error experienced with IE 6.0.2600., german edition.

[EMAIL PROTECTED]
-- 
Edit bug report at http://bugs.php.net/?id=16599edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16599r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16599r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16599r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16599r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16599r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16599r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16599r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16599r=submittedtwice




Bug #16599 Updated: strange submit behaviour with IE

2002-04-14 Thread georg_gruber

 ID:   16599
 Updated by:   [EMAIL PROTECTED]
-Summary:  strange behaviour with IE
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Unknown/Other Function
 Operating System: Linux
 PHP Version:  4.1.2
 New Comment:

tested on netscape 6.2 NO ERROR so far??


Previous Comments:


[2002-04-14 13:56:31] [EMAIL PROTECTED]

see the file:
http://ggnxp.com/tests/submiterror.php

description:
abnormal form submit behaviour with IE (maybe IE error?).

try this:
enter a value and hit enter with the mouse.

enter a value and hit enter with the space key.

enter a value and press enter in the text field (IN THE
textfield!!)...NOTHING HAPPENS??

error experienced with IE 6.0.2600., german edition.

[EMAIL PROTECTED]




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




Bug #16598 Updated: Cannot load libphp4.so: undefined symbol: ap_block_alarms

2002-04-14 Thread sniper

 ID:   16598
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Apache2 related
 Operating System: linux red hat 7.2
 PHP Version:  4.2.0
 New Comment:

There is no such symbol in Apache2.
You've somehow mixed up apache 1.3.x stuff with Apache2..
Why do you load two modules? In Apache2 the DSOs are in 
modules/ directory..

--Jani



Previous Comments:


[2002-04-14 11:35:12] [EMAIL PROTECTED]

Hello,

resources:
1. php-4_2_0RC3
2. mysqld  Ver 3.23.49a for pc-linux-gnu on i686 (rpm)
3. [root@oxic bin]# httpd -v
   Server version: Apache/2.0.35
--
configuration path:
[root@micho conf]# ./configure --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
--
Apache:
[root@micho conf]# grep -i php httpd.conf
#php
AddType application/x-httpd-php .php
LoadModule php4_module /usr/local/apache2/libexec/libphp4.so
LoadModule php4_module /usr/local/apache2/modules/libphp4.so
--
ll /usr/local/apache2/libexec/libphp4.so
-rwxr-xr-x1 root root  1349206 mar  9 00:05
/usr/local/apache2/libexec/libphp4.so

when I try start Apache server then system returns me message:

[root@micho bin]# ./apachectl startssl
Syntax error on line 989 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libphp4.so into server:
/usr/local/apache2/libexec/libphp4.so: undefined symbol:
ap_block_alarms
./apachectl startssl: httpd could not be started

---

[root@micho libexec]# ldd -d libphp4.so
libpam.so.0 = /lib/libpam.so.0 (0x40145000)
libssl.so.2 = /lib/libssl.so.2 (0x4014d000)
libcrypto.so.2 = /lib/libcrypto.so.2 (0x4017a000)
libdl.so.2 = /lib/libdl.so.2 (0x4023d000)
libltdl.so.3 = /usr/lib/libltdl.so.3 (0x40242000)
libpspell-modules.so.1 = /usr/lib/libpspell-modules.so.1
(0x40248000)
libstdc++-libc6.2-2.so.3 = /usr/lib/libstdc++-libc6.2-2.so.3
(0x4024a000)
libc.so.6 = /lib/libc.so.6 (0x4028c000)
libz.so.1 = /usr/lib/libz.so.1 (0x403c1000)
libresolv.so.2 = /lib/libresolv.so.2 (0x403cf000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0x403e2000)
libmm.so.11 = /usr/lib/libmm.so.11 (0x403ff000)
libpspell.so.4 = /usr/lib/libpspell.so.4 (0x40404000)
libgmp.so.3 = /usr/lib/libgmp.so.3 (0x4041e000)
libgd.so.1.8 = /usr/lib/libgd.so.1.8 (0x4043f000)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x40471000)
libdb-3.2.so = /lib/libdb-3.2.so (0x4050f000)
libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x405b6000)
libcurl.so.1 = /usr/lib/libcurl.so.1 (0x405bd000)
libbz2.so.1 = /usr/lib/libbz2.so.1 (0x405d8000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x405e8000)
libm.so.6 = /lib/libm.so.6 (0x40615000)
libttf.so.2 = /usr/lib/libttf.so.2 (0x40638000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40662000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x40696000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x406b7000)
libnsl.so.1 = /lib/libnsl.so.1 (0x406d6000)
libgssapi_krb5.so.2 = /usr/kerberos/lib/libgssapi_krb5.so.2
(0x406ed000)
libkrb5.so.3 = /usr/kerberos/lib/libkrb5.so.3 (0x40701000)
libk5crypto.so.3 = /usr/kerberos/lib/libk5crypto.so.3
(0x40759000)
libcom_err.so.2 = /lib/libcom_err.so.2 (0x4076a000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libcom_err.so.3 = /usr/kerberos/lib/libcom_err.so.3
(0x4076d000)
undefined symbol: ap_block_alarms   (./libphp4.so)
undefined symbol: ap_unblock_alarms (./libphp4.so)
undefined symbol: ap_user_id(./libphp4.so)
undefined symbol: ap_server_root(./libphp4.so)
undefined symbol: ap_group_id   (./libphp4.so)
undefined symbol: ap_user_name  (./libphp4.so)
undefined symbol: top_module(./libphp4.so)
undefined symbol: ap_max_requests_per_child (./libphp4.so)

**

I really have no idea how to fix it ..
Any suggestions ?

thank you very much
Roman




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




Bug #16599 Updated: strange behaviour with IE

2002-04-14 Thread sniper

 ID:   16599
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Unknown/Other Function
 Operating System: Linux
 PHP Version:  4.1.2


Previous Comments:


[2002-04-14 14:06:26] [EMAIL PROTECTED]

bogus.
Don't rely on input type=submit.

Well known.
Use:
if(isset($_POST['param']), not if(isset($_POST['store']).



[2002-04-14 13:59:21] [EMAIL PROTECTED]

tested on netscape 6.2 NO ERROR so far??



[2002-04-14 13:56:31] [EMAIL PROTECTED]

see the file:
http://ggnxp.com/tests/submiterror.php

description:
abnormal form submit behaviour with IE (maybe IE error?).

try this:
enter a value and hit enter with the mouse.

enter a value and hit enter with the space key.

enter a value and press enter in the text field (IN THE
textfield!!)...NOTHING HAPPENS??

error experienced with IE 6.0.2600., german edition.

[EMAIL PROTECTED]




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




Bug #15634 Updated: Problem with opendir function

2002-04-14 Thread elixer

 ID:   15634
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: *Directory/Filesystem functions
 Operating System: WIn XP
 PHP Version:  4.1.1
 New Comment:

Are you receiving an error message at all?  Could you try putting the
following piece of code before your opendir call and tell us if it then
gives you an error message?

error_reporting(E_ALL);

Sean


Previous Comments:


[2002-02-19 18:22:29] [EMAIL PROTECTED]

Hello,

I meet a problem with this code:
c:\ is my hard drive

to obtain the files in the directory of my hard drive, c:/planning/,
the code is :
$dossier=opendir(c:/planning/);
echo $dossier;

this code work fine. 

It display me the ressource.


//**


But when I want obtain files in a remote directory H:/planning by
example, normaly the code is :
$dossier=opendir(h:/planning/);
echo $dossier;

this code don't work, it display me nothing.

I test this code on several computers, and I obtain the same problem.

I think that it's a bug.

could you confirm me ?


Thanks about your help .

Christophe







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




Bug #16598 Updated: Cannot load libphp4.so: undefined symbol: ap_block_alarms

2002-04-14 Thread roman

 ID:   16598
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Bogus
+Status:   Closed
 Bug Type: Apache2 related
 Operating System: linux red hat 7.2
 PHP Version:  4.2.0
 New Comment:

Thanks, my stupid mistake ...

now http.conf for php looks like:

#php
AddType application/x-httpd-php .php
LoadModule php4_module /usr/local/apache2/modules/libphp4.so

and it's working :)

thanks again!

Roman


Previous Comments:


[2002-04-14 14:18:26] [EMAIL PROTECTED]

There is no such symbol in Apache2.
You've somehow mixed up apache 1.3.x stuff with Apache2..
Why do you load two modules? In Apache2 the DSOs are in 
modules/ directory..

--Jani




[2002-04-14 11:35:12] [EMAIL PROTECTED]

Hello,

resources:
1. php-4_2_0RC3
2. mysqld  Ver 3.23.49a for pc-linux-gnu on i686 (rpm)
3. [root@oxic bin]# httpd -v
   Server version: Apache/2.0.35
--
configuration path:
[root@micho conf]# ./configure --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
--
Apache:
[root@micho conf]# grep -i php httpd.conf
#php
AddType application/x-httpd-php .php
LoadModule php4_module /usr/local/apache2/libexec/libphp4.so
LoadModule php4_module /usr/local/apache2/modules/libphp4.so
--
ll /usr/local/apache2/libexec/libphp4.so
-rwxr-xr-x1 root root  1349206 mar  9 00:05
/usr/local/apache2/libexec/libphp4.so

when I try start Apache server then system returns me message:

[root@micho bin]# ./apachectl startssl
Syntax error on line 989 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libphp4.so into server:
/usr/local/apache2/libexec/libphp4.so: undefined symbol:
ap_block_alarms
./apachectl startssl: httpd could not be started

---

[root@micho libexec]# ldd -d libphp4.so
libpam.so.0 = /lib/libpam.so.0 (0x40145000)
libssl.so.2 = /lib/libssl.so.2 (0x4014d000)
libcrypto.so.2 = /lib/libcrypto.so.2 (0x4017a000)
libdl.so.2 = /lib/libdl.so.2 (0x4023d000)
libltdl.so.3 = /usr/lib/libltdl.so.3 (0x40242000)
libpspell-modules.so.1 = /usr/lib/libpspell-modules.so.1
(0x40248000)
libstdc++-libc6.2-2.so.3 = /usr/lib/libstdc++-libc6.2-2.so.3
(0x4024a000)
libc.so.6 = /lib/libc.so.6 (0x4028c000)
libz.so.1 = /usr/lib/libz.so.1 (0x403c1000)
libresolv.so.2 = /lib/libresolv.so.2 (0x403cf000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0x403e2000)
libmm.so.11 = /usr/lib/libmm.so.11 (0x403ff000)
libpspell.so.4 = /usr/lib/libpspell.so.4 (0x40404000)
libgmp.so.3 = /usr/lib/libgmp.so.3 (0x4041e000)
libgd.so.1.8 = /usr/lib/libgd.so.1.8 (0x4043f000)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x40471000)
libdb-3.2.so = /lib/libdb-3.2.so (0x4050f000)
libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x405b6000)
libcurl.so.1 = /usr/lib/libcurl.so.1 (0x405bd000)
libbz2.so.1 = /usr/lib/libbz2.so.1 (0x405d8000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x405e8000)
libm.so.6 = /lib/libm.so.6 (0x40615000)
libttf.so.2 = /usr/lib/libttf.so.2 (0x40638000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40662000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x40696000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x406b7000)
libnsl.so.1 = /lib/libnsl.so.1 (0x406d6000)
libgssapi_krb5.so.2 = /usr/kerberos/lib/libgssapi_krb5.so.2
(0x406ed000)
libkrb5.so.3 = /usr/kerberos/lib/libkrb5.so.3 (0x40701000)
libk5crypto.so.3 = /usr/kerberos/lib/libk5crypto.so.3
(0x40759000)
libcom_err.so.2 = /lib/libcom_err.so.2 (0x4076a000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libcom_err.so.3 = /usr/kerberos/lib/libcom_err.so.3
(0x4076d000)
undefined symbol: ap_block_alarms   (./libphp4.so)
undefined symbol: ap_unblock_alarms (./libphp4.so)
undefined symbol: ap_user_id(./libphp4.so)
undefined symbol: ap_server_root(./libphp4.so)
undefined symbol: ap_group_id   (./libphp4.so)
undefined symbol: ap_user_name  (./libphp4.so)
undefined symbol: top_module(./libphp4.so)
undefined symbol: ap_max_requests_per_child (./libphp4.so)

**

I really have no idea how to fix it ..
Any suggestions ?

thank you very much
Roman




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




Bug #16600 Updated: Extend the extends-keyword

2002-04-14 Thread mfischer

 ID:   16600
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Feature/Change Request
 Operating System: Any
 PHP Version:  4.2.0
 New Comment:

This is currently being discussed on ZE2.

It's useless to report such kind of reports. ZE2 will become what it
becomes. If people want such huge aspects to be changed, either bring
this up on the appropriate list or contribute.


Previous Comments:


[2002-04-14 15:06:19] [EMAIL PROTECTED]

It would be nice if more than one class can be parent of my class.

?php

class a {
  function a() { }
}
class b {
  function b() { }
}
class c extends a, b {
  function c() {
$this-a();
$this-b();
  }
}
?




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




Bug #16601: php_bz2.dll won't load

2002-04-14 Thread norny

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.2.0
PHP Bug Type: Bzip2 Related
Bug description:  php_bz2.dll won't load

I tried just to load all the extensions in 4.2.0RC4. I get a popup notice
that says php_bz2.dll can't be found even though it's in the same
directory with all the other extensions that load fine.
-- 
Edit bug report at http://bugs.php.net/?id=16601edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16601r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16601r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16601r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16601r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16601r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16601r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16601r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16601r=submittedtwice




Bug #16602: php_interbase.dll won't load

2002-04-14 Thread norny

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.2.0
PHP Bug Type: InterBase related
Bug description:  php_interbase.dll won't load

I tried just to load all the extensions in 4.2.0RC4. I get a popup notice
that says php_interbase.dll can't be found even though it's in the same
directory with all the other extensions that load fine.
-- 
Edit bug report at http://bugs.php.net/?id=16602edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16602r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16602r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16602r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16602r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16602r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16602r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16602r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16602r=submittedtwice




Bug #16603: php_mssql.dll won't load

2002-04-14 Thread norny

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.2.0
PHP Bug Type: MSSQL related
Bug description:  php_mssql.dll won't load

I tried just to load all the extensions in 4.2.0RC4. I get a popup notice
that says php_mssql.dll can't be found even though it's in the same
directory with all the other extensions that load fine.
-- 
Edit bug report at http://bugs.php.net/?id=16603edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16603r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16603r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16603r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16603r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16603r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16603r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16603r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16603r=submittedtwice




Bug #16604: Apache 2 hangs with RC4

2002-04-14 Thread veb

From: [EMAIL PROTECTED]
Operating system: WinXP
PHP version:  4.0CVS-2002-04-14
PHP Bug Type: Apache2 related
Bug description:  Apache 2 hangs with RC4

Running PHP 4.2.0 RC4 (php-4.2.0RC4-win32.zip 14-Apr-2002 14:18) on Apache
2.0.35 I got this error:

C:\Internet\Apache Group\Apache2\binapache

apache: module C:\home\php\php4\SAPI\APACHE2FILTER\sapi_apache2.c is not
compatible with this version of Apache.
Please contact the vendor for the correct version.

But my module load row is:

LoadModule php4_module C:/Sviluppo/php/experimental/apache2filter.dll

RC3 was OK...
I have no modules loaded in PHP and I've updated the php4ts.dll in the
winnt/system32 dir.
-- 
Edit bug report at http://bugs.php.net/?id=16604edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16604r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16604r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16604r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16604r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16604r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16604r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16604r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16604r=submittedtwice




Bug #16604 Updated: Apache 2 hangs with RC4

2002-04-14 Thread veb

 ID:   16604
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Apache2 related
 Operating System: WinXP
-PHP Version:  4.0CVS-2002-04-14
+PHP Version:  4.2.0 RC4
 New Comment:

Corrected the version


Previous Comments:


[2002-04-14 17:31:33] [EMAIL PROTECTED]

Running PHP 4.2.0 RC4 (php-4.2.0RC4-win32.zip 14-Apr-2002 14:18) on
Apache 2.0.35 I got this error:

C:\Internet\Apache Group\Apache2\binapache

apache: module C:\home\php\php4\SAPI\APACHE2FILTER\sapi_apache2.c is
not compatible with this version of Apache.
Please contact the vendor for the correct version.

But my module load row is:

LoadModule php4_module C:/Sviluppo/php/experimental/apache2filter.dll

RC3 was OK...
I have no modules loaded in PHP and I've updated the php4ts.dll in the
winnt/system32 dir.




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




Bug #16605: Apache Seg Fault when accessing image fields

2002-04-14 Thread dev

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.4 Release
PHP version:  4.1.2
PHP Bug Type: Sybase-ct (ctlib) related
Bug description:  Apache Seg Fault when accessing image fields

When using FreeDTS to connect to SQL Server 2000, 'image' fields cause
apache to seg fault.

From PHP I can insert the binary data, however.

After consulting with the freedts developers, I have tried using the set
textsize command, which has not fixed the issue.  Other tools using the
same libaries can connect and select / retrieve this field, so the issue
appers to be with PHP.

PHP Compile line:

./configure  --with-apache=../apache_1.3.24 --with-pdflib=/usr/local
--with-xml --disable-debug --enable-track-vars --enable-shared=pdflib
--with-zlib --enable-ersioning --with-sybase=/usr/local


-- 
Edit bug report at http://bugs.php.net/?id=16605edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16605r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16605r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16605r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16605r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16605r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16605r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16605r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16605r=submittedtwice




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread sniper

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: Bzip2 Related
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

Is that file from the same package or is it some old dll?



Previous Comments:


[2002-04-14 17:14:33] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_bz2.dll can't be found even though it's in the
same directory with all the other extensions that load fine.




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




Bug #16602 Updated: php_interbase.dll won't load

2002-04-14 Thread sniper

 ID:   16602
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: InterBase related
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php


Previous Comments:


[2002-04-14 17:16:00] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_interbase.dll can't be found even though it's in
the same directory with all the other extensions that load fine.




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




Bug #16603 Updated: php_mssql.dll won't load

2002-04-14 Thread sniper

 ID:   16603
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: MSSQL related
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php


Previous Comments:


[2002-04-14 17:16:29] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_mssql.dll can't be found even though it's in the
same directory with all the other extensions that load fine.




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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread sniper

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
-Bug Type: Bzip2 Related
+Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

And have you replaced php4ts.dll with the one found in the 
RC4 package? And do some other extensions load? which ones?
have you copied the bundled dlls from the package?

http://www.php.net/manual/en/install.windows.php#install.windows.extensions


(And please don't open multiple bug reports about same issues)




Previous Comments:


[2002-04-14 18:34:46] [EMAIL PROTECTED]

Is that file from the same package or is it some old dll?




[2002-04-14 17:14:33] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_bz2.dll can't be found even though it's in the
same directory with all the other extensions that load fine.




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




Bug #16595 Updated: When PHP compiled as CGI - POST variables don't set

2002-04-14 Thread sniper

 ID:   16595
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
-Bug Type: *General Issues
+Bug Type: HTTP related
 Operating System: FreeBSD 4.5
 PHP Version:  4.1.2
 New Comment:

Which Apache version is it?



Previous Comments:


[2002-04-14 04:03:02] [EMAIL PROTECTED]

When PHP compiled as CGI for Apache - POST variables don't set.

./configure --prefix=/usr --with-config-file-path=/etc/httpd/conf
--enable-force-cgi-redirect --with-mysql=/usr/local --with-gd
--with-pgsql=/usr

I cannot access to it by $_POST['field_name'] or
$HTTP_POST_VARS['field_name'] or $field_name.

Script example
index.php 

?php
print $HTTP_POST_VARS['username'].br;
print $_POST['username'].br;
print $username.br;
?

form action=index.php method=POST
input type=text name=username value=alex
input type=submit value=Send
/form





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




Bug #16582 Updated: unserialize_callback_func isnt changeable

2002-04-14 Thread ian . ferger

 ID:   16582
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: PHP options/info functions
 Operating System: red hat linux
 PHP Version:  4.1.2
 New Comment:

but 4.2 is only in test.and 4.1.2 is the last. how can you have
done many projects with it if it hasnt been implemented in any release?


Previous Comments:


[2002-04-14 18:40:40] [EMAIL PROTECTED]

First of all, try with PHP 4.2.0RC4 from http://www.php.net/~derick/
and if you can reproduce this 
problem with it, add a _complete_ but short example
script into this bug report.




[2002-04-13 05:27:04] [EMAIL PROTECTED]

I cannot find any unserialize_callback_func-implementation in the
source of your version :(
I'm sorry.. but i have no idea why :((
The feature is not that bad, and works fine for me in many projects... 



[2002-04-13 03:03:33] [EMAIL PROTECTED]

am unable to set unserialize_callback_func using ini_set.
I can see it in my php.ini, but when i use the following script
(adapted from code given on the unserialize() function page):

ini_set('unserialize_callback_func','thecallback');

function thecallback($classname) {
  echo calling back;
  $filename=includez/.$classname..cls.php;
  include($filename);
 }

after unserializing I would have expected to see the echo statement,
but it just wont seem to work at all.






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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread norny

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

It is from the same package and I did replace the old 4.1.1 php4ts.dll
with the one in the 4.2.0RC4 package. ctype, db, dbase, dbx, filepro,
hyperwave, mbstring, shmop, sockets, tokenizer, and w32api are the ones
that load without error.


Previous Comments:


[2002-04-14 18:37:25] [EMAIL PROTECTED]

And have you replaced php4ts.dll with the one found in the 
RC4 package? And do some other extensions load? which ones?
have you copied the bundled dlls from the package?

http://www.php.net/manual/en/install.windows.php#install.windows.extensions


(And please don't open multiple bug reports about same issues)





[2002-04-14 18:34:46] [EMAIL PROTECTED]

Is that file from the same package or is it some old dll?




[2002-04-14 17:14:33] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_bz2.dll can't be found even though it's in the
same directory with all the other extensions that load fine.




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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread norny

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

I'm not sure if it helps, but I click the OK button for the error
message on a phpinfo() page once for php_bz2.dll, once for
php_interbase.dll, and once for php_mssql.dll, then I have to go again
for another round of clicking OK, but with clicking twice for each
extension.


Previous Comments:


[2002-04-14 19:10:01] [EMAIL PROTECTED]

It is from the same package and I did replace the old 4.1.1 php4ts.dll
with the one in the 4.2.0RC4 package. ctype, db, dbase, dbx, filepro,
hyperwave, mbstring, shmop, sockets, tokenizer, and w32api are the ones
that load without error.



[2002-04-14 18:37:25] [EMAIL PROTECTED]

And have you replaced php4ts.dll with the one found in the 
RC4 package? And do some other extensions load? which ones?
have you copied the bundled dlls from the package?

http://www.php.net/manual/en/install.windows.php#install.windows.extensions


(And please don't open multiple bug reports about same issues)





[2002-04-14 18:34:46] [EMAIL PROTECTED]

Is that file from the same package or is it some old dll?




[2002-04-14 17:14:33] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_bz2.dll can't be found even though it's in the
same directory with all the other extensions that load fine.




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




Bug #16606: Destructors

2002-04-14 Thread hayden90

From: [EMAIL PROTECTED]
Operating system: win2k
PHP version:  4.2.0
PHP Bug Type: Feature/Change Request
Bug description:  Destructors

Could you please add destructors to classes. It would make things so much
easier. Thanks.
-- 
Edit bug report at http://bugs.php.net/?id=16606edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16606r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16606r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16606r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16606r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16606r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16606r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16606r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16606r=submittedtwice




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread sniper

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
-PHP Version:  4.2.0
+PHP Version:  4.2.0RC4
 New Comment:

Are you running PHP as CGI or some webserver module?
And if the latter, which webserver and version?
Are you sure you have really replaced the correct php4ts.dll? And that
you don't have some older one laying
around somewhere? Tried booting yet? :)



Previous Comments:


[2002-04-14 19:18:46] [EMAIL PROTECTED]

I'm not sure if it helps, but I click the OK button for the error
message on a phpinfo() page once for php_bz2.dll, once for
php_interbase.dll, and once for php_mssql.dll, then I have to go again
for another round of clicking OK, but with clicking twice for each
extension.



[2002-04-14 19:10:01] [EMAIL PROTECTED]

It is from the same package and I did replace the old 4.1.1 php4ts.dll
with the one in the 4.2.0RC4 package. ctype, db, dbase, dbx, filepro,
hyperwave, mbstring, shmop, sockets, tokenizer, and w32api are the ones
that load without error.



[2002-04-14 18:37:25] [EMAIL PROTECTED]

And have you replaced php4ts.dll with the one found in the 
RC4 package? And do some other extensions load? which ones?
have you copied the bundled dlls from the package?

http://www.php.net/manual/en/install.windows.php#install.windows.extensions


(And please don't open multiple bug reports about same issues)





[2002-04-14 18:34:46] [EMAIL PROTECTED]

Is that file from the same package or is it some old dll?




[2002-04-14 17:14:33] [EMAIL PROTECTED]

I tried just to load all the extensions in 4.2.0RC4. I get a popup
notice that says php_bz2.dll can't be found even though it's in the
same directory with all the other extensions that load fine.




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




Bug #16595 Updated: When PHP compiled as CGI - POST variables don't set

2002-04-14 Thread alm

 ID:   16595
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: HTTP related
 Operating System: FreeBSD 4.5
 PHP Version:  4.1.2
 New Comment:

Sorry. I already solve my problem.

It was not PHP problem. It was Apache + mod_bandwidth problem.

Thank you


Previous Comments:


[2002-04-14 18:41:26] [EMAIL PROTECTED]

Which Apache version is it?




[2002-04-14 04:03:02] [EMAIL PROTECTED]

When PHP compiled as CGI for Apache - POST variables don't set.

./configure --prefix=/usr --with-config-file-path=/etc/httpd/conf
--enable-force-cgi-redirect --with-mysql=/usr/local --with-gd
--with-pgsql=/usr

I cannot access to it by $_POST['field_name'] or
$HTTP_POST_VARS['field_name'] or $field_name.

Script example
index.php 

?php
print $HTTP_POST_VARS['username'].br;
print $_POST['username'].br;
print $username.br;
?

form action=index.php method=POST
input type=text name=username value=alex
input type=submit value=Send
/form





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




Bug #16595 Updated: When PHP compiled as CGI - POST variables don't set

2002-04-14 Thread sniper

 ID:   16595
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: HTTP related
 Operating System: FreeBSD 4.5
 PHP Version:  4.1.2
 New Comment:

Bogus then. Thanks for letting us know..



Previous Comments:


[2002-04-14 19:27:17] [EMAIL PROTECTED]

Sorry. I already solve my problem.

It was not PHP problem. It was Apache + mod_bandwidth problem.

Thank you



[2002-04-14 18:41:26] [EMAIL PROTECTED]

Which Apache version is it?




[2002-04-14 04:03:02] [EMAIL PROTECTED]

When PHP compiled as CGI for Apache - POST variables don't set.

./configure --prefix=/usr --with-config-file-path=/etc/httpd/conf
--enable-force-cgi-redirect --with-mysql=/usr/local --with-gd
--with-pgsql=/usr

I cannot access to it by $_POST['field_name'] or
$HTTP_POST_VARS['field_name'] or $field_name.

Script example
index.php 

?php
print $HTTP_POST_VARS['username'].br;
print $_POST['username'].br;
print $username.br;
?

form action=index.php method=POST
input type=text name=username value=alex
input type=submit value=Send
/form





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




Bug #16489 Updated: php_admin_value not allowed in virtualhost

2002-04-14 Thread phpbug

 ID:   16489
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Apache2 related
 Operating System: Freebsd 4.5-stable
-PHP Version:  4.2.0RC3
+PHP Version:  4.2.0RC4
 New Comment:

Problem still exist in 4.2.0 RC4.


Previous Comments:


[2002-04-14 10:13:38] [EMAIL PROTECTED]

Problem still exists in 4.2.0 RC3.



[2002-04-08 16:10:12] [EMAIL PROTECTED]

The virtual host is included from httpd.conf with the include
statement.

It is not directly in httpd.conf



[2002-04-08 07:06:57] [EMAIL PROTECTED]

I upgraded from Apache 1.3.24 to 2.0.35

Apache is configured with:
./configure  --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-ssl --mandir=/usr/local/man

PHP is configured with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local
--with-t1lib --with-jpeg-dir --with-png-dir --with-tiff-dir
--with-zlib-dir
--with-freetype-dir=/usr/local/include/freetype2/freetype --with-imap
--with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp
--enable-bcmath --with-mcrypt --with-dom --with-expat-dir=/usr/local
--enable-xslt --with-xslt-sablot --enable-sablot-errors-descriptive
--with-config-file-path=/usr/local/etc --with-tsrm-pth
--with-apxs2=/usr/local/apache2/bin/apxs

I have a virtual host like this in my httpd.conf:
-- cut
virtualhost 192.168.1.3
 Servername www.domain.dk
 Serveralias domain.dk
 DocumentRoot /home/freakcers/www/www.domain.dk
 ErrorLog /home/freakcers/logs/www.domain.dk/error.log
 CustomLog /home/username/logs/www.domain.dk/access.log combined

 php_admin_value open_basedir /home/username/www:/usr/local/lib/php

 Directory /home/username/www
  Options ExecCGI Includes FollowSymLinks
  AllowOverride All
  Order Deny,Allow
  Allow from all
 /Directory
/virtualhost
-- cut

If i run apachectl configtest i get this error:
Syntax error on line 10 of
/usr/local/apache2/conf/virtualhosts/domain.dk.conf:
php_admin_value not allowed here


If you need any futher details, please advice :-)

Best regards Henrik Larsson




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




Bug #14594 Updated: Failed to compile/run when using Apache 2.x, unresolved symbols

2002-04-14 Thread klansman

 ID:   14594
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Apache2 related
 Operating System: FreeBSD 4.4-STABLE
 PHP Version:  4.1.0
 New Comment:

i had the same problem.

using freebsd 4.5, apache 2.0.25, php 4.2.0RC3

trying with gnu-pth


Previous Comments:


[2002-04-07 11:42:12] [EMAIL PROTECTED]

Same problem still on FreeBSD4.5
tested with:

apache cvs 2.0.36 with php4.2.0RC2
apache cvs 2.0.36 with last php cvs (update on 7/04)
apache release 2.0.35 with php4.2.0RC
apache release 2.0.35 with last php cvs

finally works with using trsm-pth with in php configure.



[2002-04-06 15:04:18] [EMAIL PROTECTED]

FreeBSD 4.5-RELEASE
Apache 2.0.35
CVS PHP (pulled 2002-04-06 ~14:00 EST)

PHP config line:
./configure --with-apxs2 --enable-track-vars --enable-versioning
--with-mysql=/usr/local/mysql

And the result:
Cannot load /usr/local/lib/apache/modules/libphp4.so into server:
/usr/local/lib/apache/modules/libphp4.so: Undefined symbol
pthread_getspecific



[2002-04-06 11:08:11] [EMAIL PROTECTED]

Does this happen with latest CVS versions of PHP and Apache2?




[2002-02-23 05:07:55] [EMAIL PROTECTED]

I just found this bug after I posted #15684 .  If you want a
workaround, install gnu-pth , and configure with --with-tsrm-pth as
part of your options.



[2002-01-09 05:57:34] [EMAIL PROTECTED]

Exactly the same dump with 4.1.1 with apache 2.0.28 on exactly the same
os.



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

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




Bug #16489 Updated: php_admin_value not allowed in virtualhost

2002-04-14 Thread sniper

 ID:   16489
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Apache2 related
 Operating System: Freebsd 4.5-stable
 PHP Version:  4.2.0RC4
 New Comment:

..and will most likely also exist in the actual release.
Apache2 support in it will still be experimental.




Previous Comments:


[2002-04-14 19:30:09] [EMAIL PROTECTED]

Problem still exist in 4.2.0 RC4.



[2002-04-14 10:13:38] [EMAIL PROTECTED]

Problem still exists in 4.2.0 RC3.



[2002-04-08 16:10:12] [EMAIL PROTECTED]

The virtual host is included from httpd.conf with the include
statement.

It is not directly in httpd.conf



[2002-04-08 07:06:57] [EMAIL PROTECTED]

I upgraded from Apache 1.3.24 to 2.0.35

Apache is configured with:
./configure  --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-ssl --mandir=/usr/local/man

PHP is configured with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local
--with-t1lib --with-jpeg-dir --with-png-dir --with-tiff-dir
--with-zlib-dir
--with-freetype-dir=/usr/local/include/freetype2/freetype --with-imap
--with-gettext --with-zlib --with-pdflib --enable-exif --enable-ftp
--enable-bcmath --with-mcrypt --with-dom --with-expat-dir=/usr/local
--enable-xslt --with-xslt-sablot --enable-sablot-errors-descriptive
--with-config-file-path=/usr/local/etc --with-tsrm-pth
--with-apxs2=/usr/local/apache2/bin/apxs

I have a virtual host like this in my httpd.conf:
-- cut
virtualhost 192.168.1.3
 Servername www.domain.dk
 Serveralias domain.dk
 DocumentRoot /home/freakcers/www/www.domain.dk
 ErrorLog /home/freakcers/logs/www.domain.dk/error.log
 CustomLog /home/username/logs/www.domain.dk/access.log combined

 php_admin_value open_basedir /home/username/www:/usr/local/lib/php

 Directory /home/username/www
  Options ExecCGI Includes FollowSymLinks
  AllowOverride All
  Order Deny,Allow
  Allow from all
 /Directory
/virtualhost
-- cut

If i run apachectl configtest i get this error:
Syntax error on line 10 of
/usr/local/apache2/conf/virtualhosts/domain.dk.conf:
php_admin_value not allowed here


If you need any futher details, please advice :-)

Best regards Henrik Larsson




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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread norny

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0RC4
 New Comment:

It's a CGI to Apache 1.3.22.

I have php4ts.dll in two places according to a windows file search,
C:\winnt and c:\winnt\system32. I tried also keeping it with php.exe
and tried without. Same result.


Previous Comments:


[2002-04-14 19:25:33] [EMAIL PROTECTED]

Are you running PHP as CGI or some webserver module?
And if the latter, which webserver and version?
Are you sure you have really replaced the correct php4ts.dll? And that
you don't have some older one laying
around somewhere? Tried booting yet? :)




[2002-04-14 19:18:46] [EMAIL PROTECTED]

I'm not sure if it helps, but I click the OK button for the error
message on a phpinfo() page once for php_bz2.dll, once for
php_interbase.dll, and once for php_mssql.dll, then I have to go again
for another round of clicking OK, but with clicking twice for each
extension.



[2002-04-14 19:10:01] [EMAIL PROTECTED]

It is from the same package and I did replace the old 4.1.1 php4ts.dll
with the one in the 4.2.0RC4 package. ctype, db, dbase, dbx, filepro,
hyperwave, mbstring, shmop, sockets, tokenizer, and w32api are the ones
that load without error.



[2002-04-14 18:37:25] [EMAIL PROTECTED]

And have you replaced php4ts.dll with the one found in the 
RC4 package? And do some other extensions load? which ones?
have you copied the bundled dlls from the package?

http://www.php.net/manual/en/install.windows.php#install.windows.extensions


(And please don't open multiple bug reports about same issues)





[2002-04-14 18:34:46] [EMAIL PROTECTED]

Is that file from the same package or is it some old dll?




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

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




Bug #10905 Updated: ImageGif (ImagePNG) output uncompressed

2002-04-14 Thread tux

 ID:   10905
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: Output Control
 Operating System: Linux
 PHP Version:  4.0.5
 New Comment:

it looks like its an netscape 4.x bug. i tested with
zlib.output_compression (php 4.1.2) off and all gd generated images
worked fine. but when the compression is On, images appeared broken...
There's no problem with netscape 6x and msie 5.5/6.0. Is it possible to
turn off zlib.output_compression within php script, so that we could
manually decide which browsers get gzipped data?


Previous Comments:


[2002-01-02 13:55:44] [EMAIL PROTECTED]

No feedback. Closing.



[2001-12-12 05:02:21] [EMAIL PROTECTED]

Ok Derick.  It would be useful for other purposes also.

Status = Feedback.

To reporter,  Could you try it on snapshot 

http://snaps.php.net/

Please provide *short* script. Thank you.



[2001-12-12 04:39:21] [EMAIL PROTECTED]

Let's not make this bogus. However, please post a short reproducing
example script.

Derick



[2001-12-12 04:27:44] [EMAIL PROTECTED]

If you want to compress images,  use zlib extension.



[2001-05-16 12:17:43] [EMAIL PROTECTED]

Using the compression ob_gzhandler all HTML Pages get compressed well.
But dynamic generated Images don't get compressed.

Header of the output says, it is compressed, but the data following the
header isn't. So those images can't be displayed (by at least
netscape)

Thanks for the patch, ;-)

 mike

PS: Don't tell me that it isn't useful to gzip images, but if you have
switched compression to 'enabled' in your php.ini file and you are
creating images on the fly, you'll need it to handle this case
correctly.




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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread norny

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0RC4
 New Comment:

I went on a limb and rebooted. No change. Errors remain.


Previous Comments:


[2002-04-14 19:38:08] [EMAIL PROTECTED]

It's a CGI to Apache 1.3.22.

I have php4ts.dll in two places according to a windows file search,
C:\winnt and c:\winnt\system32. I tried also keeping it with php.exe
and tried without. Same result.



[2002-04-14 19:25:33] [EMAIL PROTECTED]

Are you running PHP as CGI or some webserver module?
And if the latter, which webserver and version?
Are you sure you have really replaced the correct php4ts.dll? And that
you don't have some older one laying
around somewhere? Tried booting yet? :)




[2002-04-14 19:18:46] [EMAIL PROTECTED]

I'm not sure if it helps, but I click the OK button for the error
message on a phpinfo() page once for php_bz2.dll, once for
php_interbase.dll, and once for php_mssql.dll, then I have to go again
for another round of clicking OK, but with clicking twice for each
extension.



[2002-04-14 19:10:01] [EMAIL PROTECTED]

It is from the same package and I did replace the old 4.1.1 php4ts.dll
with the one in the 4.2.0RC4 package. ctype, db, dbase, dbx, filepro,
hyperwave, mbstring, shmop, sockets, tokenizer, and w32api are the ones
that load without error.



[2002-04-14 18:37:25] [EMAIL PROTECTED]

And have you replaced php4ts.dll with the one found in the 
RC4 package? And do some other extensions load? which ones?
have you copied the bundled dlls from the package?

http://www.php.net/manual/en/install.windows.php#install.windows.extensions


(And please don't open multiple bug reports about same issues)





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

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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread norny

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0RC4
 New Comment:

The 'expose_php' header also appears in the regular page output for
phpinfo() when there's an error popup.

X-Powered-By: PHP/4.2.0RC4 Content-type: text/html


Previous Comments:


[2002-04-14 19:45:33] [EMAIL PROTECTED]

I went on a limb and rebooted. No change. Errors remain.



[2002-04-14 19:38:08] [EMAIL PROTECTED]

It's a CGI to Apache 1.3.22.

I have php4ts.dll in two places according to a windows file search,
C:\winnt and c:\winnt\system32. I tried also keeping it with php.exe
and tried without. Same result.



[2002-04-14 19:25:33] [EMAIL PROTECTED]

Are you running PHP as CGI or some webserver module?
And if the latter, which webserver and version?
Are you sure you have really replaced the correct php4ts.dll? And that
you don't have some older one laying
around somewhere? Tried booting yet? :)




[2002-04-14 19:18:46] [EMAIL PROTECTED]

I'm not sure if it helps, but I click the OK button for the error
message on a phpinfo() page once for php_bz2.dll, once for
php_interbase.dll, and once for php_mssql.dll, then I have to go again
for another round of clicking OK, but with clicking twice for each
extension.



[2002-04-14 19:10:01] [EMAIL PROTECTED]

It is from the same package and I did replace the old 4.1.1 php4ts.dll
with the one in the 4.2.0RC4 package. ctype, db, dbase, dbx, filepro,
hyperwave, mbstring, shmop, sockets, tokenizer, and w32api are the ones
that load without error.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16601

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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread imajes

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0RC4
 New Comment:

it seems you have conflicting php4ts.dll's.

I suggest you remove all of the files you had during install, and start
again. This is probably the easiest method of trying it out.

as far as i can see, that module loads fine for me.


Previous Comments:


[2002-04-14 19:48:38] [EMAIL PROTECTED]

The 'expose_php' header also appears in the regular page output for
phpinfo() when there's an error popup.

X-Powered-By: PHP/4.2.0RC4 Content-type: text/html



[2002-04-14 19:45:33] [EMAIL PROTECTED]

I went on a limb and rebooted. No change. Errors remain.



[2002-04-14 19:38:08] [EMAIL PROTECTED]

It's a CGI to Apache 1.3.22.

I have php4ts.dll in two places according to a windows file search,
C:\winnt and c:\winnt\system32. I tried also keeping it with php.exe
and tried without. Same result.



[2002-04-14 19:25:33] [EMAIL PROTECTED]

Are you running PHP as CGI or some webserver module?
And if the latter, which webserver and version?
Are you sure you have really replaced the correct php4ts.dll? And that
you don't have some older one laying
around somewhere? Tried booting yet? :)




[2002-04-14 19:18:46] [EMAIL PROTECTED]

I'm not sure if it helps, but I click the OK button for the error
message on a phpinfo() page once for php_bz2.dll, once for
php_interbase.dll, and once for php_mssql.dll, then I have to go again
for another round of clicking OK, but with clicking twice for each
extension.



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

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




Bug #16601 Updated: php_bz2.dll won't load

2002-04-14 Thread norny

 ID:   16601
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Dynamic loading
 Operating System: Windows 2000
 PHP Version:  4.2.0RC4
 New Comment:

I rolled up all my stuff for previous versions of php into one big zip
file so I could have only 1 php4ts.dll on my system, located in
c:\winnt\system32. Then I did a file search for php4ts.dll to double
check. The filesize of the php4ts.dll in my directory is 1,028,096
bytes with a md5 hash of 52d05cf883b6e0410add9e15b2352f7b.

Then I did a search for php* in c:\winnt and it found php4ts.dll and
php.ini. I still get errors for bz2, interbase, and mssql.


Previous Comments:


[2002-04-14 19:53:10] [EMAIL PROTECTED]

it seems you have conflicting php4ts.dll's.

I suggest you remove all of the files you had during install, and start
again. This is probably the easiest method of trying it out.

as far as i can see, that module loads fine for me.



[2002-04-14 19:48:38] [EMAIL PROTECTED]

The 'expose_php' header also appears in the regular page output for
phpinfo() when there's an error popup.

X-Powered-By: PHP/4.2.0RC4 Content-type: text/html



[2002-04-14 19:45:33] [EMAIL PROTECTED]

I went on a limb and rebooted. No change. Errors remain.



[2002-04-14 19:38:08] [EMAIL PROTECTED]

It's a CGI to Apache 1.3.22.

I have php4ts.dll in two places according to a windows file search,
C:\winnt and c:\winnt\system32. I tried also keeping it with php.exe
and tried without. Same result.



[2002-04-14 19:25:33] [EMAIL PROTECTED]

Are you running PHP as CGI or some webserver module?
And if the latter, which webserver and version?
Are you sure you have really replaced the correct php4ts.dll? And that
you don't have some older one laying
around somewhere? Tried booting yet? :)




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

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