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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Location
    Manchester, UK
    Posts
    533
    Thanks
    4
    Thanked 1 Time in 1 Post

    running apache within a folder

    the scenario i have is that we're trying to distribute our web-based product, "offline". People obviously would need a webserver / php / mysql running... 98% of our users will not have this running - so we've got together php, mysql and apache which I start using a DOS batch file.

    However, although I get it to open IE and a start page saying "ok it's working" - when I type a PHP page - I get the following error

    Warning: Failed opening '/matt/www/index.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0

    it is definately there though!! Everything is run from the "C" directory. When I call "index.html" which is in the same folder, it works.

    is it likely to be a problem with the PHP or paths to php includes?!
    i'm confused!!

  • #2
    Senior Coder
    Join Date
    Mar 2006
    Posts
    1,274
    Thanks
    2
    Thanked 39 Times in 38 Posts
    unusual looking path:

    .;c:\php4\pear

    whats the .; for at the beginning?

  • #3
    Regular Coder
    Join Date
    Nov 2002
    Location
    Manchester, UK
    Posts
    533
    Thanks
    4
    Thanked 1 Time in 1 Post
    not sure?! It's just part of the default error message? I get it if I try to include any page with the wrong path - regardless of where the file is!!


  •  

    Posting Permissions

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