[PHP-DEV] Bug #15061: strtotime

2002-01-15 Thread info

From: [EMAIL PROTECTED]
Operating system: linux
PHP version:  4.0.5
PHP Bug Type: Date/time related
Bug description:  strtotime 

result from following operation is 23 hours instead of expected 24:

echo ((StrToTime ('02-04-01') - StrToTime ('02-03-31')) / 3600)

everything seems to work, for example, in this case:

echo ((StrToTime ('02-04-02') - StrToTime ('02-04-01')) / 3600)
-- 
Edit bug report at: http://bugs.php.net/?id=15061edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13539 Updated: ASP and PHP crashed, no restart possible

2002-01-08 Thread info

ID: 13539
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: IIS related
Operating System: W2k Server
PHP Version: 4.0.6
New Comment:

Thanx for your answer, but I had to setup the server again. This was the
fastest an most acceptable way to cope with it.
-
I can't remember. I think I tried without. I tried everything (almost).
;-)

So long

Nick

Previous Comments:


[2002-01-08 03:00:50] [EMAIL PROTECTED]

If you disable Jakarta, can you use ASP and PHP then?



[2001-10-04 09:08:53] [EMAIL PROTECTED]

Hi,

my W2k-Server is not able to handle asp or php files anymore. (500 Error
on both)
PHP was installed using the ISAPI_module. After failure I changed to the
CGI_version again but still the Server does not work (except normal
HTML). Even rebooting the system does not solve the problem. I also
tried to reinstall the IIS.
Running PHP as a servlet works fine (almost) and executing on
commandline also.
-
By the way. After having this problem, my JAKARTA tells me this after
starting the service:

# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native
code outside the VM.
# Program counter=0x9472362
#
EmbededTomcat: Init time 4576

Need help! ;-)






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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14751 Updated: [critical!] mozilla downloads source of .php files

2001-12-29 Thread info

ID: 14751
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: redhat 7.1 glibc2.2.4 kernel2.4
PHP Version: 4.1.1
New Comment:

seems resolved for us.

This phenomenon occurs if the SSL-VirtualHost entry's ServerName differs from the main 
server's ServerName (in our case nexus.mkmgmbh.com and secure.mkmgmbh.com).

Anyway, this is undocumented _and_ leads to strange behaviour (as posted before, IE 
seems to have no problems, while Mozilla is able to download PHP-Source-Code in this 
case, which makes this a definite security-risk for all not-thoroughly tested Internet 
sites!).

Jonas Maurus
MKM GmbH

Previous Comments:


[2001-12-29 07:57:26] [EMAIL PROTECTED]

I don't exactly understand how this happens, but with a Apache+mod_ssl server, Mozilla 
0.9.7 is able to retrieve the source of a .php file, probably by sending non-standard 
headers.

Software used:
- Apache 1.3.22
- mod_ssl 2.8.5
- php 4.1.1
- VirtualHost on port 443 with SSLEngine On.
- AddHandler application/x-httpd-php .php

Test URL: https://secure.mkmgmbh.com/horde/test.php

Using Internet Explorer 6, you get the compiled page, using Mozilla 0.9.7 it downloads 
the source, same url, different behaviour.

Please note that the server uses a non-standard certificate (signed by our own CA).


[Configure line: './configure' '--prefix=/httpd/php' '--with-apxs=/httpd/bin/apxs' 
'--with-config-file-path=/httpd/conf' '--with-gdbm=/usr' '--with-mysql=/usr' 
'--with-openssl=/usr' '--with-vpopmail=/home/vpopmail' '--with-gettext' '--with-xml' 
'--with-mcrypt=/usr' '--with-imap=/projects/serverupd/imap/imap-2001a' 
'--with-zlib=/usr']







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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14364 Updated: Unable to clear out an individual variable in a session

2001-12-07 Thread info

ID: 14364
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Session related
Operating System: FreeBSD 4.2
PHP Version: 4.1.0
New Comment:

Those lines are not in my /ext/session/php_session.h

I installed the CVS version this afternoon.  I followed the instruction on php.net's 
site:

http://www.php.net/anoncvs.php

I did it from a new dir, so the tree is fresh.  I was also running php4.1 rc5 prior to 
the upgrade and now after the upgrade I am running php4.2 which is the cvs version I 
got today.  Where should I get the CVS version that has the fix?  Or can I just add 
the lines in that you posted to the source to get it to work correctly?  What do you 
recommend?

Previous Comments:


[2001-12-07 01:28:45] [EMAIL PROTECTED]

Are you sure you did that after the fix?

file /ext/session/php_session.h should include this (around line 168):

#define PS_DEL_VARL(name,namelen)  \
   zend_hash_del(PS(vars), name, namelen+1);   \
   if (PS(http_session_vars)) {\
   zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1);  \
   }


Does it do that, and did you rebuild from a fresh tree?

Derick



[2001-12-06 22:08:10] [EMAIL PROTECTED]

We downloaded and installed the CVS version today (version 4.2) and we are still 
having the same issue.



[2001-12-06 17:12:14] [EMAIL PROTECTED]

No worries! It's already fixed in CVS.



[2001-12-06 17:05:13] [EMAIL PROTECTED]

Sample script:

// script to create session variable
session_start();
session_register(objectA);
$objectA = new classA();

// script to unset session variable
session_start();
session_unregister(objectA);
unset($objectA);

// script to test for session variable
session_start();
if(isset($objectA))
{
  echo TEST PASSED;
}


Doing a session_destroy() then unset() of all the session variables seems to work, but 
in the above code I wish to just unset() a single variable in the session but keep the 
session and the remaining variables alive.



[2001-12-06 14:45:25] [EMAIL PROTECTED]

Fixed in CVS. BTW, 4.1.0 does not exist yet, so how can you report a bug for it?
This fix will be in the 4.1.0 release.

Derick



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/?id=14364


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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14364 Updated: Unable to clear out an individual variable in a session

2001-12-07 Thread info

ID: 14364
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Session related
Operating System: FreeBSD 4.2
PHP Version: 4.1.0
New Comment:

I did check again and you are right, the lines of code you posted are in the version I 
installed.  However, I am still having the issues with the session.  I have tested it 
several times and when I try unsetting session variables and unregistering session 
variables it still doesn't work.  Let me know what I need to do to help get this 
resolved.  I truely appreciate the help

Previous Comments:


[2001-12-07 12:46:39] [EMAIL PROTECTED]

It is certainly in the php 4.2.0 cvs tree, as I just downloaded it here.
with the instructions on that site, you should have the correct version too (with the 
fix).
Can you please check again of lines 169-173 in php4/ext/session/php_session.h have 
these lines of codE:

#define PS_DEL_VARL(name,namelen)   \
zend_hash_del(PS(vars), name, namelen+1);  \
if (PS(http_session_vars)) {\
zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1);  \
}

regards,
Derick



[2001-12-07 11:45:32] [EMAIL PROTECTED]

Those lines are not in my /ext/session/php_session.h

I installed the CVS version this afternoon.  I followed the instruction on php.net's 
site:

http://www.php.net/anoncvs.php

I did it from a new dir, so the tree is fresh.  I was also running php4.1 rc5 prior to 
the upgrade and now after the upgrade I am running php4.2 which is the cvs version I 
got today.  Where should I get the CVS version that has the fix?  Or can I just add 
the lines in that you posted to the source to get it to work correctly?  What do you 
recommend?



[2001-12-07 01:28:45] [EMAIL PROTECTED]

Are you sure you did that after the fix?

file /ext/session/php_session.h should include this (around line 168):

#define PS_DEL_VARL(name,namelen)  \
   zend_hash_del(PS(vars), name, namelen+1);   \
   if (PS(http_session_vars)) {\
   zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1);  \
   }


Does it do that, and did you rebuild from a fresh tree?

Derick



[2001-12-06 22:08:10] [EMAIL PROTECTED]

We downloaded and installed the CVS version today (version 4.2) and we are still 
having the same issue.



[2001-12-06 17:12:14] [EMAIL PROTECTED]

No worries! It's already fixed in CVS.



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/?id=14364


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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14364 Updated: Unable to clear out an individual variable in a session

2001-12-07 Thread info

ID: 14364
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Session related
Operating System: FreeBSD 4.2
PHP Version: 4.1.0
New Comment:

Ok, it looks like I have everything resolved.  In the previous version of PHP (4.0.5) 
I was able to clear out a session variable by just using the unset() function.  Now 
with the new CVS it appears that I have to session_unregister() and unset() the 
session variable to clear it out.

Thank you for your support!

