[Linux-bruxelles] fichiers Php dans ~/public_html

Stan Pinte stanpinte at fastmail.fm
Mar 27 Avr 17:26:47 CEST 2004


Le lun 26/04/2004 à 16:57, Eric Hanuise a écrit :
> Stan Pinte wrote:
> > hello!
> > 
> > j'ai installé un biospip dans mon répertoire ~/public_html, sur une 
> > debian sid.
> > 
> > apache lis les fichiers php3, mais me retourne une page quasi vide 
> > (style <html><body></body></html>)...
> > ou puis-je voir les logs d'erreurs? je ne vois rien ni dans 
> > /var/log/apache/access.log, ni dans /var/log/apache/error/log?
> > 
> > merci les gars,
> > 
> > Stan.
> > 
> 
> par défaut dans ton php.ini les error messages sont disablés.

j'ai mis ceci:

; Log errors to specified file.
error_log = /var/log/apache/php-errors.log

et rien n'apparaît dans ce fichier...

> 
> assure toi aussi que les types .php et .php4 referent au bon module dans 
> http.conf de apache

comment fais-je?

pablo:/var/log/apache# cat /etc/apache/httpd.conf | grep php
    # distribution - see http://www.php.net) will typically use:
    #AddType application/x-httpd-php3 .php3
    #AddType application/x-httpd-php3-source .phps
    AddType application/x-httpd-php .php .php3
    AddType application/x-httpd-php-source .phps


mais j'ai l'impression qu'Apache parse ma page ~/public_html/index.php3,
car quand je coupe le serveur apache, j'ai une erreur, et quand il
tourne je reçois une page blanche.

Merci!

Stan.

-- 
------
join me at spinte at jabber.org
GPG: CBAC 1C79 D133 D3D7 247D  D723 FCF9 AEB9 BC4F 5802
------
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: signature.asc
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message numériquement signée.
URL: </pipermail/linux-bruxelles/attachments/20040427/bc7f7823/attachment-0001.sig>


Plus d'informations sur la liste de diffusion Linux-bruxelles