OVH Cloud OVH Cloud

Où est passé PHP ?

11 réponses
Avatar
ASM
Salutatous

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>

et

Include /private/etc/httpd/users/*.conf


--
Stephane Moriaux et son [moins] vieux Mac

1 réponse

1 2
Avatar
nospam
Christian Fauchier wrote:

Faut pas être superstitieux, ça porte malheur... :-)


je ne suis pas super stitieux mais hyper bol !

--
Jacques

1 2