Previous Comments:


[2001-12-07 13:34:17] [EMAIL PROTECTED]

Feedback.

Please provide a short, reproduceable copypaste sample.



[2001-12-07 13:25:29] [EMAIL PROTECTED]

I did check again and you are right, the lines of code you posted are in the version I 
installed.  However, I am still having the issues with the session.  I have tested it 
several times and when I try unsetting session variables and unregistering session 
variables it still doesn't work.  Let me know what I need to do to help get this 
resolved.  I truely appreciate the help



[2001-12-07 12:46:39] [EMAIL PROTECTED]

It is certainly in the php 4.2.0 cvs tree, as I just downloaded it here.
with the instructions on that site, you should have the correct version too (with the 
fix).
Can you please check again of lines 169-173 in php4/ext/session/php_session.h have 
these lines of codE:

#define PS_DEL_VARL(name,namelen)   \
zend_hash_del(PS(vars), name, namelen+1);  \
if (PS(http_session_vars)) {\
zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1);  \
}

regards,
Derick



[2001-12-07 11:45:32] [EMAIL PROTECTED]

Those lines are not in my /ext/session/php_session.h

I installed the CVS version this afternoon.  I followed the instruction on php.net's 
site:

http://www.php.net/anoncvs.php

I did it from a new dir, so the tree is fresh.  I was also running php4.1 rc5 prior to 
the upgrade and now after the upgrade I am running php4.2 which is the cvs version I 
got today.  Where should I get the CVS version that has the fix?  Or can I just add 
the lines in that you posted to the source to get it to work correctly?  What do you 
recommend?



[2001-12-07 01:28:45] [EMAIL PROTECTED]

Are you sure you did that after the fix?

file /ext/session/php_session.h should include this (around line 168):

#define PS_DEL_VARL(name,namelen)  \
   zend_hash_del(PS(vars), name, namelen+1);   \
   if (PS(http_session_vars)) {\
   zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1);  \
   }


Does it do that, and did you rebuild from a fresh tree?

Derick



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/?id=14364


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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14364: Unable to clear out an individual variable in a session

2001-12-06 Thread info

From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.2
PHP version:  4.1.0
PHP Bug Type: Session related
Bug description:  Unable to clear out an individual variable in a session

There appears to be an issue with unsetting variables in a session. I have
an object variable that is stored in the session and when I attempt to
unset the value via unset(object) and session_unregister(object) and test
if(isset(object)) to see if it is set in a seperate script the test passes.
 In PHP 4.05 I did not encounter this problem.
-- 
Edit bug report at: http://bugs.php.net/?id=14364edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14364 Updated: Unable to clear out an individual variable in a session

2001-12-06 Thread info

ID: 14364
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Session related
Operating System: FreeBSD 4.2
PHP Version: 4.1.0
New Comment:

Sample script:

// script to create session variable
session_start();
session_register(objectA);
$objectA = new classA();

// script to unset session variable
session_start();
session_unregister(objectA);
unset($objectA);

// script to test for session variable
session_start();
if(isset($objectA))
{
  echo TEST PASSED;
}


Doing a session_destroy() then unset() of all the session variables seems to work, but 
in the above code I wish to just unset() a single variable in the session but keep the 
session and the remaining variables alive.

Previous Comments:


[2001-12-06 14:45:25] [EMAIL PROTECTED]

Fixed in CVS. BTW, 4.1.0 does not exist yet, so how can you report a bug for it?
This fix will be in the 4.1.0 release.

Derick



[2001-12-06 14:44:09] [EMAIL PROTECTED]

Can you provide the shortest sample script, that reproduce that bug?



[2001-12-06 14:40:30] [EMAIL PROTECTED]

There appears to be an issue with unsetting variables in a session. I have an object 
variable that is stored in the session and when I attempt to unset the value via 
unset(object) and session_unregister(object) and test if(isset(object)) to see if it 
is set in a seperate script the test passes.  In PHP 4.05 I did not encounter this 
problem.





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14140: Oracle 7.3.4 on PHP 4.0.5

2001-11-20 Thread info

From: [EMAIL PROTECTED]
Operating system: winnt
PHP version:  4.0.5
PHP Bug Type: Oracle related
Bug description:  Oracle 7.3.4 on PHP 4.0.5

We use PHP405 on oracle 7.3.4 and ora_logon function fail on TNSNAME.

