Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Apache 2.2.6 e php-5.2.4: php non interpretato
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Fri Sep 14, 2007 2:28 pm    Post subject: [Risolto] Apache 2.2.6 e php-5.2.4: php non interpretato Reply with quote

Salve a tutti,

ho appena finito un mega aggiornamento e mi trovo con le versioni di apache e php in oggetto.
In particolare la versione di php è la 5.2.4_pre200708051230-r2.

Il problema è che il codice php non viene interpretato. C'è qualche problema di compatibilità con queste due versioni?
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered


Last edited by fbcyborg on Fri Sep 14, 2007 3:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kind_of_blue
Guru
Guru


Joined: 10 Oct 2004
Posts: 485

PostPosted: Fri Sep 14, 2007 2:46 pm    Post subject: Reply with quote

Nessuna incompatibilità ... hai controllato che non ti siano stati sostituiti i file di configurazione?
_________________
"I got off the concept of Progress, it's over-rated"
Arthur Dent
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Fri Sep 14, 2007 2:50 pm    Post subject: Reply with quote

Ehm.. qualche aggiornamento dovrebbe esser stato fatto da dispatch-conf. Mi risulta che siano stati aggiornati diversi files riguardanti php. Ma non ricordo di aver mai abilitato qualcosa in quei files per far funzionare php.. nel frattempo sto provando una versione precedente di php, per vedere se cambia qualcosa.

EDIT: appena finito il downgrade alla 5.2.2-r1 di php. Ora funziona!
Ma allora è buggata l'ultima versione disponibile.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Sep 14, 2007 3:00 pm    Post subject: Reply with quote

non mi risulta. la uso su un paio di macchine senza problemi, e non ho visto bugreport in tal proposito
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Fri Sep 14, 2007 3:10 pm    Post subject: Reply with quote

Non so che dirvi.. a me quella versione da problemi.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
noice
Guru
Guru


Joined: 05 Dec 2005
Posts: 473
Location: italia, Ischia

PostPosted: Fri Sep 14, 2007 4:52 pm    Post subject: Reply with quote

non risulta neanche a me su amd64..ho le stesse versioni e funziona benissimo..
prova con questa stringa in /etc/conf.d/apache2
Code:
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D USERDIR -D PHP5"

l'opzione USERDIR la puoi evitare se non usi public_html
_________________
Noice

when you post remove comments
Code:
grep -vh '^[[:space:]]*\(#\|$\)' "$@"
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Fri Sep 14, 2007 5:12 pm    Post subject: Reply with quote

noice wrote:
non risulta neanche a me su amd64..ho le stesse versioni e funziona benissimo..
prova con questa stringa in /etc/conf.d/apache2
Code:
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D USERDIR -D PHP5"

l'opzione USERDIR la puoi evitare se non usi public_html

Questa riga è già presente in quel file... manca giusto -D USERDIR, ma tanto come dici tu.. se non uso public_html ...
Quindi anche con quella riga il problema si presentava.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Fri Sep 14, 2007 6:01 pm    Post subject: Reply with quote

devi ricompilare php.
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sat Sep 15, 2007 8:59 am    Post subject: Reply with quote

Ora pare funzionare... anche dopo aver ricompilato l'ultima versione.
Chissà che diavolo era!!!! 8O
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Mon Sep 17, 2007 10:17 pm    Post subject: Reply with quote

fbcyborg wrote:
Chissà che diavolo era!!!! 8O


ad ogni cambio di major release di Apache devi ricompilare anche tutti i suoi moduli. php ne è un esempio ;)

/EDIT: e l'ebuild di apache te lo riporta tramite i messaggi di elog
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum