Thread: PHP on HD

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    0

    PHP on HD


    Alright,

    I have a external TB HD that I store pictures, music, videos, etc on. I want to make it so when I open it I have an "index.php" page where I can kind of create a website to view all of my media. That way I can listen, watch, and view all of it without a third party app. I can just use a browser, and HTML5. The only thing is, how can I make it run PHP?
  2. #2
  3. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,749
    Rep Power
    9397
    Either you get PHP 5.4 and use its standalone HTTP server (decent enough for something small), or you install Apache+PHP or combination thereof (eg, WAMP, XAMPP) and run it from the drive.

    Comments on this post

    • aeternus agrees : I use wamp, takes you 5 min to setup
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    0
    Well I want to install Apache on the external HD and be able to use it on whatever computer I am on.
  6. #4
  7. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,301
    Rep Power
    7170
    If you are on Windows, you can do that with Xampp easily.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo