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.

PHP executables

Discussion in 'General Discussion' started by MikaK, Feb 3, 2005.

  1. MikaK

    MikaK Registered

    Joined:
    Feb 3, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Helsinki, Finland
    Hi,
    we are setting up a server with cpanel. When I presented the following question I was advised to post it here for a more indepth answer "as it involvs programming" according to my host contact.

    Could you brief me on the following issue raised
    by one of the coders working with the portal:

    > "I'm just wondering if I should expect things to be
    > exactly the same or a little different. Like, I was
    > having the problem in setting up cron jobs that there
    > didn't seem to be any command-line PHP executable in
    > the normal places where that would be found. So I had
    > to use the same trick as what I saw used for amember,
    > which is to load it from a webpage. But that isn't
    > really a proper cron job, so that makes it a bit
    > harder. So I was wondering if you know whether there
    > is a PHP executable there? Normally, with a version of
    > PHP like what is there, 4.3.10, as a default it
    > installs the executable (CGI version) also, and puts
    > it in /usr/local/bin/php. But that might have been
    > deleted by cpanel for some reason."
    >
    > "It would be nice to hear what they had in mind with
    > the PHP binary (command-line PHP). If it really isn't
    > there, I can manage by doing cron through webpages,
    > even if it is a little backwards. It is just a bit
    > more shakey, and the web page might time out if
    > there's some long job that needs to be run."

    Here is our General Server Info based on cPanel:
    General server information:
    Operating system Linux
    Kernel version 2.4.25
    Machine Type i686
    Apache version 1.3.33 (Unix)
    PERL version 5.8.1
    Path to PERL /usr/bin/perl
    Path to sendmail /usr/sbin/sendmail
    PHP version 4.3.10
    MySQL version 4.0.23-standard
    cPanel Build 10.0.0-RELEASE 7
    Theme cPanel X v2.5.0

    I would really appreciste a comment.

    As this is my first posting here, my apologies if this posting was made is in the wrong forum.

    Best regards,
    -Mika
     
  2. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    create php file and type this:

    <?php phpinfo(); ?>

    check the Server API (3rd row), i'm very sure your PHP is installed as Apache module
     
  3. MikaK

    MikaK Registered

    Joined:
    Feb 3, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Helsinki, Finland
    Thank you for the tip. I'll look into it.

    -Mika
     
Loading...

Share This Page