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
    Sep 2002
    Location
    Nottingham, UK
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    parsing php with a webserver

    Hi ALL!

    I want to host my site locally so that I can test it before I upload any changes to the 'live' site. I have configured my Win2K workstation machine to be able to parse PHP using the following link as a guideline to setting it up:



    (note: problem with this site is white font color on white background, but if you highlight the page you can see the text)
    The problem I am now having is that when I open the index.php file it doesn't run the php scripts.
    I have copied the site into wwwroot and tried to access it using the following url:
    http://localhost/index.php

    I get a security alert error message. Message is :

    Security Alert! The PHP CGI cannot be accessed directly.

    The PHP CGI binary was compiled with force-cgi-redirect-enabled.


    If anyone has already configured their machine to run php please advise me. I am running Win2K, IIS5 and MySQL 3.xx.xx

    Can anyone help???
    You are not a human being having a spiritual experience, your a spiritual
    being having a human experience.

  • #2
    Regular Coder
    Join Date
    Oct 2002
    Posts
    380
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What server does your host use? It makes sense to run php locally on the same server as your host. The reason I ask is that you could put apache on your machine.

    You can grab the php-dev bundle from firepages. It will do everything that you need to do.

    Failing that, if you need to stick to IIS, I can't help you.


  •  

    Posting Permissions

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