how to use Oracle 7.3.4 with php4.

We try php 406, but oracle functions fails with compilation error and we
can't recompil them.

Have you some oracle DLL to use with Oracle 7.3.4 ?

best regards.
Philippe MARCEL
-- 
Edit bug report at: http://bugs.php.net/?id=14140edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13539: ASP and PHP crashed, no restart possible

2001-10-04 Thread info

From: [EMAIL PROTECTED]
Operating system: W2k Server
PHP version:  4.0.6
PHP Bug Type: IIS related
Bug description:  ASP and PHP crashed, no restart possible

Hi,

my W2k-Server is not able to handle asp or php files anymore. (500 Error on
both)
PHP was installed using the ISAPI_module. After failure I changed to the
CGI_version again but still the Server does not work (except normal HTML).
Even rebooting the system does not solve the problem. I also tried to
reinstall the IIS.
Running PHP as a servlet works fine (almost) and executing on commandline
also.
-
By the way. After having this problem, my JAKARTA tells me this after
starting the service:

# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
outside the VM.
# Program counter=0x9472362
#
EmbededTomcat: Init time 4576

Need help! ;-)

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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12204: Datbase can not spoken on.

2001-07-17 Thread info

From: [EMAIL PROTECTED]
Operating system: AIX 5L
PHP version:  4.0.6
PHP Bug Type: *Database Functions
Bug description:  Datbase can not spoken on.

We Use The Caché Database from intersystems.
The Databast have a lot more Speed than MySQL, IBM DB2 or Oracle.

Can you integrieren the Caché Database in the Supportet Databases from
PHP.

OK you can speak the Database over SQL on. but this is  a lot tarrier as
directly.

Greetings,
Mike
-- 
Edit bug report at: http://bugs.php.net/?id=12204edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #0: IMAP functions didn't work

2001-07-07 Thread info

From: [EMAIL PROTECTED]
Operating system: Windows NT4
PHP version:  4.0.4
PHP Bug Type: IMAP related
Bug description:  IMAP functions didn't work


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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11647: Installation Failure

2001-06-24 Thread info

From: [EMAIL PROTECTED]
Operating system: Linux (Intel glibc)
PHP version:  4.0.6
PHP Bug Type: Apache related
Bug description:  Installation Failure

Script:

su
cp /usr/sbin/httpd /usr/bin/httpd
cd /tmp
gzip -d php-4.0.6.tar.gz
tar -xvf php-4.0.6.tar
cd php-4.0.6
./configure --prefix=/usr/local/php-4.0.6 --exec-prefix=/usr/local/php-4.0.6 
--with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql
make
make install

Description:

At this point, the installation process fails because the 'make install' script 
invokes APXS. APXS runs, but responds that it does not understand the -S flag, which 
is visibly being used. This takes place when running Apache/1.3.6 with mod_perl/1.21, 
mod_ssl/2.2.8, and OpenSSL/0.9.2b on a Cobalt RaQ 3i system with all of the latest 
patches from Cobalt installed.

This problem did not occur with any previous versions of PHP. PHP 4.0.5 installs 
perfectly.


-- 
Edit Bug report at: http://bugs.php.net/?id=11647edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11521: session handling garbage collection

2001-06-18 Thread info

From: [EMAIL PROTECTED]
Operating system: Win2000
PHP version:  4.0.5
PHP Bug Type: Scripting Engine problem
Bug description:  session handling garbage collection

Is this a bug? It seems that the garbage collection routine doesn't start 
automatically (waited 1 day). It works fine if I call the my_session_gc($maxtime) at 
the start of each session.


php.ini:
session.auto_start
 Off Off 
session.cache_expire
 180 180 
session.cache_limiter
 nocache nocache 
session.cookie_domain
 no value no value 
session.cookie_lifetime
 0 0 
session.cookie_path
 / / 
session.cookie_secure
 Off Off 
session.entropy_file
 no value no value 
session.entropy_length
 0 0 
session.gc_maxlifetime
 60 60 
session.gc_probability
 1 1 
session.name
 PHPSESSID PHPSESSID 
session.referer_check
 no value no value 
session.save_handler
 user user 
session.save_path
 c:\php\sessiondata c:\php\sessiondata 
session.serialize_handler
 php php 
session.use_cookies
 Off Off 



