Jump to content

PHP Safe mode and 2>&1 running etc...


jhony

Recommended Posts

Hello,

 

Anyone know what variable must be set whe PHP 5.1 running in SAFE MODE

To get work that:

system("exec gcc-v 2>&1");

 

This is only example ( seems to be no output in browser in all commands)

 

I have defined  safe_mode_exec_dir but seems to be to enough.. just white sceen no output

 

Please help

 

Link to comment
Share on other sites

doesn't work also

i even copied some bins to this dir to test so paths are ok, problem is with this string output, even if path will be bad should give as string communicate that gcc was not found etc..

 

Problem is in somewhere else...in php.ini

 

Jhony

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.