PDA

View Full Version : Apache 2 e PHP 4


cyber
18-04-2002, 17:45
Aiuto non riesco a far funzionare il PHP 4.1.2 con Apache 2! Praticamente come carico il modulo della *.dll di PHP nel file di conf di Apache quest'ultimo non parte più.

Qualcuno sa aiutarmi oppure sa dove trovare la procedura esatta?

Che poi mi viene un dubbio... ma funzionano sti due insieme?

Ciao
;)

Dark_Tranquillity
18-04-2002, 20:44
hai provato a seguire la guida qui
http://freephp.html.it
perchè nn dovrebbe funzionare PHP e Apache ?

cyber
19-04-2002, 09:10
La guida fa riferimento ad Apache 1.3.2, con Apache 2 non c'e' verso di far funzionare il modulo PHP :( Ho scaricato anche PHP 4.2.0 RC4 che pare abbia il supporto sperimentale per il PHP , ma nisba :(

Credo che rimetterò Apache 1.3.2 :rolleyes:

Hai qualche idea?
:confused:

Dark_Tranquillity
19-04-2002, 15:02
in quanto a webserver nn so dirti :(

cyber
21-04-2002, 10:58
Grazie ugualmente ;)

Ciao

Shinryu
22-04-2002, 18:21
scaricati la versione TRIAD ,
funnziona che è un piacere

cyber
29-04-2002, 22:11
Cioè :confused:

cionci
18-05-2002, 11:05
cyber : sei riuscito a farlo funzionare ? Anche a me dice che non trova la dll anche se il percorso è giusto...
Ho dovuto installare Apache 1.3.25 per far funzionare il PHP...

~{FoREvEr}~
18-05-2002, 23:08
a me Apache 2.0.35 e PHP 4.1.2 prima, 4.2.0 e 4.2.1 poi hanno funzionato subito al primo colpo, sia come modulo che non.
Il procedimento di config è lo stesso, sia per apache 1.3.xx che per il 2

cionci
19-05-2002, 12:11
Originariamente inviato da ~{FoREvEr}~
[B]a me Apache 2.0.35 e PHP 4.1.2 prima, 4.2.0 e 4.2.1 poi hanno funzionato subito al primo colpo, sia come modulo che non.
Il procedimento di config è lo stesso, sia per apache 1.3.xx che per il 2
Che ti posso dire... Io ho lasciato lo stesso php.ini...ho copiato le modifiche che avevo fatto ad httpd.conf del 2.0.35 nel httpd.conf del 1.3.25 ed è funzionato al primo colpo...
Mentre il 2.0.35 mi diceva che non trovava il file del modulo... Ho provato anche a mettere la dll nella dir dove ci sono tutti i moduli, ma non ha funzionato lo stesso...

Che sistema operativo hai ? Io Win 2k...

~{FoREvEr}~
19-05-2002, 20:34
Originariamente inviato da cionci
[B]
Che ti posso dire... Io ho lasciato lo stesso php.ini...ho copiato le modifiche che avevo fatto ad httpd.conf del 2.0.35 nel httpd.conf del 1.3.25 ed è funzionato al primo colpo...
Mentre il 2.0.35 mi diceva che non trovava il file del modulo... Ho provato anche a mettere la dll nella dir dove ci sono tutti i moduli, ma non ha funzionato lo stesso...

Che sistema operativo hai ? Io Win 2k...
Win XP Pro, cmq prova a farlo funzionare come eseguibile e non come modulo

cionci
20-05-2002, 08:39
Originariamente inviato da ~{FoREvEr}~
[B]Win XP Pro, cmq prova a farlo funzionare come eseguibile e non come modulo
Eh lo so...ma a me serviva come modulo...lo devo usare su un server serio...quindi deve avere le prestazioni migliori...cioè deve essere un modulo...

~{FoREvEr}~
20-05-2002, 15:27
Originariamente inviato da cionci
[B]
Eh lo so...ma a me serviva come modulo...lo devo usare su un server serio...quindi deve avere le prestazioni migliori...cioè deve essere un modulo...
così però non è affidabile al 100%

cionci
20-05-2002, 17:19
Originariamente inviato da ~{FoREvEr}~
[B]così però non è affidabile al 100%
Perchè ?

cionci
20-05-2002, 17:22
Per questo ?


PHP 4 for Windows comes in two flavours - a CGI executable (php.exe),
and several SAPI modules (for exapmle php4isapi.dll). The latter form
is new to PHP 4, and provides significantly improved performance and
some new functionality. However, please note that the SAPI modules
are *NOT* yet considered to be production quality.
In particular, with the ISAPI module, you are likely to encounter serious
reliability problems especially on platforms older than W2K - you may
witness a lot of server 500 errors and suffer from other server modules
such as ASP also failing. You have been warned!

The reason for this is that the PHP SAPI modules are using the
thread-safe version of the PHP code, which is new to PHP 4, and has
not yet been tested and pounded enough to be considered completely
stable, and there are actually a few known bugs. On the other hand,
some people have reported very good results with the SAPI modules,
and there a few reports of problems with the Apache module version.
In short - your mileage may vary; If you need
absolute stability, trade the performance of the SAPI modules
with the stability of the CGI executable.

~{FoREvEr}~
20-05-2002, 18:29
Originariamente inviato da cionci
[B]Per questo ?


PHP 4 for Windows comes in two flavours - a CGI executable (php.exe),
and several SAPI modules (for exapmle php4isapi.dll). The latter form
is new to PHP 4, and provides significantly improved performance and
some new functionality. However, please note that the SAPI modules
are *NOT* yet considered to be production quality.
In particular, with the ISAPI module, you are likely to encounter serious
reliability problems especially on platforms older than W2K - you may
witness a lot of server 500 errors and suffer from other server modules
such as ASP also failing. You have been warned!

The reason for this is that the PHP SAPI modules are using the
thread-safe version of the PHP code, which is new to PHP 4, and has
not yet been tested and pounded enough to be considered completely
stable, and there are actually a few known bugs. On the other hand,
some people have reported very good results with the SAPI modules,
and there a few reports of problems with the Apache module version.
In short - your mileage may vary; If you need
absolute stability, trade the performance of the SAPI modules
with the stability of the CGI executable.

certo... se si vuole la max compatibilità il modulo è meglio da evitare

cionci
20-05-2002, 18:40
Originariamente inviato da ~{FoREvEr}~
[B]certo... se si vuole la max compatibilità il modulo è meglio da evitare
Mi fido del modulo per Apache... La versione ISAPI non avevo certo intenzione di utilizzarla :)

Comunque è davvero un errore strano...anche perchè non è un problema di accesso alla directory (ho FAT32)...