LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2005, 06:06 PM   #1
Trano
Member
 
Registered: Jul 2004
Posts: 30

Rep: Reputation: 15
Command Line PHP in Slack 10


I need to be able to run php scripts from the command line using php - q on a very small Slackware machine. I installed the PHP package, but I don't have the -q option in PHP. Is there a way to get this functionality without compiling from source? I only have 25 megs free and don't have glibc.
 
Old 02-12-2005, 04:09 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Re: Command Line PHP in Slack 10

Quote:
Originally posted by Trano
and don't have glibc.
Uh, you need these libraries!!
you can find them on the Slack CD's.............
 
Old 02-12-2005, 04:22 PM   #3
Trano
Member
 
Registered: Jul 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Its too big though. I only have 256 megs to work with, and I have to have it run apache, php, mysql, shorewall, and squid. Theres just not enough room. The only one I had to compile before was squid, because its not on the slackware cds. The others I installed from the CDs and they run fine without glibc.
 
Old 02-12-2005, 06:04 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by 320mb
Uh, you need these libraries!!
you can find them on the Slack CD's.............
Feel free to drop the attitude and make your replies at least somewhat more helpful, instead of giving a disgusted type of response.

Quote:
Originally posted by Trano
Its too big though. I only have 256 megs to work with, and I have to have it run apache, php, mysql, shorewall, and squid. Theres just not enough room. The only one I had to compile before was squid, because its not on the slackware cds. The others I installed from the CDs and they run fine without glibc.
glibc is a necessary for many of the applications used on Linux. I'm not sure how you did it before but apache is definitely dependent on it and so is Linux as a whole. Most systems running Linux to me would be rather useless without it.
 
Old 02-12-2005, 06:16 PM   #5
Trano
Member
 
Registered: Jul 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Thats what I thought too, but by installing the packages instead of compiling from source they all worked. Is it possible the packages are statically linked? If so I may be able to save space by compiling it all and not using any packages except for the glibc one. Although even squid worked without glibc. As for why, I have no idea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[php] accessing command line dtra Linux - Software 1 04-26-2005 08:19 PM
php command line scripts naflan Programming 5 11-09-2004 09:02 AM
Command Line PHP on Mandrake Dilireus Linux - Software 2 08-04-2004 06:46 PM
php from command line odious1 Linux - Software 4 05-03-2004 01:31 AM
PHP execute at command line gjmwalsh Mandriva 2 12-06-2003 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration