Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

No se ejecuta el codigo php #2828

Open
jeancarlos110295 opened this issue Dec 3, 2018 · 1 comment
Open

No se ejecuta el codigo php #2828

jeancarlos110295 opened this issue Dec 3, 2018 · 1 comment

Comments

@jeancarlos110295
Copy link

jeancarlos110295 commented Dec 3, 2018

He instalado todo puphpet, la maquina se inicio con vagrant todo bien
al ingresar con la ip me carga la pantalla que el servidor se instalo bien

pero cuando realizo la ejecucion de un archivo index.php

con el codigo

el navegador me muestra es el codigo del archivo
y no me muestra la informacion de php

ya revise un ticket aca con el mismo problema pero no se soluciono

porfa si alguien sabe me gustaria saber para aprender

I installed all puphpet, the machine started with vagrant all right
when I enter with the ip the screen that the server installed is loaded

but when I perform the execution of an index.php file

With the code

the browser shows me is the file code
and it does not show me the php information

I already reviewed a ticket here with the same problem but it was not solved

porfa if someone knows I would like to know to learn

@jashk
Copy link

jashk commented Mar 21, 2019

Hola @jeancarlos110295,

Cómo estás escribiendo la url en el browser?, tienes que crear una entrada en tu archivo local de hosts con el nombre del virtualhost que tienen en config.yml.

Si escribes localhost apache no podrá interpretar php ya que está configurado con otro server name

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants