On Tue, 18 Jun 2002 11:00:13 -0300
"caio ferreira" <[EMAIL PROTECTED]> wrote:
############corta##############
>
> Infelismente nao deu certo :-( !!
>
> Inclui a seguinte linha no /etc/php4/apache/php.ini, vide
> abaixo, e continau
> aparecendo a mensagem de erro.
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Paths and Directories ;
> ;;;;;;;;;;;;;;;;;;;;;;;;;
>
> ; UNIX: "/path1:/path2"
> include_path = ".:/var/www/campanha2002.com.br"
>
>
> Warning: Failed opening 'paginasseguras/secure.php' for inclusion
> (include_path='.:/var/www/campanha2002.com.br') in
> /var/www/campanha2002.com.br/site.php on line 2
>
> --
N�o seria no php.ini, e sim no httpd.conf. Estou te enviando um exemplo usado para
execu��o de scripts php no horde, para voc� analisar. Tente usar esses par�metros
adequando os diret�rios para os correspondentes no seu servidor: Note a entrada bem
parecida com a que voc� quer inserir a�, em 'php_value include_path'.
<Directory /home/httpd/html/horde>
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
# Configuration for PHP4 >= 4.0.2
AddType application/x-httpd-php .php .php3
php_value include_path '.:/home/httpd/horde-phplib'
php_value auto_prepend_file /home/httpd/horde-phplib/prepend.php3
php_flag magic_quotes_gpc off
php_flag track_vars on
# Configuration for PHP <= 3.0.16
# AddType application/x-httpd-php3 .php .php3
# php3_include_path '.:/home/httpd/horde-phplib'
# php3_auto_prepend_file /home/httpd/horde-phplib/prepend.php3
# php3_magic_quotes_gpc Off
# php3_track_vars On
</Directory>
<Directory "/home/httpd/html/horde/config">
order deny,allow
deny from all
</Directory>
<Directory "/home/httpd/html/horde/lib">
order deny,allow
deny from all
</Directory>
<Directory "/home/httpd/html/horde/locale">
order deny,allow
deny from all
</Directory>
<Directory "/home/httpd/html/horde/templates">
order deny,allow
deny from all
</Directory>
Deve funcionar. Se n�o funcionar, partimos pra outra coisa.
ps.: N�o se esque�a de restartar o servidor depois destas altera��es, para ele ler
novamente o httpd.conf
--------
end
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
/ \
Assinantes em 18/06/2002: 2236
Mensagens recebidas desde 07/01/1999: 171649
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
mailto:[EMAIL PROTECTED]