Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    The Netherlands
    Posts
    252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Installing phpdev on a USB-stick

    Hi,

    this week a visited the website of firepages (phpdev) and found out that it should be possible to put a complete apache/ php installation on a usb stick. Because I really find this a usefull solution, I decided to give it a go!

    However I'm experiencing some difficulties, which I hope can be solved with the help of this forum.

    Let me start me of by saying that I've used a slightly different method than explained on the website, since I want to use Apache 1.3 and php 4.2.3.

    I copied the suggested structure of the website, with some modifications:

    $usb:/
    -------------start.bat
    -------------usb/
    ------------------------php.ini
    ------------------------start.php
    ------------------------Apache/
    ------------------------php/
    ------------------------www
    ------------------------sess

    In the Apache folder I copied the complete Apache installation of a previous phpdev423 installation. In the php folder I copied the php installation of the same phpdev423 installation.

    Furthermore I modified php.ini, start.bat, start.php and http.conf (see attachements).

    The problem I'm now experiencing is that when I click start.bat I get the following error: "This application has failed to start because php4ts.dll was not found. Re-installing the application may fix this problem".

    The .dll is present in the file structure (usb/php/sapi/), but I'm not sure where to link to this .dll.

    I hope anyone has some suggestions on how to get my apache/ php installation to work on an usb-stick.

    Thanx in advance,

    Michiel
    Attached Files Attached Files

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,095
    Thanks
    11
    Thanked 101 Times in 99 Posts
    Hi , try putting the php4ts.dll in
    $usb:/usb/apache/php4ts.dll
    that way apache should find it
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •