рпр Posted November 2, 2004 Report Share Posted November 2, 2004 (edited) a tu php.ini nevari labot? php.ini failaa: safe_mode = false tas gan nav prātīgākais variants, labāk pakonfigurēt tur konkrētus parametrus, bet labāk vispār orentēties uz kautkādām standarta konfigurācijām, lai ietu lielākoties uz visām mašīnām tavs skripts. Edited November 2, 2004 by рпр Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 Nevaru mainīt php.ini Link to comment Share on other sites More sharing options...
Venom Posted November 2, 2004 Report Share Posted November 2, 2004 par to augstāk arī bija rakstīts - sudo ļauj palaist procesus ķipa ar cita ūsera loginu, Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments. sudo.ws Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 Jā un ja es vēl kautko mācētu no linux komandām.... exec, passthru,proc_open, shell_exec, system, exit, show_source, curl_init, curl_exec() has been disabled for security reasons :D :D :D Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 Kāpēc man strādā rmdir, bet nestrādā mkdir ar mapēm kurām ir apache useris, ja manuālī abiem rakstīts: When safe mode is enabled, PHP checks whether the directory in which you are about to operate has the same UID (owner) as the script that is being executed. Abas komandas tiek izpildītas vienā un tajā pašā failā. Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 ini_get_all(): [safe_mode]=> Array ( [global_value] => 1 [local_value] => 1 [access] => 4 ) [safe_mode_allowed_env_vars] => Array ( [global_value] => PHP_ [local_value] => PHP_ [access] => 4 ) [safe_mode_exec_dir] => Array ( [global_value] => [local_value] => [access] => 4 ) [safe_mode_gid] => Array ( [global_value] => 1 [local_value] => 1 [access] => 4 ) [safe_mode_include_dir] => Array ( [global_value] => /home:/usr/share/pear:/var/www [local_value] => /home:/usr/share/pear:/var/www [access] => 4 ) [safe_mode_protected_env_vars] => Array ( [global_value] => LD_LIBRARY_PATH [local_value] => LD_LIBRARY_PATH [access] => 4 ) Link to comment Share on other sites More sharing options...
Recommended Posts