php ?

Giannis Papaioannou jhn at egnatia.ee.auth.gr
Mon Jan 21 14:15:01 EET 2002


On Sun, 20 Jan 2002, George Barbounis wrote:
>gia sas
>$script="/usr/bin/script";
>system("$script");
>
>h erwthsh einai otan trexei auto, se mia selida php, giati psaxnei na brei
>to arxeio script sto /script kai oxi sto /usr/bin/script, pou tou exw dwsei?
>
>blepe arxeio  error_log tou apache ---->>>>>> sh: /script: No such file or
>directory

Apo to manual ths PHP

Safe Mode Configuration Directives

safe_mode boolean

    Whether to enable PHP's safe mode. Read the Security and Safe Mode
chapters for more information.

safe_mode_exec_dir  string

    If PHP is used in safe mode, system() and the other functions
executing system programs refuse to start programs that are not in this
directory.   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


ftia3e ena scriptaki <?php phpinfo() ?> na deis an to safe_mode tou server
einai On.




More information about the Linux-greek-users mailing list