PHP ʖ²ἯTH º󍋼/A Ղ 22. °²ȫģʽ Ŀ¼ ±£°²´늩ºͰ²ȫģʽ ±»°²ȫģʽϞֆ»򆁱εĺ¯ʽ ±£°²´늩ºͰ²ȫģʽ û³Ƽ/TH Ĭȏֵ ׷Ӄ·¶Χ safe_mode "0" PHP_INI_SYSTEM safe_mode_gid "0" PHP_INI_SYSTEM safe_mode_include_dir NULL PHP_INI_SYSTEM safe_mode_exec_dir "" PHP_INI_SYSTEM safe_mode_allowed_env_vars PHP_ PHP_INI_SYSTEM safe_mode_protected_env_vars LD_LIBRARY_PATH PHP_INI_SYSTEM open_basedir NULL PHP_INI_SYSTEM disable_functions "" PHP_INI_SYSTEM ʇ·񆴓àPHP µİ²ȫģʽ¡£¸þ …¢ǫԄ¶|A HREF="security.html" °²ȫһՂ¡£ ½« PHP ˹Ĝ´򿪵ĎļþϞֆԚָ¶¨µĄ¿¼ʷ¡£±¾ָn²»ʜ°²ȫģʽ´򿪻򕟹رյē°Ϭ¡£ Ԛ Windows ֐£¬Ӄ·ֺŷָ􄿂¼¡£ԚȎºΆ䋼ϵͳ֐Ӄðºŷָ􄿂¼¡£׷Ϊ Apache ģ¿銱£¬¸¸Ŀ¼֐µĠopen_basedir ·¾¶ה¶¯±»¼̳С£ ע: ֧³ֶึĿ¼ʇ 3.0.7 ¼ӈ뵄¡£ ±¾ָnֻĜɨփԚ php.ini ֐¡£=ȧģ²»Ĝ½«ƤɨփԚ httpd.conf¡£ -rw-rw-r-- 1 rasmus rasmus 33 Jul 1 19:20 script.php -rw-r--r-- 1 root root 1116 May 26 18:01 /etc/passwd ?php readfile('/etc/passwd');? Warning: SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access /etc/passwd owned by uid 0 in /docroot/script.php on line 2 Directory /docroot php_admin_value open_basedir /docroot /Directory Warning: open_basedir restriction in effect. File is in wrong directory in /docroot/script.php on line 2 disable_functions readfile,system Warning: readfile() has been disabled for security reasons in /docroot/script.php on line 2 º󍋼/A ưµ㼯A ʽ¾ݿⓀ¾Á¬½Ӽ/TD ɏһ¼¶ ±»°²ȫģʽϞֆ»򆁱εĺ¯ʽ