Carlos05 de Octubre del 2002
Pregunta
Tengo instalado el servidor Apache en mi máquina pero no consigo ejecutar código PHP. ¿Que pasos he de realizar para, despues de instalar Apache, poder llegar a ejecutar PHP?
Muchas gracias.
fLIPIS05 de Octubre del 2002
He escrito un tutorial sobre eso mismo. Puedes verlo en
www.flipis.net/programacion_tuts.php
fLIPIS (www.flipis.net)
Felipe05 de Octubre del 2002
LA solucion es simple.
Una vez instalado el PHP (preferentemente en c:PHP), añade estas linea en el archivo httpd.conf , en el directorio conf de Apache:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
En la zona de AddType, justo de bajo de estas lineas:
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
Si tienes algun problema dimelo