2 pièce(s) jointe(s)
HTTP 500 Erreur interne au serveur - include
Bonjour,
J’ai un souci d’installation de PHP5 sous IIS serveur 2003.
Lorsque je fait un include dans un fichier php, j’ai une erreur 500 dans le navigateur.
Le premier fichier (include.php) :
Code:
1 2 3 4 5 6
| <html>
<body>
<a href="http://www.example.com/index.php">Home</a> -
<a href="http://www.example.com/about.php">About Us</a> -
<a href="http://www.example.com/links.php">Links</a> -
<a href="http://www.example.com/contact.php">Contact Us</a> <br /> |
Le second fichier (essai.php) :
Code:
1 2 3 4 5
| <?php include("include.php); ?>
<p>This is my home page that uses a common menu to save me time when I add
new pages to my website!</p>
</body>
</html> |
Le dossier source du PHP est dans « C:\Inetpub\php5 »
Dans le path du système, j’ai rajouté « ; C:\Inetpub\php5 ». J’ai également mis le variable « PHPRC » qui pointe sur ce répretoire.
Le fichier php.ini que j’ai mis dans « C:\WINDOWS »
J’ai pourtant mis la variable « include_path » avec le . afin d’avoir le dossier courant.
Le fichier phpinfo que j’obtiens.
Qu’est-ce qu’il faut faire pour que ça marche ???
Merci de votre aide.