Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP+SuExec problem

Discussion in 'General Discussion' started by Faldran, Apr 10, 2003.

  1. Faldran

    Faldran Well-Known Member

    May 28, 2002
    Likes Received:
    Trophy Points:
    I installed PHP+SuExec on a few servers for testing. Everything is great, execpt one problem.

    Many clients setup a Mime Type to phrase htm and html as PHP, so you can have php code in them. Once PHP+SuExec is turned on, all the mime types like that, fail ( I had to remove them from the .htaccess files, just to see the sites again )

    Is there a solution?

    Could it be setup as an Apache Handler, instead? or both?
    Should it be done in in httpd.conf instead of .htaccess? ( would prefer, for the clients to still be able to choose this option, and not turn it on server wide... )

    Any ideas?

Share This Page