-- 
Edit Bug report at: http://bugs.php.net/?id=11521edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10859: WIll Not send E-Mail

2001-05-14 Thread info

From: [EMAIL PROTECTED]
Operating system: Windows 2000 Server
PHP version:  4.0.5
PHP Bug Type: Mail related
Bug description:  WIll Not send E-Mail

Here is our php.ini file
[mail function]
SMTP=   freebsd1.vortechhosting.com ;for 
win32 only
sendmail_from   =   [EMAIL PROTECTED]   ;for win32 only
;sendmail_path  =   ;for unix only, may 
supply arguments as well (default is 'sendmail -t -i')


This mail server relays mail for all our IP 198.172.189.* but will not work with PHP. 
Gives a error every time.

This is where it sys the error is.
$headers .= From: $order_email\n;
$headers .= Return-Path: $order_email\n;  // Return path for errors

mail($email, $subject, $email_body . $message . $message_secure . $message2 . 
$message3, $headers);
mail($order_email, $subject, $message . $message_admin . $message2, $headers);
}

But this works fine on our freebsd boxes. But we need to get PHP working on windows. 
Any help on why Mail in PHP will not work any windows 2000 server would be great. this 
is the only thing in PHO that will now work for us.


Please let me know so i could get his fixed.

Brad
E-Mail: [EMAIL PROTECTED]


-- 
Edit Bug report at: http://bugs.php.net/?id=10859edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10834: PHP will crash if you execute a double-include, which go through 2 directories

2001-05-12 Thread info

From: [EMAIL PROTECTED]
Operating system: Windows, Linux
PHP version:  4.0.5
PHP Bug Type: Reproducible crash
Bug description:  PHP will crash if you execute a double-include, which go through 2 
directories

To reproduce it, create a php file (content doesn't matter), then make a directory and 
change into it. Create a second php file including the first one, make another 
directory and write a php file with an include to the second file into it. When you 
start this file, PHP begins to consume all available CPU und RAM resources. The 
consequence is a crash of the whole machine running the httpd- or php-process. The 
memory limiting function in PHP doesn't take effect in this case.

Regards,

Daniel Fuehrer


-- 
Edit Bug report at: http://bugs.php.net/?id=10834edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10764: set_time_limit doesn't work

2001-05-09 Thread info

From: [EMAIL PROTECTED]
Operating system: Suse 7.0 / Kernel 2.4.4
PHP version:  4.0.4pl1
PHP Bug Type: *Function Specific
Bug description:  set_time_limit doesn't work

Set_time_limit() is completely ignored. All php.ini-values are on default (especially 
safe mode is off). For example, execution of the following test-script never stops:

set_time_limit(10);

while(true) {
echo sleeping...br\n;
flush();
sleep(1);
}

This bug has already been descriped in http://www.php.net/bugs.php?id=5518 but the fix 
provided by Rasmus doesn't seem to work (any longer).

conf-line: './configure' '--with-apache=/home/maverick/src/lamp/apache_1.3.19' 
'--with-mysql=/usr/mysql' '--with-zlib-dir=/usr/lib' '--with-ftp' '--with-gd' 
'--with-jpeg-dir=/usr/local/lib' '--enable-versioning' '--enable-track-vars=yes' 
'--enable-url-includes' '--enable-sysvshm=yes' '--enable-sysvsem=yes' 
'--with-config-file-path=/etc' '--enable-sockets' '--with-mcrypt' '--with-openssl' 
'--with-xpm-dir=/usr/X11R6/lib'

Daniel Fuehrer


-- 
Edit Bug report at: http://bugs.php.net/?id=10764edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10543: Swatchtime error in DATE function

2001-04-28 Thread info

From: [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:  4.0.4pl1
PHP Bug Type: Date/time related
Bug description:  Swatchtime error in DATE function

Swatchtime error :

date(B);

gives as output 000 while 
time is between 0.00 and 2.00 hours 
( in Dutch (The Netherlands) time zone )

After 2.00 o'clock, everything is okay ! 





-- 
Edit Bug report at: http://bugs.php.net/?id=10543edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9810 Updated: Apache 1.3.17 19 crash at shutdown

2001-03-31 Thread loic-info

ID: 9810
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Reproduceable crash
Description: Apache 1.3.17  19 crash at shutdown

Hi cynic!

Do you mean this annoying problem won't occur with the next release of Apache? Greaaat 
:)

Thanks for your reply,
Loïc

Previous Comments:
---

[2001-03-31 10:40:23] [EMAIL PROTECTED]
this one was actually an Apache bug, and is fixed now.

---

[2001-03-17 12:01:44] [EMAIL PROTECTED]
Hi!

I'm under win 98SE, Apache 1.3.17 or 19, php4.0.5-RC1 from php4win.de as an Apache 
module (no problem with php as a CGI).

Each time I shut down Apache, it crashes twices. I can't produce a backtrace (winwin 
fault) but here is the failure messages I can grab (french messages, sorry):

