By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

[Slightly OT] Is there a way?

P: n/a
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.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
e n | c k m a <bo*@marley.com> wrote:
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?
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)
I want to run PHP 'shell scripts' and I don't have a PHP interpreter!

What's the best way to do this?
Search your distribution packages or ask a (trusted) person to do a
(static) compile for you.
I assume it would need to use the already installed php.ini file also,
wouldn't it... Any help?


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

--

Daniel Tryba

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.