[PHP-DEV] Bug #14940 Updated: FastCGI SAPI prefork a number of processes

2002-01-17 Thread joosters

ID: 14940
Updated by: joosters
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Dynamic loading
Operating System: Debian (Potato)
PHP Version: 4.1.1
New Comment:

Where are you setting the environment variable?
Are you setting it before starting Apache?
Are you using Apache to start php-fcgi, or is it
running separately?


Previous Comments:


[2002-01-08 21:07:57] [EMAIL PROTECTED]

php 4.1.1
fastcgi-dev 2.2.2
mod_fastcgi 2.2.12
Apache 1.3.20
Debian Potato


Problem:  
PHP_FCGI_CHILDREN environment variable does not seem to be read by
php4.fcgi, resulting in 8 children being pre-forked every time the
server is started (the default setting).





Edit this bug report at http://bugs.php.net/?id=14940edit=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 #6581 Updated: Buggy isapi PATH_INFO() under Zeus

2001-03-06 Thread joosters

ID: 6581
Updated by: joosters
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Other web server
Assigned To: 
Comments:

PATH_INFO and PATH_TRANSLATED are fixed under Zeus 3.3.8 and
the current CVS tree of PHP. You will need to upgrade to both for the
path environment variables to be set correctly.

Previous Comments:
---

[2000-11-06 19:32:27] [EMAIL PROTECTED]
First of all, sorry for taking so long to reply...

When using handlers to run PHP, Zeus to map the original URL,
say www.zeus.com/foo.php/a/b/c
to - www.zeus.com/isapi/libphp4.so/foo.php
so /foo.php becomes the PATH_INFO.
We cannot map the URL to www.zeus.com/isapi/libphp4.so/foo.php/a/b/c,
because then PHP would look for the file /foo.php/a/b/c and get very confused.
So, PATH_INFO is already being used for running PHP scripts, please use REQUEST_URI 
instead if you wish to get this part of the URL.

Incidentally, I have no idea why REQUEST_URI in your example is empty. Its working 
here with 4.0.1pl2

Ben

---

[2000-11-03 20:19:25] [EMAIL PROTECTED]
reclassified.

---

[2000-09-13 18:31:10] [EMAIL PROTECTED]
Quick check; could you ensure that you have set Zeus up to run ISAPI
code 'out of process' ?

---

[2000-09-06 16:53:03] [EMAIL PROTECTED]
This may be a bug with the zeus webserver and its ISAPI
implementation.  Watching the ISAPI communication
between Zeus and libphp4.so for a request like:

http://test/dir/info.php/1/2/3?xyz=2

I see the following (from Zeus):

PATH_TRANSLATED: %docroot%/dir/info.php
PATH_INFO: /dir/info.php
QUERY_STRING: xyz=2
REQUEST_URI: /dir/info.php/1/2/3?xyz=2

which is exactly what php prints out.  I sent a bug
report to Zeus and will post whatever they say.

---

[2000-09-06 11:20:42] [EMAIL PROTECTED]
From config.status:
./configure --with-mysql=/usr/local/mysql3.22.32 --with-zeus=/usr/local/zeus 
--with-gd --with-config-file-path=/usr/local/zeus/php/lib --prefix=/usr/local/zeus/php 
--enable-libgcc

% grep DISCARD *.h
php_config.h:#define DISCARD_PATH 0
php_config.h:#define DISCARD_PATH 0

Output from various scripts:
Zeus with perl on "http://testsite.idea-net.com/cgi-bin/pinfo.pl/1/2/3?x=y":

PATH_INFO: /1/2/3
PATH_TRANSLATED: /opt/www/projects/testsite/html/1/2/3
QUERY_STRING: x=y
REQUEST_URI: /cgi-bin/pinfo.pl/1/2/3?x=y


Zeus with php3 on "http://testsite.idea-net.com/cgi-bin/pinfo.php3/1/2/3?x=y":

PATH_INFO: /cgi-bin/pinfo.php3
PATH_TRANSLATED: /opt/www/projects/testsite/cgi-bin/pinfo.php3
QUERY_STRING: x=y
REQUEST_URI: /cgi-bin/pinfo.php3/1/2/3?x=y



Zeus with php4 on "http://testsite.idea-net.com/test/pinfo.php/1/2/3?x=y":

PATH_INFO: /test/pinfo.php
PATH_TRANSLATED: /opt/www/projects/testsite/html/test/pinfo.php
QUERY_STRING: x=y
REQUEST_URI:


If you need access to a web server running Zeus
to work on this problem, I can probably set something
up.  (Assuming this is a problem and not something
stupid on my part.)

Thanks,
Rob

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6581edit=2


-- 
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 #4593 Updated: Randomly does not load pages in PHP/Zeus

2001-01-17 Thread joosters

ID: 4593
Updated by: joosters
Reported By: [EMAIL PROTECTED]
Old-Status: Duplicate
Status: Closed
Bug Type: Other web server
Assigned To: 
Comments:

This will happen if you try to load a URL like:

http://www.somewhere.com/phpfile.php/extra/information

Previous versions of Zeus+ISAPI+PHP could get confused with the
'/extra/information' bit in the URL, which could cause PHP to
fail to open the proper file (DOCROOT/phpfile.php)

This is fixed in CVS now (sorry for this extra-slow response)


Previous Comments:
---

[2000-08-02 00:35:21] [EMAIL PROTECTED]
dup of 4707

---

[2000-05-25 22:10:07] [EMAIL PROTECTED]
Hello, I've noticed that while using PHP4 with Zeus that it will randomly do things 
like:

Warning: Failed opening 
'/web/straight/members/truecelebs.com/htdocs//restricted/contents.phtml' for inclusion 
(include_path='') in Unknown on line 0

when trying to load php pages (not just phtml... php... it does it in includes and 
requires too).

---


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


-- 
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]