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!

PHP+SuExec problem

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

  1. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    316
    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?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice