473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

[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.
Jul 17 '05 #1
1 1428
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Edward Diener | last post by:
In an assembly I have a __value enum with some enumerated constants, ie. namespace X { public __value enum MyEnum { ValueA, ValueB }; }
36
by: Hoopster | last post by:
Hello, I know nothing about C++ but want to get started. Is there any good free C++ program that I can try to see if I like programming? I also need a good free compiler. I don't want to...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
3
by: jrhoads23 | last post by:
If you look at a standard Button in a .NET Windows Forms app, you will notice its default BackColor is "Control" and it has a 3D raised border which is 2 pixels wide. The outer edge on the left and...
9
by: easy | last post by:
I start off with an interface class that has no data members and a handful of virtual functions. First Question: is that allowed ? I then derived from this class and it gets included into...
1
by: Phil Latio | last post by:
I have a number of spreadsheets, each with between 1000-6000 rows (each row is a property) and they all need to be combined into a single database. Each spreadsheet contains slightly different...
1
by: Tim Haughton | last post by:
For the .Net framework 3.0, the download link is... http://go.microsoft.com/fwlink/?LinkId=70848 If I'm creating an installer, how do I find the permalink for redistributables? For example, I...
3
by: pauldepstein | last post by:
I am using the latest version of Visual c++ on windows XP. I am trying to build a project and get a lnk1104 error regarding a file of the form .../../ ProjectName.lib No other errors, just this...
4
by: Ken Fine | last post by:
I know about this: http://silverlight.net/forums/14.aspx and this: http://forums.asp.net/1127.aspx Silverlight Beta 2 was announced at TechEd. I was impressed. When does Silverlight get a...
3
by: Michiel Overtoom | last post by:
Paul & Robert wrote... I occasionally have a need for printing lists of items too, but in the form: "Butter, Cheese, Nuts and Bolts". The last separator is the word 'and' instead of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.