Run a PHP website on a CD

Discussion in 'PHP' started by Kongtechnology, Jul 16, 2007.

  1. #1
    Hi,

    I wonder if there is a way to run a PHP website (with MySQL database) on a CD? I mean, not a generated HTML pages, but running dynamically on PHP.

    Thanks.
     
    Kongtechnology, Jul 16, 2007 IP
  2. powerspike

    powerspike Peon

    Messages:
    312
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    not sure if you'd be able to do it with mysql, have you considered sqlite at all ?

    you can get cmd line versions of php.. it should be possible ..
     
    powerspike, Jul 16, 2007 IP
  3. Tim_Myth

    Tim_Myth Peon

    Messages:
    741
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I've never tried it with a CD, but I run Joomla sites from a USB thumb drive all the time for clients. I use JSAS: Joomla Stand Alone Server. I suspect it would fail unless it were a CD-RW, but I know the thumb drive option works.
     
    Tim_Myth, Jul 16, 2007 IP
  4. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #4
    i doubt it..

    u need a webserver for it..which umm i dont think would install on a thumbdrive as itself..
     
    syedwasi87, Jul 16, 2007 IP
  5. adsblog

    adsblog Active Member

    Messages:
    659
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #5
    i think you can create application with php and run it on CD easily . :-? with PHP-GTK ( or a name like it ! :p )
     
    adsblog, Jul 16, 2007 IP
  6. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #6
    DWebPro is free license for non commercial use.I have never used it myself.. But it looks just the trick for you.. http://www.dwebpro.com/
     
    uglyboy, Jul 16, 2007 IP
  7. Tim_Myth

    Tim_Myth Peon

    Messages:
    741
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    0
    #7
    *sigh*...http://jsas.joomlasolutions.com/
     
    Tim_Myth, Jul 16, 2007 IP
  8. steyr

    steyr Guest

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hy!

    I think it should work with php but in connection with the database I have some doubts. Some time ago I was reading a thesis where a php application was part of the thesis. The guy managed it to burn the whole thing down on a cd. But as far as I remember the database did not work.

    regards

    steyr
     
    steyr, Jul 16, 2007 IP
  9. Doskono

    Doskono Peon

    Messages:
    153
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Technically you can, since there are servers like wamp which you can run off flash disk drives... So I guess you could if everything is set up nicely...
     
    Doskono, Jul 16, 2007 IP
  10. Brewster

    Brewster Active Member

    Messages:
    489
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #10
    Try this: http://www.uniformserver.com/

    I run this software on my PC all the time, but I'm not sure how good it would be on a CD. I guess you would need to run it from a USB drive so that php could write to the session folder and the database could be writeable. Depending on your application, so long as you were only reading data, you should be able to run from a CD

    Brew
     
    Brewster, Jul 16, 2007 IP
  11. glowdot

    glowdot Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    There is a lot of writing going on with the flashdrive route, with logging and sessions and whatnot. So you'd need to make sure you configure everything to write to a local drive.
     
    glowdot, Jul 16, 2007 IP
  12. Kongtechnology

    Kongtechnology Guest

    Messages:
    29
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks for all the replies. I thought some of you may have tried it before so that I will not need to do the hard work of researching myself. Haha...

    Anyway, I will try some of the suggestions you give. :)
     
    Kongtechnology, Jul 17, 2007 IP
  13. mutley

    mutley Peon

    Messages:
    356
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    mutley, Jul 17, 2007 IP
  14. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #14
    ansi, Jul 17, 2007 IP
  15. nabiha

    nabiha Peon

    Messages:
    111
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #15
    nabiha, Jul 18, 2007 IP