[Slightly OT] Is there a way?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • e n | c k m a

    [Slightly OT] Is there a way?

    Is there a way for me to download a PHP interpreter for Linux that I can
    paste into /usr/bin/ since my installation used the shared object module
    version?

    I want to run PHP 'shell scripts' and I don't have a PHP interpreter!

    What's the best way to do this? I assume it would need to use the already
    installed php.ini file also, wouldn't it... Any help?

    Thanks heaps in advance,
    Nicko.


  • Daniel Tryba

    #2
    Re: [Slightly OT] Is there a way?

    e n | c k m a <bob@marley.com > wrote:[color=blue]
    > Is there a way for me to download a PHP interpreter for Linux that I can
    > paste into /usr/bin/ since my installation used the shared object module
    > version?[/color]

    Yes, but most distributions already have a php cgi/cli package. Have you
    looked for that? eg Debian:

    $ dpkg -l 'php4*cgi*'
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
    ||/ Name Version Description
    +++-==============-==============-=============== =============== ==============
    ii php4-cgi 4.3.3-3 A server-side, HTML-embedded scripting langu
    un php4-cgi-curl <none> (no description available)
    un php4-cgi-domxm <none> (no description available)
    un php4-cgi-gd <none> (no description available)
    un php4-cgi-imap <none> (no description available)
    un php4-cgi-ldap <none> (no description available)
    un php4-cgi-mcryp <none> (no description available)
    un php4-cgi-mhash <none> (no description available)
    un php4-cgi-mysql <none> (no description available)
    un php4-cgi-pgsql <none> (no description available)
    un php4-cgi-snmp <none> (no description available)
    un php4-cgi-xml <none> (no description available)
    [color=blue]
    > I want to run PHP 'shell scripts' and I don't have a PHP interpreter!
    >
    > What's the best way to do this?[/color]

    Search your distribution packages or ask a (trusted) person to do a
    (static) compile for you.
    [color=blue]
    > I assume it would need to use the already installed php.ini file also,
    > wouldn't it... Any help?[/color]

    It doesn't have to, it's up to you.

    --

    Daniel Tryba

    Comment

    Working...