tags:

views:

168

answers:

2

Hi all,

I dont know how to enable exec in server.Please help me

+1  A: 

I don't think you do need to enable it?

What error message are you getting (if any)?

What string are you passing to it?

Are you running in safe mode?

alex
A: 

it's your the server or it's hosted ?
anyway the configuration is into the php.ini, you can understand if is disabled by using this code:

<?php
function exec_enabled() {
  $disabled = explode(', ', ini_get('disable_functions'));
  return !in_array('exec', $disabled);
}
?>
Cesar