Sto cercando di installare php su mac 10.5.7, visualizzo il messaggio di benvenuto di apache in localhost e tutte le html, ma solo lo script php.
Cercando la cartella apache nell'hd del mac non la trovo...
perchè?
grazie
Sto cercando di installare php su mac 10.5.7, visualizzo il messaggio di benvenuto di apache in localhost e tutte le html, ma solo lo script php.
Cercando la cartella apache nell'hd del mac non la trovo...
perchè?
grazie
ho seguito le istruzioni messe in rete: http://server.html.it/articoli/leggi...s-x-leopard/1/
pero' alla fine le pagine in php nn riesco a visualizzarle.
il comando:
mate http.conf mi apre il file in bianco;
Portiamoci alla linea 163 e modifichiamo il percorso indicato da
DocumentRoot "/Library/WebServer/Documents"
Aprendo manualmente il documento le linee non si trovano alla riga 163 bensi 167 ecc...
questi sono tutti i passaggi che ho effettuato:
Last login: Mon May 18 18:22:00 on ttys000
macbook-di-giorgio-della-pieta:~ GIORGIO$ sudo apchectl graceful
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
macbook-di-giorgio-della-pieta:~ GIORGIO$ sudo apchectl stop
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
macbook-di-giorgio-della-pieta:~ GIORGIO$ cd /etc/apache2
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ ls
extra magic original users
httpd.conf mime.types other
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ ls -l original
total 40
drwxr-xr-x 13 root wheel 442 29 Dic 14:59 extra
-rw-r--r-- 1 root wheel 17543 31 Mag 2008 httpd.conf
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ sudo mkdir original.leopard
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ sudo cp -R httpd.conf extra original.tiger/
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ mate http.conf
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ open httpd.conf
macbook-di-giorgio-della-pieta:apache2 GIORGIO$ sudo apachectl restart
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
macbook-di-giorgio-della-pieta:apache2 GIORGIO$
Chiedo AIUTO!
grazie
php è gia installato![]()