title: how to run cmd as root from apache (centOS)?
body: <p>I'm trying to run the "useradd" command in CENTOS but I can't because I need root permissions.</p>
  
  <p>In my <code>php_info();</code> I have '--disable-posix'. I have tried to re-install my PHP, and tried to enable the posix with yum and more options, but no luck.</p>
  
  <p>Can someone help me to make the posix enable or some other solutions? I notice that <code>posix_getuid();</code> is working, but <code>posix_setuid();</code> is not.</p>
  
  <p>Any solution?</p>
  
  <p>All I need to insert <code>useradd</code> into passwd(root) command by "user click". What is the best and most secure way to do this?</p>
  
  <p>Thanks a lot!</p>
  
  <p>Koren Or</p>