Date: 10/31/00
- Next message: Cynic: "[PHP-DEV] http://bugs.php.net/bugs.php?id=7223"
- Previous message: Juan Leon: "[PHP-DEV] Re: PHP 4.0 Bug #7356 Updated: ext/mysql/php_mysql.c compiles into .o which does not define mysql_module_entry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6480
User Update by: gvillemure <email protected>
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Description: doc_root fails in safe_mode
I recently installed 4.0.3pl1 and the problem is no longer there.
Gérald
Previous Comments:
---------------------------------------------------------------------------
[2000-09-07 14:22:26] gvillemure <email protected>
The content of info.php3 is:
<?php
phpinfo();
?>
I am referring to the file directly with:
http://bkp.ik.ca/old/info.php3
Possibly relevant setting in php.ini:
safe_mode = On
safe_mode_exec_dir = /u/vhome/php3-safe
safe_mode_allowed_env_vars = PHP_
memory_limit = 8388608
auto_prepend_file =
auto_append_file =
include_path =
doc_root = /u/vhome
user_dir =
upload_max_filesize = 20971520
extension_dir = ./
enable_dl = On
These setting are the same as what I use with 4.0.1pl2 and the problem dosen't come up...
Note that I have receive emails from other users stating they have the same problem.
---------------------------------------------------------------------------
[2000-09-07 11:47:56] andi <email protected>
Are you sure you're not doing
include "/u/vhome/ik.ca/www/old/info.php3"?
safe_mode and doc_root ALWAYS appends the doc_root to the filename as far as I know. It doesn't check that the include you're doing is actually under the doc_root. You should use relative pathnames and not full paths.
Anyway, let us know if we can close this bug.
---------------------------------------------------------------------------
[2000-09-03 09:37:42] sniper <email protected>
bug report #6491 seems to be related to this one.
--Jani
---------------------------------------------------------------------------
[2000-09-03 06:15:01] gvillemure <email protected>
The path: /u/vhome/u/vhome/ik.ca/www/old/ dose not exist.
The real path is: /u/vhome/ik.ca/www/old/
The /u/vhome is where I am trying to set doc_root to but if I turn on safe_mode I get path the error.
The ownership/permissions in /old are:
drwxr-xr-x 29500:98 .
-rw-r--r-- 29500:98 info.php3
The Apache server is running as user 98 group 98.
---------------------------------------------------------------------------
[2000-09-03 05:48:33] stas <email protected>
what are ownership/permissions on /u/vhome/u/vhome/ik.ca/www/old/ and /u/vhome/u/vhome/ik.ca/www/old/info.php3?
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=6480
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Cynic: "[PHP-DEV] http://bugs.php.net/bugs.php?id=7223"
- Previous message: Juan Leon: "[PHP-DEV] Re: PHP 4.0 Bug #7356 Updated: ext/mysql/php_mysql.c compiles into .o which does not define mysql_module_entry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