APACHE a causé une défaillance de page dans
 le module OLEAUT32.DLL à 016f:65352c3c.
Registres :
EAX=00bd CS=016f EIP=65352c3c EFLGS=00010212
EBX=0008 SS=0177 ESP=0159f7a4 EBP=653c9048
ECX=653c7030 DS=0177 ESI=00a8 FS=67f7
EDX=0008 ES=0177 EDI=00a8 GS=
Octets à CS : EIP :
8b 47 04 8b 0f 3b c2 89 4c 24 14 8b f1 8d 9f f8 
État de la pile :
653c7048 00a8 653c9048 0008 65352c0c 00a8 00bd 0008  
 bff76ec4 0080 653c7030 65352aff 0008  

APACHE a causé une défaillance de page dans
 le module KERNEL32.DLL à 016f:bff8ac13.
Registres :
EAX= CS=016f EIP=bff8ac13 EFLGS=0246
EBX=0001 SS=0177 ESP=0159fc2c EBP=0159fc70
ECX=7ffd3058 DS=0177 ESI=7ffd3038 FS=67f7
EDX=bffc9490 ES=0177 EDI=0001 GS=
Octets à CS : EIP :
a1 10 9d fc bf 50 e8 96 95 fe ff ff 76 04 e8 35 
État de la pile :
7ffd3510 7ff2a1ed 7ffd3038 7ff49d83  818a1b78 7ff49d45   
0001 7ff42092 7ff4203d 7ff2  0001  

Moreover FileMon produces these lines (don't know if it helps...):
snip
Filemon ReadC:WINDOWSSYSTEMOLEAUT32.DLL SUCCESS Offset: 40960 Length: 1024 
 
Filemon Ioctl   C:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   D:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   E:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   E:  SUCCESS Subfunction: 0Dh
Filemon Ioctl   F:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   F:  GENFAILURE  Subfunction: 0Dh
Filemon Ioctl   F:  GENFAILURE  Subfunction: 0Dh
Filemon Ioctl   G:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   G:  GENFAILURE  Subfunction: 0Dh
Filemon Ioctl   G:  GENFAILURE  Subfunction: 0Dh
Filemon ReadC:EASYPHPAPACHEPHP.INI  SUCCESS Offset: 303104 Length: 4096 
snip

Thanks in advance,
Loïc

PS: These crashes already occurs with the previous 4.0.5-dev release.

---


Full Bug description available at: http://bugs.php.net/?id=9810


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9810: Apache 1.3.17 19 crash at shutdown

2001-03-17 Thread loic-info

From: [EMAIL PROTECTED]
Operating system: win 98SE
PHP version:  4.0 Latest CVS (17/03/2001)
PHP Bug Type: Reproduceable crash
Bug description:  Apache 1.3.17  19 crash at shutdown

Hi!

I'm under win 98SE, Apache 1.3.17 or 19, php4.0.5-RC1 from php4win.de as an Apache 
module (no problem with php as a CGI).

Each time I shut down Apache, it crashes twices. I can't produce a backtrace (winwin 
fault) but here is the failure messages I can grab (french messages, sorry):

APACHE a causé une défaillance de page dans
 le module OLEAUT32.DLL à 016f:65352c3c.
Registres :
EAX=00bd CS=016f EIP=65352c3c EFLGS=00010212
EBX=0008 SS=0177 ESP=0159f7a4 EBP=653c9048
ECX=653c7030 DS=0177 ESI=00a8 FS=67f7
EDX=0008 ES=0177 EDI=00a8 GS=
Octets à CS : EIP :
8b 47 04 8b 0f 3b c2 89 4c 24 14 8b f1 8d 9f f8 
État de la pile :
653c7048 00a8 653c9048 0008 65352c0c 00a8 00bd 0008  
 bff76ec4 0080 653c7030 65352aff 0008  

