[CodeIgniter] Erro ao usar pastas na raiz
Marco Telles
contato em pierdeipanema.com.br
Segunda Outubro 1 18:02:15 BRT 2007
O problema é com o Plesk...
Segue um link e o resumo do problema:
"I am getting "open_basedir" error in the PHP script. How do I fix this
error?
CAUSE
This error means that PHP script tries to access a folder that is not
allowed for access. For security reasons PHP options for hosted domains
in Plesk allow access to /tmp and http(s)docs folders only by default.
The restrictions are limited by open_basedir PHP variable for each
virtual host separately.
RESOLUTION
If you need to allow access for PHP sripts of specific virtual host to
additional folder(s), 'open_basedir' option for the virtual host should
be re-defined with new path value, several folder names are splitted by
a colon. It can be done by user with root privileges only in domain's
vhost.conf or vhost_ssl.conf (for SSL virtual host) files, see
'Including Directives into Web Server Configuration File' article in
Plesk documentation for details."
Segue o link: http://kb.swsoft.com/article_41_432_en.html
Valeu!
Muita sorte para nós!
Marco Telles
#############
# Pier de Ipanema ( http://www.pierdeipanema.com.br/ )
# Hosting-Rio Websites ( http://www.hosting-rio.com.br/ )
# X-Trad Traduções BR ( http://www.x-trad.org/ )
# CodeIgniter PHP framework ( http://www.codeigniter.com.br/ )
# Ubuntu The power of free software ( http://www.ubuntu-br.org/ )
Marco Telles escreveu:
> Newton, foi o que imaginamos (eu e o suporte), porém eles deram
> permissões direto, tentaram mudando o dono para meu grupo e root também,
> mas nada deu certo.
> O plesk tem inclusive uma pasta private própria para esses casos, mas
> como nela não funcionava, tentamos inclusive criando outras pastas.
>
> Muita sorte para nós!
>
> Marco Telles
>
> #############
> # Pier de Ipanema ( http://www.pierdeipanema.com.br/ )
> # Hosting-Rio Websites ( http://www.hosting-rio.com.br/ )
> # X-Trad Traduções BR ( http://www.x-trad.org/ )
> # CodeIgniter PHP framework ( http://www.codeigniter.com.br/ )
> # Ubuntu The power of free software ( http://www.ubuntu-br.org/ )
>
>
>
>
> Newton Wagner escreveu:
>
>> Cara, me parece que o erro de permissão persiste, veja esse trecho do
>> erro apresentado por você:
>>
>>
>>
>>> is not within the allowed path(s):
>>> (/var/www/vhosts/hosting-rio.com.br/httpdocs:/tmp) in
>>> /var/www/vhosts/hosting-rio.com.br/httpdocs/index.php on line 133
>>>
>>>
>> Além disso tem essa coisa estranha aí: httpdocs:/tmp ?
>>
>> Tem alguma variávei configurada assim? Dá uma olhada.
>>
>>
>>
>>
>
> _______________________________________________
> Lista mailing list
> Lista em codeigniter.com.br
> http://codeigniter.com.br/mailman/listinfo/lista_codeigniter.com.br
>
>
Mais detalhes sobre a lista de discussão Lista