I am assuming that you have downloaded and installed Apache 2.x on your windows machine. Io sono supponendo che avete scaricato e installato Apache 2.x sul tuo computer Windows. Use the latest version 2.2, if you do not have plans to run Subversion on it. Utilizzare l'ultima versione 2,2, se non si dispone di piani di sovversione per eseguire su di esso. Otherwise choose Apache 2.0.x. Altrimenti scegliere Apache 2.0.x. Install it with the defaults. Installarlo con i valori predefiniti. You may want to however changes the drive on which it is installed. È possibile che si desideri modifiche tuttavia l'unità in cui è installato. Anyway so you have it running. Comunque in modo che abbiano in esecuzione. Then you went to php.net and have downloaded and extracted the zip file to say c:\ or d:\. Quindi si è andato a php.net e hanno scaricato ed estratto il file zip a dire c: \ o d: \. I am assuming you have then changed the name of php.ini-recommended to php.ini. Sono supposto che hanno poi cambiato il nome del php.ini-raccomanda di php.ini. So far all the steps are straight forward and their install guide is good enough. Finora tutti i passi avanti sono dritti e la loro installazione di guida è abbastanza buono. Now you are feeling happy about it and want to integrate PHP with Apache, right? Ora si sente felice su di esso e si vuole integrare il PHP con Apache, giusto? That’s when the fun begins. Che, quando inizia il divertimento.

To cut the long story short the instructions in PHP document doesn’t work and have obviously not been updated in a long while. Per tagliare la lunga storia breve le istruzioni in PHP documento non funziona e, ovviamente, non sono stati aggiornati in un lungo tempo. So I will give you a 2 minute guide to glory. Così io vi a 2 minuti a guida di gloria.

Open httpd.conf (in Drive:\Program Files\Apache Group\Apache2\conf) and search for LoadModule statements. Aprire httpd.conf (in Unità: \ Program Files \ Apache Group \ Apache2 \ conf) e cercare LoadModule dichiarazioni. At the end add: Alla fine aggiungere:
LoadModule php5_module "D:/php/php5apache2.dll" LoadModule php5_module "D: / php/php5apache2.dll"

Then search for Quindi cercare directives. direttive. At the end add: Alla fine aggiungere:

 AddType application/x-httpd-php .php  AddType application/x-httpd-php-source .phps AddType application / x-httpd-php. Php AddType application / x-httpd-php-source. Phps 

Note: The last AddType is a nicety. Nota: L'ultimo è un AddType non bastasse. It allows you to view .phps files (php files with extension renamed) in htmlized and colorful format from your browser. Vi permette di visualizzare. Phps file (php file con estensione rinominata) in htmlized e colorato formato dal browser.

Now restart the server. Ora riavviare il server.
Did I say you are done? Ti dico avete finito? Well, you are. Bene, siete. So go out and enjoy. Quindi uscire e godere.

Note: If you are a wimp and you don’t need Subversion you may take the easy way out and install Xampp instead. Nota: Se sei un wimp e non avete bisogno di sovversione si può prendere la via d'uscita facile e installare XAMPP. It will do the dirty work for you. Si farà il lavoro sporco per voi.