APACHE a causé une défaillance de page dans
 le module KERNEL32.DLL à 016f:bff8ac13.
Registres :
EAX= CS=016f EIP=bff8ac13 EFLGS=0246
EBX=0001 SS=0177 ESP=0159fc2c EBP=0159fc70
ECX=7ffd3058 DS=0177 ESI=7ffd3038 FS=67f7
EDX=bffc9490 ES=0177 EDI=0001 GS=
Octets à CS : EIP :
a1 10 9d fc bf 50 e8 96 95 fe ff ff 76 04 e8 35 
État de la pile :
7ffd3510 7ff2a1ed 7ffd3038 7ff49d83  818a1b78 7ff49d45   
0001 7ff42092 7ff4203d 7ff2  0001  

Moreover FileMon produces these lines (don't know if it helps...):
snip
Filemon ReadC:\WINDOWS\SYSTEM\OLEAUT32.DLL  SUCCESS Offset: 40960 Length: 1024 
 
Filemon Ioctl   C:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   D:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   E:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   E:  SUCCESS Subfunction: 0Dh
Filemon Ioctl   F:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   F:  GENFAILURE  Subfunction: 0Dh
Filemon Ioctl   F:  GENFAILURE  Subfunction: 0Dh
Filemon Ioctl   G:  INVALIDFUNC Subfunction: 0Dh
Filemon Ioctl   G:  GENFAILURE  Subfunction: 0Dh
Filemon Ioctl   G:  GENFAILURE  Subfunction: 0Dh
Filemon ReadC:\EASYPHP\APACHE\PHP.INI   SUCCESS Offset: 303104 Length: 4096
 
snip

Thanks in advance,
Loïc

PS: These crashes already occurs with the previous 4.0.5-dev release.


-- 
Edit Bug report at: http://bugs.php.net/?id=9810edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9809 Updated: Extensions can't be loaded at startup

2001-03-17 Thread loic-info

ID: 9809
User Update by: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: *Configuration Issues
Description: Extensions can't be loaded at startup

Ok, a fix has been posted to the developer mailing-list (message from Alexander 
Bokovoy on On Sat, Mar 17, 2001 at 16:51).

So I close myself the bug.
Thanks,

Previous Comments:
---

[2001-03-17 11:48:07] [EMAIL PROTECTED]
Hi!

I'm under Win 98SE, Apache 1.3.19 and php4.0.5-RC1 (from www.php4win.de) as an Apache 
module ("php4apache.dll" or "php4apache-eapi.dll", the problem is the same for both).

It seems that extensions can't be loaded at startup (from the "php.ini" file) because 
their filenames are replaced by strange words!

For example if I uncomment the line "extension=php_zlib.dll" and only this one, Apache 
crash and the Apache log shows "PHP Warning:  Unable to load dynamic library 
'C:EasyPHPphpextensionsphp_zlib!'" 
(sometimes the name of the file is also replaced by 'localhost' or '@E').
This was an example, but I can reproduce the problem for each one of the extensions.

It's not related to my "php.ini" file because this one works with the previous version 
of php4.0.5-dev.

Thanks in advance,
Loïc

---


Full Bug description available at: http://bugs.php.net/?id=9809


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9221: Installation problems with Slackware

2001-02-11 Thread Info

From: [EMAIL PROTECTED]
Operating system: Linux 2.2.x
PHP version:  4.0.4pl1
PHP Bug Type: Compile Problem
Bug description:  Installation problems with Slackware

To succesfully install PHP4 on Slackware 7.1:

First configure on Apache:

./configure --with-layout=Slackware --enable-module=so --prefix=/www

Configure on PHP:

./configure --with-mysql=shared --with-apache=/var/lib/apache --enable-track-vars

Second configure on Apache:

./configure --with-layout=Slackware --enable-module=so --prefix=/var/lib/apache 
--activate-module=src/modules/php4/libphp4.a

There are other layouts for RedHat etc. in the config.layout file in the Apache 
directory. The example is for Slackware, but I think it's worth mentioning the 
layout-option at least once in the manual.

Took me about an hour to figure it out (not bad for a newbe on Linux ...) ;-


Mark.


-- 
Edit Bug report at: http://bugs.php.net/?id=9221edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]