Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    1

    Default PHP Module problem.. please help

    I am using the below script..


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


    <?php

    require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
    $host = "localhost";
    $user = "root";
    $accesshash = 'my access key is going in here1a
    bd52d8db9e4bcad1011df371b66f983c
    yadda yadda';

    $accts = listaccts($host,$user,$accesshash,0);
    print_r($accts);
    $pkgs = listpkgs($host,$user,$accesshash,0);
    print_r($pkgs);
    ?>

    I save it as test3.php, and run it here:
    http://webstarhosting.ca/theroot/test3.php

    for some reason, all i am getting is a blank empty page.

    What is the problem?!?!! I have tried changing things many times to get this to work.. no luck

  2. #2
    Registered User
    Join Date
    Nov 2003
    Posts
    3

    Default

    Same problem here. I am unable to find any error, it just returns a blank page.
    Any ideas ?
    My PHP is compilled with curl + ssl and I'm shure it works becuse other scripts that use curl and ssl work with no problems on the same server.

Similar Threads & Tags
Similar threads

  1. Replies: 15
    Last Post: 08-15-2011, 01:27 PM
  2. php module
    By mehrdad abed in forum New User Questions
    Replies: 4
    Last Post: 07-19-2006, 12:46 PM
  3. Problem with PHP module (ver5.04) in apache
    By Vlad Gaponik in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-25-2005, 09:03 AM
  4. Weird Problem Compiling EXIF Module into PHP
    By jojo235 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-24-2005, 12:57 PM
  5. Install PHP Zip module and zziplib - Compile PHP individually
    By Arvand in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2003, 06:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube