Php sous linux
booloo
Messages postés
76
Date d'inscription
Statut
Membre
Dernière intervention
-
Zempachi Messages postés 7472 Date d'inscription Statut Contributeur Dernière intervention -
Zempachi Messages postés 7472 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
j'ai bien installé mon serveur sous la mandriva mais je ne sais pas dans quel repertoire je dois stocker mes fichiers php, j'ai essayer dans WWW/ ça ne marche et meme dans htdocs, s'il vous plait veuiller m'aider.
j'ai bien installé mon serveur sous la mandriva mais je ne sais pas dans quel repertoire je dois stocker mes fichiers php, j'ai essayer dans WWW/ ça ne marche et meme dans htdocs, s'il vous plait veuiller m'aider.
A voir également:
- Php sous linux
- Linux reader - Télécharger - Stockage
- Easy php - Télécharger - Divers Web & Internet
- Toutou linux - Télécharger - Systèmes d'exploitation
- R-linux - Télécharger - Sauvegarde
- Backtrack linux - Télécharger - Sécurité
3 réponses
bonjour,
tu le mets ou tu veux et tu fait un lien vers dans le repertoire var/www/html
ou te le copie dans ce repertoire
a+
tu le mets ou tu veux et tu fait un lien vers dans le repertoire var/www/html
ou te le copie dans ce repertoire
a+
Salut jeanbi!
j'ai fait la meme chose j'ai copié un fichier php dans ce repertoire mais ça ne marche pas, tiens voici le fichier que j'ai copié dans /var/www/html:
<?php
function do_html_header($title){
?>
<html>
<head>
<title><?php echo "warro";?></title>
<style>
body { font-family:Arial, Helvetica, sans-serif; font-size:13px}
li, td {font-family:Arial, Helvetica, sans-serif; font-size:13px}
hr { color:#3333cc; width=300; text-align=left}
a {color: #00000}
</style>
</head>
<body>
<h1>PHPbookmark</h1>
<hr/>
<?php
if($title){
do_html_heading($title);
?>
}
}
le fichier se nomme: palot.php, en tapant http://localhost/palot.php on m'affiche un navigateur blanc c'est-a-dire rien ne s'affiche.
s'il te plait aide moi.
Merci
j'ai fait la meme chose j'ai copié un fichier php dans ce repertoire mais ça ne marche pas, tiens voici le fichier que j'ai copié dans /var/www/html:
<?php
function do_html_header($title){
?>
<html>
<head>
<title><?php echo "warro";?></title>
<style>
body { font-family:Arial, Helvetica, sans-serif; font-size:13px}
li, td {font-family:Arial, Helvetica, sans-serif; font-size:13px}
hr { color:#3333cc; width=300; text-align=left}
a {color: #00000}
</style>
</head>
<body>
<h1>PHPbookmark</h1>
<hr/>
<?php
if($title){
do_html_heading($title);
?>
}
}
le fichier se nomme: palot.php, en tapant http://localhost/palot.php on m'affiche un navigateur blanc c'est-a-dire rien ne s'affiche.
s'il te plait aide moi.
Merci