View previous topic :: View next topic |
Author |
Message |
moon69 Guru
Joined: 30 Aug 2003 Posts: 444
|
Posted: Sat Jan 29, 2005 9:05 pm Post subject: [apache+php+ulog] pb de lib php |
|
|
salut,
sur ma gentoo , je stock mes log iptalbes dans une base mysql, que je consulte via ulog.
au moi de novembre j'ai mit a jour php v4.3.6 mod_php v4.3.6 et apache2 2.0.51
et depuis j'ai cette erreur:
******************************************
Warning: main(include/require.inc): failed to open stream: No such file or directory in /var/www/localhost/htdocs/ulog/include/header.inc on line 4
Fatal error: main(): Failed opening required 'include/require.inc' (include_path='/usr/lib/php') in /var/www/localhost/htdocs/ulog/include/header.inc on line 4
************************************************
j'ai verifier, j'ai la meme conf qu'avant la maj? a noter qu'avant cela marchais tres bien.
de plus, j'ai phpmyadmin qui fonctionne toujours bien
je vois d'ou ca pas venir, si quelqu'un a une idée.
merci |
|
Back to top |
|
|
moon69 Guru
Joined: 30 Aug 2003 Posts: 444
|
Posted: Tue Feb 01, 2005 2:21 pm Post subject: |
|
|
salut,
personne a une idée ou une piste!
deole pour le up, mais je bug la |
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Tue Feb 01, 2005 2:42 pm Post subject: |
|
|
alors là je dirais :
- soit c'est un problème de paquet ulog foireux, et il manque bel et bien le fichier header.inc
- soit tu vas jeter un oeil eu php.ini (qui se trouve dans /etc/apache2/conf/ je crois) et peu-être que la possibilité d'ouvrir un fichier (fopen) est bloqué...mais ça m'étonnerait vu que le reste touren chez toi |
|
Back to top |
|
|
moon69 Guru
Joined: 30 Aug 2003 Posts: 444
|
Posted: Tue Feb 01, 2005 6:14 pm Post subject: |
|
|
salut,
Quote: | - soit c'est un problème de paquet ulog foireux, et il manque bel et bien le fichier header.inc |
ba justement non, j'ai 2 version d'ulog qui marchais bien les 2, et depuis la maj de php et apache ca bug. les fichier sont toujours la avec les memes droit d'acces, et la meme conf
Quote: | soit tu vas jeter un oeil eu php.ini (qui se trouve dans /etc/apache2/conf/ je crois) et peu-être que la possibilité d'ouvrir un fichier (fopen) est bloqué...mais ça m'étonnerait vu que le reste touren chez toi |
dans le php.ini y ca dans la partie fopen:
**************************************************************
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; allow_url_fopen = On
; Closed for security - <robbat2@gentoo.org>
allow_url_fopen = Off
; Define the anonymous ftp password (your email address)
;from="john@doe.com"
; Define the User-Agent string
; user_agent="PHP"
; Default timeout for socket based streams (seconds)
default_socket_timeout = 60
; If your scripts have to deal with files from Macintosh systems,
; or you are running on a Mac and need to deal with files from
; unix or win32 systems, setting this flag will cause PHP to
; automatically detect the EOL character in those files so that
; fgets() and file() will work regardless of the source of the file.
; auto_detect_line_endings = Off
********************************************************
c'est grave docteur ??
merci |
|
Back to top |
|
|
|