-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 15 Jul 2002, Cristiano Siena wrote:
> Pessoal, instalei o m�dulo e o php4 em meu servidor linux, mais ele s� > est� lendo extens�es que sejam > .php4, quando eu crio um script com extens�o .php, ele l� este com o se > fosse um Download, > como eu fa�o para ele ler extens�o .php ? > > Segue abaixo um: cat /etc/httpd.conf | grep php > > em meu servidor > > > # Don't forget to use php_engine on/off for added > # security. Uncomment the php3_engine off in the > # first Directory section below and enable php3 only > # Don't forget to use php_flag engine on/off for added > # security. Uncomment the php_flag engine off in the > # first Directory section below and enable php4 only > #LoadModule php_module modules/mod_php.so > LoadModule php3_module modules/libphp3.so > LoadModule php4_module modules/libphp4.so > #AddModule mod_php.c > AddModule mod_php3.c > #AddModule mod_php4.c > # and enable php3 only in the directories where you need it > # php3_engine off > # and enable php4 only in the directories where you need it > # php_flag engine off > DirectoryIndex index.php index.php4 index.php3 index.html index.wml > index.htm > # DirectoryIndex index.php index.html index.wml > # 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 > AddType application/x-httpd-php-source .phps > > - -- Fa�a assim: AddType application/x-httpd-php4 .php DirectoryIndex: mude .php4 para .php Boa sorte. - ----- end I wish you have a good day, and a nice work donne with GNU-Linux. Tenha um bom dia e um �timo trabalho com linux Fui! ====================<<<<<< * >>>>>>>==================== =========== Renato Q. Salles UIN 143517540 =========== =========== Linux Registered User n� 217696 =========== ====================<<<<<< * >>>>>>>==================== /"\ \ / Campanha da fita ASCII - Contra mail HTML X ASCII ribbon campaign - Against HTML mail / \ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9M38J7m5526AiZG0RAog7AJ9hGH3n/JT1lR0LeuMs7uoDNMkC4wCfcJ/a UR9M8EY8RWt4uBlflfyQVec= =Yfaz -----END PGP SIGNATURE----- Assinantes em 15/07/2002: 2235 Mensagens recebidas desde 07/01/1999: 175076 Historico e [des]cadastramento: http://linux-br.conectiva.com.br Assuntos administrativos e problemas com a lista: mailto:[EMAIL PROTECTED]
