Cómo habilitar la ejecución de php en un servidor web en el archivo de configuración de host virtual

How to enable php execution on a web server in virtual host config file? I am on a VPS. phpmyadmin is working which means I have php installed and working.

Recibo el mensaje de error

 client denied by server configuration: phpinfo.php

Forbidden  You don't have permission to access phpinfo.php on this server. Apache/2.2.14 (Ubuntu) Server at abc.com Port 80

preguntado el 10 de marzo de 12 a las 01:03

On wich user does your apache run? Which user/group does the file have? Have you tried chmod +x phpinfo.php? -

1 Respuestas

verifique su

/etc/apache2/httpd.conf

line Allow from 127.0.0.1 Add your IP.

Also verify files and folders permision and group

(ls -l to www to phpinfo.php etc...)

respondido 10 mar '12, 05:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.