PHP installation

This is a discussion on PHP installation within the Tech Board forums, part of the Community Boards category; Hi, I am trying to install PHP on my embedded board. I am pretty no sure about few things which ...

  1. #1
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682

    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

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    Hum. Unless there's something I'm missing, you can't install a language.

  3. #3
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    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

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,652
    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.

    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.

    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
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    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

  6. #6
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,239
    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.

  7. #7
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,652
    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
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  8. #8
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    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

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,652
    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
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

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

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