Skip to content

Commit 4b159c4

Browse files
committed
PHP safe mode no longer exists
Signed-off-by: Isaac Bennetch <[email protected]>
1 parent ada3db9 commit 4b159c4

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

docs/config.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1728,8 +1728,7 @@ Generic settings
17281728

17291729
Set the number of seconds a script is allowed to run. If seconds is
17301730
set to zero, no time limit is imposed. This setting is used while
1731-
importing/exporting dump files but has
1732-
no effect when PHP is running in safe mode.
1731+
importing/exporting dump files.
17331732

17341733
.. config:option:: $cfg['SessionSavePath']
17351734
@@ -1756,7 +1755,7 @@ Generic settings
17561755

17571756
This setting is used while importing/exporting dump files
17581757
so you definitely don't want to put here too low a
1759-
value. It has no effect when PHP is running in safe mode.
1758+
value.
17601759

17611760
You can also use any string as in :file:`php.ini`, eg. ``'16M'``. Ensure you
17621761
don't omit the suffix (16 means 16 bytes!)
@@ -3339,9 +3338,6 @@ SQL query box settings
33393338
Web server upload/save/import directories
33403339
-----------------------------------------
33413340

3342-
If PHP is running in safe mode, all directories must be owned by the same user
3343-
as the owner of the phpMyAdmin scripts.
3344-
33453341
If the directory where phpMyAdmin is installed is subject to an
33463342
``open_basedir`` restriction, you need to create a temporary directory in some
33473343
directory accessible by the PHP interpreter.

docs/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ Safe Mode or not, and so on). So, you must have Zlib support
7575

7676
Your uploaded file is saved by PHP in the "upload dir", as defined in
7777
:file:`php.ini` by the variable ``upload_tmp_dir`` (usually the system
78-
default is */tmp*). We recommend the following setup for Apache
79-
servers running in safe mode, to enable uploads of files while being
78+
default is */tmp*). We recommend the following setup
79+
to enable uploads of files while being
8080
reasonably secure:
8181

8282
* create a separate directory for uploads: :command:`mkdir /tmp/php`

0 commit comments

Comments
 (0)