Δημοσιεύτηκε: 07 Οκτ 2009, 21:12
από pc_magas
Έχω εγκαταστήσει τον lampp σtoν inspiron αλλα δεν πως θα αποθηκεύω στο φάκελο htdocs. έκανα μια απόπειρα αλλα τίποτα παρα σπασμένα δεν πέτυχα. Να σας πώ τι έκανα ακριβώς:
Εκανα στο Desktop ένα αρχείο new.php και ήχε τις εξής εντολές
Κώδικας: Επιλογή όλων

<?php
echo "hello";
?>

Και μετά πήγα terminal και πληκτρολογισα:
Κώδικας: Επιλογή όλων
sudo mv ~/Desktop/new.php /opt/lampp/htdocs

Και μετά στον Firefox δίνω:
Κώδικας: Επιλογή όλων
http://127.0.0.1/xampp/new.php

Αλλά μου λέει:
Κώδικας: Επιλογή όλων
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
127.0.0.1
Wed 07 Oct 2009 09:10:17 PM EEST
Apache/2.2.12 (Unix) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k PHP/5.3.0 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0

Αλλά στο terminal πληκτρολόγισα τα εξής και πήρα τα αοπτελέσματα αυτά:(see code)
Κώδικας: Επιλογή όλων
dimitris@dimitris-laptop:~$ sudo ls /opt/lampp/htdocs
favicon.ico index.php [b]new.php [/b] webalizer xampp

Τις πταίει το gts μου :!: :!: :!: :!: :!: :!: :!:
:twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: