Visualizzazione dei risultati da 1 a 4 su 4

Discussione: problema apache

  1. #1

    problema apache

    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

  2. #2
    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

  3. #3
    risolto con riavvio

  4. #4
    Moderatore di Macintosh e software L'avatar di olivs
    Registrato dal
    Jan 2001
    Messaggi
    8,906
    php è gia installato

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.