php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #750 SAFE MODE DOES NOT WORK
Submitted: 1998-09-16 09:14 UTC Modified: 1998-09-16 09:27 UTC
From: hmorvan at lucent dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.1 OS: Solaris
Private report: No CVE-ID: None
 [1998-09-16 09:14 UTC] hmorvan at lucent dot com
I enabled the SAFE MODE for php in 
httpd.conf, but filesystem functions
like unlink, touch, mkdir, rmdir,... still work 
so if I allow users to write php in their pages
they might destroy my web tree.

# PHP3 configuration
php3_memory_limit 1048576
php3_upload_tmp_dir /home/http/server/tmp
php3_safe_mode On
php3_doc_root /home/http/server_dev/htdocs
php3_user_dir pub_html

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-16 09:27 UTC] rasmus
PHP 3.0.1?  Upgrade.  A number of safe mode fixes have been applied since that version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC