I am new to php and open source community and I am having great difficulty settting things up. What i want to do is set up php on my windows machine, use dreamweaver to build dynamic pages for my mySql database (this is hosed remotely).
I have run the windows installer version of php and set up iis to accept php and wrote <?php phpinfo(); ?> saved it as a test.php, uploaded it to the wwwroot folder, ran it from the browser and received the following error:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
Could anyone guide me through the process of how I can get php to work on iis under winxp. The 'manual page' ensures that a beginner such as myself is frightened to death and has two days free time to set it up.
Thanks for the info. After my last post I downloaded and installed phpdev which has Apache, php, and mySql together. I can access the php test page, see mySql and create tables. I think all is ok for the moment.