Drupal Error index.php' (include_path='.:/php/includes') in Unknown on line 0

Instalando un drupal sobre Centos 6.2 aparecen los siguientes mensajes de error, y nuestro sitio no se carga

 

[Fri Jun 29 09:05:07 2012] [warn] ./mod_dnssd.c: No services found to register
[Fri Jun 29 09:05:07 2012] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Fri Jun 29 09:05:42 2012] [error] [client ::1] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Fri Jun 29 09:05:42 2012] [error] [client ::1] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/proyectoDrupal/index.php' (include_path='.:/php/includes') in Unknown on line 0
[Fri Jun 29 09:05:45 2012] [error] [client ::1] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Fri Jun 29 09:05:45 2012] [error] [client ::1] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/proyectoDrupal/index.php' (include_path='.:/php/includes') in Unknown on line 0

 

 

Solucion precisamos deshabilitar el SELINUX para ello

 

chcon -R -h -t httpd_sys_content_t /var/www/html

 

o bien podemos hacer


setenforce 0

 

Todo ello desde una consola o shell como root o con privilegios.

 

 

Compartir

One&One

SEMrush

Visitanos en: