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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hmorvan at lucent dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 16:01:28 2024 UTC