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!

small question about phpsuexec

Discussion in 'General Discussion' started by naox, May 25, 2005.

  1. naox

    naox Well-Known Member

    Mar 23, 2004
    Likes Received:
    Trophy Points:
    since phpsuexec executes php's as cgis.. then I think on phpsuexec server will not work:

    filename: test.php
    <input name="hub" type="hidden" id="hub" value="<?php echo $_GET['ip'];?>">

    Am I wrong? since I thing cgi can only be executed as whole files, not some htlm-php hybrid I think dynamic htmls generated in html sould not work in phpsuexec. This is theoretical question, because I havent tested phpsuexec. But its very likely I'm wrong in this one
  2. chirpy

    chirpy Well-Known Member

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    Just tried it on our test server running phpsuexec and it works just fine. IIRC the limitations with running phpsuexec are:

    1. HTTP_AUTH will not work

    2. PHP directives in .htaccess files must be moved into local php.ini files

    3. You need to remove write access to directories/scripts (there may be other permissions issues to cater for depending on the script)

    Other than that, it should be pretty much the same.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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