lol, it so doesn't exist, but I figured I should ask.
If I was to make a Code Snippet Library app thing that was web based, would I some how be able to stick it onto my USB Key without having to install Apache and PHP on every machine I wanted to view it on? I guess I'd need Portable MySQL as well.
I know you can create PHP executables, but I don't think they'd be able to parse my php pages and show them in a browser that I can surf
I have Apache, MySql, PHP 4 and PHP 5 all running off my USB disk I type. Its completely portable. The trick is, is to set all the file paths in the configuaration files relative to the root of the USB disk. I.e: the entire path without the drive letter e.g. \programs\apache\apache2.
I have attached the httpd.conf config file I use for my portable version of Apache as an example.
This is a subject I hope to be writing another tutorial on in the near future.
I actually keep the loggin on, I have a 1Gb USB disk so don't really care if there is a 1Mb log on my disk . But, it can be turned off, PHP can be configured use a temporrary directory which is on the USB drive when creating files and Apache can run standalone instead of as a service.
I actually keep the loggin on, I have a 1Gb USB disk so don't really care if there is a 1Mb log on my disk . But, it can be turned off, PHP can be configured use a temporrary directory which is on the USB drive when creating files and Apache can run standalone instead of as a service.
USB drives are only good for so many writes... 10,000 to a 100,000 or something and then they're no good, so I dunno, will have to look into it and see what files Apache changes while running and then start looking at PHP and MySQL