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.

cpanel remote access using php

Discussion in 'General Discussion' started by concat, Apr 8, 2003.

  1. concat

    concat Registered

    Joined:
    Apr 8, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi there !

    I tried using remote key to access cpanel. I took the sample program from http://www.cpanel.net/manual/remoteaccess-php.html

    iam getting this error.

    Fatal error: Failed opening required '/usr/local/cpanel/Cpanel/Accounting.php.inc' (include_path='.:/usr/share/php')

    My system administrator is saying that the include file is present.

    pls help.
     
  2. Gammasoft

    Gammasoft Member

    Joined:
    Nov 22, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    That is because your administrator has setup an include path, which means that the path you specified is appended to /usr/share/php, you nede your administrator to setup php.ini so you can include files from anywhere, or ask him to move that file to /usr/share/php and the just include:

    /usr/share/php/Accounting.inc.php

    Hope that helps :D

    cPanel.net Support Ticket Number:
     
  3. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    The path includes a "." meaning he can include giving the full path.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page