Jump to content

Run Apache, Php and MySQL off a USB Stick: Difference between revisions

m
updated links
(pages merged)
m (updated links)
 
Line 18: Line 18:


* Install Apache to pdrive/apache-X.X.X
* Install Apache to pdrive/apache-X.X.X
* Download this [[USB Httpd.conf|httpd.conf]] to pdrive/apache-X.X.X/conf/  
* Download this [http://wiki.redbrick.dcu.ie/mw/Run_Apache%2C_Php_and_MySQL_off_a_USB_Stick#httpd.conf httpd.conf] to pdrive/apache-X.X.X/conf/  
* Create a directory www in prdive/ - this will be where you develope your site.
* Create a directory www in prdive/ - this will be where you develope your site.


Line 24: Line 24:


* Unzip PHP to pdrive/php-X.X.X
* Unzip PHP to pdrive/php-X.X.X
* Download this [[USB PHP.ini|PHP.ini]] to pdrive/
* Download this [http://wiki.redbrick.dcu.ie/mw/Run_Apache%2C_Php_and_MySQL_off_a_USB_Stick#php.ini PHP.ini] to pdrive/


* Finally download [[USB start.php|start.php]] to pdrive/ This will be run when you double click start.bat to start up the MySQL and Apache Services as well as open to your USB website, http://localhost:85.
* Finally download [http://wiki.redbrick.dcu.ie/mw/Run_Apache%2C_Php_and_MySQL_off_a_USB_Stick#start.php start.php] to pdrive/ This will be run when you double click start.bat to start up the MySQL and Apache Services as well as open to your USB website, http://localhost:85.


* You will need to update the pages to download to reflect your versions of Apache and PHP.
* You will need to update the pages to download to reflect your versions of Apache and PHP.


[[Category:HowTo]]
[[Category:HowTo]] __NOTOC__


==Configuration Files==
==Configuration Files==