![]() |
PHP en Servidor web - Printable Version +- Foro QNAP en español (https://www.qnapclub.es) +-- Forum: GENERAL (https://www.qnapclub.es/forumdisplay.php?fid=3) +--- Forum: Cuestiones técnicas (https://www.qnapclub.es/forumdisplay.php?fid=35) +--- Thread: PHP en Servidor web (/showthread.php?tid=5506) |
PHP en Servidor web - xavicx - 10-01-2025 buenas foro, tengo un problema con una web con php. Actualmente ya dispongo de una web html funcional y también tengo unos crons locales hechos en php que funcionan correctamente, el php está en /mnt/ext/opt/apache/bin/php. El problema es que al acceder a una web hecha en php me descarga el fichero. Esto es probablemente porque el servidor web no es capaz de interpretar el php. En la configuracion del vhost en /mnt/ext/opt/apache/conf/extra/httpd-vhosts-user.conf está el vhost creado PHP Code: <VirtualHost *:80> pero no tiene ninguna configuración de php. En el fichero /mnt/ext/opt/apache/conf/apache.conf sí que parece tener el interprete activado PHP Code: AddType application/x-httpd-php .php .php4 .php3 .phtml Muchas gracias por la ayuda |