Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di super5
    Registrato dal
    Jun 2013
    Messaggi
    20

    Apache con PHP che non funzione

    Ciao a tutti, sono 2 giorni che sto impazzendo a cercare su motori di ricerca e blog, spero voi possiate aiutarmi.

    Ho un server dedicato (OVH) con Debian.

    Prima funzionava tutto correttamente, poi ho installato asterisk ed adesso non funziona più qualsiasi codice PHP.
    In particolar modo se provo ad aprire un file PHP mi da questo errore (Se non sbaglio è il 500)
    codice:
    Internal Server Error 
    The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
    codice:
    Controllando nel file error.log di apache trovo queste righe:
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhos$
    [Tue Jul 09 19:46:59 2013] [error] [client MIO-IP] Premature end of script headers: prova.php
    ho provato a cambiare i vari permessi, e tante altre soluzioni...ma nessuna funzionante.

    Avete qualche idea?

    Grazie mille in anticipo!

  2. #2
    Utente di HTML.it L'avatar di super5
    Registrato dal
    Jun 2013
    Messaggi
    20
    PS: la mia cartella www è cosi composta:
    codice:
    drwxrwxrwx 2 ispapps ispapps 4096 set  7  2011 apps
    -rwxrwxrwx 1 root    root     324 lug  1 06:44 index.html
    lrwxrwxrwx 1 root    root      34 mag 18  2012 ispconfig -> /usr/local/ispconfig/interface/web
    drwxrwxrwx 4 root    root    4096 set  7  2011 php-fcgi-scripts
    -rw-r--r-- 1 root    root       8 lug 10 13:10 prova.fsdfds
    -rwxrwxrwx 1 root    root     104 lug  9 19:24 prova.html
    -rwxrwxrwx 1 root    root       7 lug  9 22:19 prova.html.save
    -rwxr-xr-x 1 root    root      25 lug 10 13:11 prova.php
    drwxrwxrwx 2 root    root    4096 lug 10 06:25 webalizer
    La pagina prova.html funziona, ma se metto un <?php echo "CIAO", ?> non viene eseguito.

    Spero possa essere di aiuto.

  3. #3
    Utente di HTML.it L'avatar di super5
    Registrato dal
    Jun 2013
    Messaggi
    20
    Problema risolto, formattando il server :\

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.