Salve, sono nuovo completamente di programmazione php, e quindi seguendo la guida di questo sito ho cominciato a istallarmi le varie componenti necessarie per creare l'ambiente di programmazione, ma quando mi trovo a modificare il file httpd come descritto nella guida riscontro due difficoltà:
1 se aggiungo le righe di codice
#Start Php integration
LoadModule php4_module "c:/php/php4apache2.dll"
AddType application/x-httpd-php .php
PhpIniDir "C:/php"
#End Php integration
non si riavvia apache che evidentemente mi riscontra un errore se non ho ancora modificato la riga
DirectoryIndex index.html index.html.var
in
DirectoryIndex index.html index.html.var index.php
2 problema
nel file httpd originale non compare la parte
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var
come dice nella guida ma bensì
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
e modificando queste in
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html index.html index.html.var
</IfModule>
apache continua a non funzionare...
cosa devo fare?
Ps apache versione 2.2.4