Run PHP as SuExec user


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. To set PHP to run as SuExec follow the steps outlined in the following (mt) KnowledgeBase article:
  2.  
  3. http://kb.mediatemple.net/questions/260/Upgrade+to+PHP+5+on+(dv)+3.0+Dedicated+Virtual+Servers
  4.  
  5. IMPORTANT: In step # 2
  6.  
  7. cp /opt/php51/cgi-bin/php5 /var/www/vhosts/mt-example.com/bin/
  8.  
  9. Needs to be modified to read:
  10.  
  11. cp /usr/bin/php-cgi /var/www/vhosts/mt-example.com/bin/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.