C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 11-22-2007, 09:48 PM   #1
Protocol Test Engineer
 
ssharish2005's Avatar
 
Join Date: Sep 2005
Location: fseek(UK)
Posts: 1,324
PHP installation

Hi, I am trying to install PHP on my embedded board. I am pretty no sure about few things which I would like to clarify with you all.

At the movement I have thttpd web server running on my board. But it don't have PHP installed on the board. And I believe that thttpd support PHP to certain extent. And hence I installed or perhaps it was already installed.

The memory which I am left on my flash is up to 4MB. I will have to installed it within that. Is there is any compressed version of PHP available? Or if I install the full version of PHP it going to eat up my memory. Is there anything like that?

And I believe that I have to compile it before I install it onto target board. Can you please help me out in this.

Thanks a lot

ssharish
ssharish2005 is offline   Reply With Quote
Old 11-22-2007, 10:23 PM   #2
Registered User
 
Join Date: May 2006
Posts: 894
Hum. Unless there's something I'm missing, you can't install a language.
Desolation is offline   Reply With Quote
Old 11-22-2007, 10:36 PM   #3
Protocol Test Engineer
 
ssharish2005's Avatar
 
Join Date: Sep 2005
Location: fseek(UK)
Posts: 1,324
Quote:
Originally Posted by Desolation View Post
Hum. Unless there's something I'm missing, you can't install a language.
Well sorry i dint get you. Why is that i cant install a language. Cos i will have to build a user interface for my system which i wrote in C. So that user can operate the board through the web interface which intern call the C code.

Any idea of alternative? There should be a way that i would be able to run the PHP code on the board.

Thanks a lot again.

ssharish
ssharish2005 is offline   Reply With Quote
Old 11-23-2007, 12:29 AM   #4
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,338
Quote:
Why is that i cant install a language.
Desolation is being pedantic :P
You cannot install PHP, but you can install a PHP interpreter, just as you cannot install C++, but you can install a C++ compiler.

Quote:
The memory which I am left on my flash is up to 4MB. I will have to installed it within that. Is there is any compressed version of PHP available? Or if I install the full version of PHP it going to eat up my memory. Is there anything like that?
Download the source then compile with only the necessary options.

Quote:
Cos i will have to build a user interface for my system which i wrote in C. So that user can operate the board through the web interface which intern call the C code.
Have you considered writing a CGI program in C?
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 11-23-2007, 12:01 PM   #5
Protocol Test Engineer
 
ssharish2005's Avatar
 
Join Date: Sep 2005
Location: fseek(UK)
Posts: 1,324
Quote:
You cannot install PHP, but you can install a PHP interpreter, just as you cannot install C++, but you can install a C++ compiler.
Well sorry, i should have put it in a proper words. But what i meant was that. And yes it should have been a PHP interpreter.

I will have a go with CGI on C?

Thanks for that

ssharish
ssharish2005 is offline   Reply With Quote
Old 11-23-2007, 06:22 PM   #6
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,763
Quote:
Originally Posted by laserlight View Post
Desolation is being pedantic :P
You cannot install PHP, but you can install a PHP interpreter, just as you cannot install C++, but you can install a C++ compiler.
But because the PHP interpretter is called "PHP," why couldn't you "Install PHP?" This goes beyond pedantic.
brewbuck is offline   Reply With Quote
Old 11-23-2007, 07:57 PM   #7
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,338
Quote:
But because the PHP interpretter is called "PHP," why couldn't you "Install PHP?" This goes beyond pedantic.
Go ask Desolation. Personally, I usually talk about "PHP installation" and "installing PHP". You only cannot install PHP in the same way as you cannot install C++, which means that you can install C++, if your C++ compiler (or anything that can be installed, for that matter) happens to be called C++. (And it is called c++ sometimes, so...)
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 11-23-2007, 09:37 PM   #8
Woof, woof!
 
zacs7's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 3,295
Considered perl? Seriously, much nicer than PHP IMO, and not bloated to hell.

No pedantic comments about my post please, I've kept my post purely demotic -- which is apparently the opposite of pedantic, learn something everyday
__________________
"I.T. gets the chicky-babes" - M. Kelly
bakefile | vim
zacs7 is offline   Reply With Quote
Old 11-23-2007, 09:42 PM   #9
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,338
Quote:
Considered perl? Seriously, much nicer than PHP IMO, and not bloated to hell.
Ruby (on Rails) seems to be all the rage today.
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
combining c php and mysql Thoth C Programming 2 01-30-2009 10:55 AM
VC++6 installation wizard BrownB Windows Programming 2 07-20-2005 12:44 AM
PHP on my Computer! xxxrugby Tech Board 4 03-15-2005 09:34 AM
php script question (is this possible?) Leeman_s A Brief History of Cprogramming.com 1 12-30-2003 09:20 PM
PHP 4.3.0 released codingmaster A Brief History of Cprogramming.com 5 12-30-2002 07:40 AM


All times are GMT -6. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22