Salve a tutti, x motivi lavorativi devo testare un applicativo che ho sviluppato in PHP (sotto linux con apache e mysql) su un server Microsoft con IIS.
Per questo motivo mi sono installato l'IIS si Win2K, se nn sbaglio la versione 4, e ora sto cercando di far girare le pagine php.
Ho incontrato alcuni problemi e ora vi posto il contenuto della pagine che mi compare quanto tento di caricare una pagina .php.
Io ho fatto in questo modo:codice: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.
- ho installato il php installer;
- ho configurato l'iis affinché utilizzi il file php.exe per interpretare tutte la pagine in php
- ho settato la variabile cgi.force_redirect=0 presente nel php.ini
Il problema è appunto che quando provo a caricare una pagina php mi appare il testo che ho postato sopra...
sapete aiutarmi?
Grazie anticipatamente

Rispondi quotando