Visualizzazione dei risultati da 1 a 6 su 6
  1. #1
    Utente di HTML.it
    Registrato dal
    Aug 2003
    Messaggi
    80

    Errore Installazione php5 DSO su apache2 con ubuntu hoary

    Non riesco a configurare correttamente php5 prima di compilarlo...
    ./configure --with-mysql --with-apxs2

    mi da errore del tipo:
    checking for Apache 1.x module support via DSO through APXS...

    ./configure: line 3351: apxs: command not found
    ...

    Sarà che per caso cerca apache 1.x?
    Ho provato su una slack 10.1 con apache 1.3.3 e riesco ad arrivare in fondo alla configurazione.

    Qualcuno sa dirmi l'errore?

    grazie ciao

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2003
    Messaggi
    682
    apx2 é per Apache2.xx probabilmente e se tu disponi
    di Apache 1.3.xx ecco svelato l'arcano mistero.
    --with-apxs=/usr/local/apache/bin/apxs.
    Sei sicuro di aver compilato Apache così:
    ./configure --prefix = <path> \
    ./enable-module=so
    http://www.php.net/manual/it/install.unix.php
    Facci sapere.

  3. #3
    devi specificare il percorso dello script apxs2, quindi devi usare l'opzione:

    --with-apxs2=/path/di/apxs2


  4. #4
    Utente di HTML.it
    Registrato dal
    Aug 2003
    Messaggi
    80
    ho installato apache con synaptic di Ubuntu, quindi non ho configurato niente opzionalmente, però i moduli sono abilitati

    l'errore è:

    apache2: illegal option --q

    non trova il parametro...

  5. #5
    Utente di HTML.it
    Registrato dal
    Aug 2003
    Messaggi
    80
    Ho provato a disinstallare Apache2 e compilarlo da sorgente...

    tutto ok!

    però l'errore nel ./configure di php5 non cambia...

    checking for Apache 2.0 filter-module support via DSO through APXS... no
    checking for Apache 2.0 handler-module support via DSO through APXS...

    Sorry, I cannot run apxs. Possible reasons follow:

    1. Perl is not installed
    2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
    3. Apache was not built using --enable-so (the apxs usage page is displayed)

    The output of /usr/lib/httpd-2.0.54/httpd follows:
    lt-httpd: illegal option -- q


    non capisco cosa sia l'opzione --q dato che non è accettato come parametro di httpd.

  6. #6
    [supersaibal]Originariamente inviato da mcjennis
    1. Perl is not installed
    2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
    3. Apache was not built using --enable-so (the apxs usage page is displayed)
    [/supersaibal]
    1) perl è installato?
    2) apxs è installato?
    3) apache l'hai compilato con l'opzione --enable-so ?


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 © 2024 vBulletin Solutions, Inc. All rights reserved.