S'il y a un ng spécifique Mac Os X + Apache + PHP
je veux bien savoir lequel c'est.
sinon voici :
Je lance Apache (préférences / partage web)
Je rentre sur mon site
les php n'y fonctionnent pas
j'ai un dossier mon_DD / Bibliotheque / PHP4
j'ai un dossier mon_DD / Webserver / mon_site
j'ai un fichier mon_DD / private / etc / httpd / httpd.conf
ce *.conf a :
LoadModule php4_module libexec/httpd/libphp4.so
<IfModule mod_php4.c>
# If php is turned on, we repsect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# Since most users will want index.php to work we
# also automatically enable index.php
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>