#1
  1. Born Looser
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    /root
    Posts
    272
    Rep Power
    173

    Unhappy Can I run MySQL/Apache/PHP/Perl from CD ROM?


    I was wondering whether I can run Can I run MySQL/Apache/PHP/Perl from CD ROM? from CD ROM?
    I need to give a presentation and don't want to carry my hdd along with me. Is there a way Except hosting the files on net to display the php scripting to some one else??
    Kumar Chetan Sharma
    -----

    _SelfProcclaimedGuru
    Hire a LAMP guy.
    To err is human. To blame your computer for your mistakes is even more human, it is downright natural.
  2. #2
  3. No Profile Picture
    wizz@linux.be
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    belgium
    Posts
    30
    Rep Power
    13
    in a windowsenvironment i assume?

    eitherway, i don't think its possible; the server should be installed.

    Maybe an option is to host it yerself?
  4. #3
  5. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    (Somewhat off-topic, but...) There is a program available at http://www.triplehash.com/content.php?id=26 for turning PHP applications into Windows programs.

    However, I don't know if this can go as far as putting a whole MySQL database on the CDROM also. In other words, it might work just fine, as long as your application uses standard PHP functions, etc... but a database is an external application.

    If you convert your application to temporarily run from CSV text files, or some other method of "flattening" your data onto the filesystem, then you should be fine, though.

    The alternative is to find a way for MySQL to run in read-only mode from the CDROM. That just might be possible, because there has been some work done with using MySQL as an "embedded" database. But it is definitely not a standard MySQL feature. Try asking this question in the MySQL mailing lists.

    Another possibility is to setup your application to use ODBC for it's database connectivity. MySQL using ODBC is not as fast as a native MySQL connection, but it abstracts the database details to use standardized Windows data access methods. This means you could change the database to any database supported by Windows, without significantly changing your application. Access 97 pr 2000, for example, could be your solution. I believe there is a run-time Access engine, specifically for this purpose. It doesn't allow database creation or modification of database schema, but it let's the user work with an Access MDB file.

    There are all kinds of small proprietary databases made for such purposes also, which support ODBC.
    Last edited by rycamor; April 15th, 2002 at 04:49 PM.
    The real n-tier system:

    FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

    Amazon wishlist -- rycamor (at) gmail.com
  6. #4
  7. phpkid ~~~~~~ :o)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Nov 2000
    Location
    NJ, USA
    Posts
    2,534
    Rep Power
    16
    Just check MicroWeb @ http://www.indigostar.com/microweb.htm.

    Its a cool product.

    It would provide you webserver which would run off the cd which supports PHP and Perl. But you would have to do without MySQL, I guess.

    JD
    _____________________________
    d.k.jariwala (JD)
    ~ simple thought, simple act ~
    I blog @ http://jdk.phpkid.org
  8. #5
  9. Born Looser
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    /root
    Posts
    272
    Rep Power
    173

    Unhappy ok i got 404 kind of errors


    Man it was poblem showing things online like i don't have mysql account. How the hell I can show my saome of database skills to some one who may offer me some job?

    for both links I got 404 error. I think my ISP is to be blame for this as u must have checked those links


    Kumar Chetan Sharma
    -----

    _SelfProcclaimedGuru
    Hire a LAMP guy.
    To err is human. To blame your computer for your mistakes is even more human, it is downright natural.
  10. #6
  11. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    No, the problem was Devshed. It added the period at the end of JD's sentence to the link. Just go to http://www.indigostar.com/ and click on the MicroWeb link. For my link above, just go to http://www.triplehash.com/ and click on the Serlient link.

    My advice: don't waste too much time on this. Getting a CD-based application to run properly in anyone's computer is a chancy thing. You might get it to run perfectly on your PC, and then go to someone's office and have major trouble with it. It is more impressive if you can put your work online and just have someone browse it. If a business doesn't have a decent web connection, why would you want to work for them anyway?
    The real n-tier system:

    FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

    Amazon wishlist -- rycamor (at) gmail.com
  12. #7
  13. Born Looser
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    /root
    Posts
    272
    Rep Power
    173

    I think rycamor is right


    If a business doesn't have a decent web connection, why would you want to work for them anyway?
    I will really thank u for realising me which kind of fool I am

    It is more impressive if you can put your work online and just have someone browse it.
    But the question is that i don't have some Database webspace for free which i need. Do U know some free php/mysql hosting services as f2g?
    Kumar Chetan Sharma
    -----

    _SelfProcclaimedGuru
    Hire a LAMP guy.
    To err is human. To blame your computer for your mistakes is even more human, it is downright natural.
  14. #8
  15. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    That's a question to ask in the web hosting forum .
    The real n-tier system:

    FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

    Amazon wishlist -- rycamor (at) gmail.com
  16. #9
  17. <insert title here>
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    at home
    Posts
    405
    Rep Power
    14
    why not do a mock db? Output you db into a delimited flat file and modify your query statements into file statements. It could be done. Might be more trouble than it's worth though.
    just another (probably useless) thought.
    --the key to life is avoiding death--
  18. #10
  19. Born Looser
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    /root
    Posts
    272
    Rep Power
    173

    Unhappy Does the all this means I Can't


    All the above discussion means I need a webhosting space with MySQL support and I am unable to run MySQL/Apache/PHP/Perl from CD ROM.
    OK I can use file functions and use them But the main thing is I wanna show off my DB skills
    Kumar Chetan Sharma
    -----

    _SelfProcclaimedGuru
    Hire a LAMP guy.
    To err is human. To blame your computer for your mistakes is even more human, it is downright natural.
  20. #11
  21. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    Sorry, but yes, at least for practical purposes. I suppose there is a possibility you can run Apache/MySQL/PHP from a CD, but it would probably take months of compiling, tweaking, and testing, and even then I think it would work on one machine, and not on another.

    Honestly, if you browse the hosting forum, you can find PHP/MySQL hosting for as low as $5/month (US). If your time is worth anything, this is much better than wasting days and weeks trying to make a non-standard solution.
    The real n-tier system:

    FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

    Amazon wishlist -- rycamor (at) gmail.com

IMN logo majestic logo threadwatch logo seochat tools logo