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.

#!/usr/local/cpanel/3rdparty/bin/php

Discussion in 'General Discussion' started by mikelegg, May 4, 2005.

  1. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    I'm using the cPanel PHP accounting module which requires that #!/usr/local/cpanel/3rdparty/bin/php be included at the top of the script.

    I'm also using sessions.

    I just changed servers and all of sudden I'm getting - Warning: session_start(): Cannot send session cache limiter - headers already sent.

    It's as if the server is sending the include link to the client instead of processing it on the server. Has anyone had this problem before?
     
  2. KingMotley

    KingMotley Member

    Joined:
    Apr 21, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Remove that line.
     
  3. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    Yes that did it.

    Thankyou for that - it did the trick. :) Strange that all of the example code says that the line must be included. :confused:
     
Loading...

Share This Page