Site en php avec ubuntu

Bonjour à tous
Depuis le terminal je travail sur la conception de mon site Web
Je charge et modifie des fichiers avec gedit ou gksudo gedit
J'ouvre le site sur localhost , il fonctionne bien sauf:
que les modifications apportées à ces fichiers ne sont pas prises en compte ???
J'utilise xammp pour Linux

Le répertoire du site SiteFD
drwxr-xr-x 2 francis francis 4096 2010-04-20 11:59 telescope
-rwxr-xr-x 1 francis francis 6139 2010-04-03 19:17 TELESCOPE2.php
-rwxr-xr-x 1 francis francis 3359 2010-04-07 14:16 ToutRien.php
-rwxr-xr-x 1 francis francis 3534 2010-04-03 11:06 VAPEUR2.php
drwxr-xr-x 2 francis francis 4096 2010-04-20 11:59 VapeurSmall
francis@francis-desktop:/opt/lampp/htdocs/SiteFD$ nano index.php
francis@francis-desktop:/opt/lampp/htdocs/SiteFD$ gedit style.css


Je cherche mais ne trouve pas . Pourquoi ?
J'aime beaucoup Ubuntu, mais c'est plus difficile pour le maitriser .
Merci d'avance.
Francis

3 réponses

  1. Modérateur
    Salut,

    Affiche plutôt les permissions sur des fichiers "index.php" et "style.css", ce sont elles qui importent ;-\
    1. J'ai tout mis à chmod 777

      drwxrwxrwx 13 francis francis 4096 2010-05-03 12:56 SiteFD

      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 anches
      -rwxrwxrwx 1 francis francis 4811 2010-04-02 08:53 ANCHES2.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 anchesSmall
      -rwxrwxrwx 1 francis francis 1246 2010-04-07 13:18 BASE_2.php
      -rwxrwxrwx 1 francis francis 1202 2010-04-02 09:01 BASS_FRANCAIS.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 bateau
      -rwxrwxrwx 1 francis francis 10479 2010-04-07 14:11 BATEAU2.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 BateauSmall
      -rwxrwxrwx 1 francis francis 4438 2010-04-03 08:31 BOISERIES.php
      -rwxrwxrwx 1 root root 2 2010-05-03 12:47 compteur.txt
      -rwxrwxrwx 1 francis francis 1476 2010-04-07 13:36 donnee.php
      -rwxrwxrwx 1 francis francis 479 2010-04-07 13:39 donnee_post.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 ebeniste
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 ebenisteSmall
      -rwxrwxrwx 1 francis francis 2757 2010-05-03 11:49 en_tete.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 images
      -rwxrwxrwx 1 francis francis 5725 2010-05-03 11:49 index.php
      -rwxrwxrwx 1 francis francis 4322 2010-04-03 18:20 MEUBLE.php
      -rwxrwxrwx 1 francis francis 3690 2010-04-03 09:14 MOITESSIER2.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 peint
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 peintSmall
      -rwxrwxrwx 1 francis francis 4132 2010-04-20 08:57 PEINTURE1.php
      -rwxrwxrwx 1 francis francis 3934 2010-04-03 09:52 PEINTURE2.php
      -rwxrwxrwx 1 francis francis 4054 2010-04-03 09:52 PEINTURE3.php
      -rwxrwxrwx 1 francis francis 1041 2010-05-03 11:49 pied_de_page.php
      -rwxrwxrwx 1 francis francis 6800 2010-04-03 17:15 qui.php
      -rwxrwxrwx 1 francis francis 1165 2010-04-03 10:28 salut.php
      -rwxrwxrwx 1 francis francis 4332 2010-05-03 11:49 style.css
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 telescope
      -rwxrwxrwx 1 francis francis 6139 2010-04-03 19:17 TELESCOPE2.php
      -rwxrwxrwx 1 francis francis 3359 2010-04-07 14:16 ToutRien.php
      -rwxrwxrwx 1 francis francis 3534 2010-04-03 11:06 VAPEUR2.php
      drwxrwxrwx 2 francis francis 4096 2010-04-20 11:59 VapeurSmall

      ça ne marche toujours pas.

      Il y a aussi: http://localhost/xampp/ Il affiche XAMPP for Linux
      que je ne peux pas forcer à être simplement : http://localhost/
      ou alors : http://localhost/SiteFD là ça marche, mais je n'ai pas les autres sites
      à disposition.

      Un problème dans l'installation XAMPP ?
      Avec Vimpserver sous WindowsXP ça allait tout seul

      Merci d'avance
      1. Bonjour,

        Pour style.css, cela peut être un problème de cache au niveau de ton navigateur.
        Pour en avoir le coeur net, demande-lui d'ouvrir juste http://localhost/.../style.css , et rafraîchit la page : tu devrais voir tes modifications apparaître.

        Perso, j'ai eu quelques problèmes en passant de windows à ubuntu au niveau de mes sites web, mais aucun de ce genre-là.

        Xavier
        1. C'est parfait, ça marche.

          Un problème de cache, c'est quoi et ou le trouver.

          Merci bien.