Code Monkey home page Code Monkey logo

Comments (5)

brapifra avatar brapifra commented on June 12, 2024

What do you mean with not getting run at all? Are you saying that you see the content of the php file when you go into chrome?
Have you apache or another server installed?

from vscode-phpserver.

JorgeGRC avatar JorgeGRC commented on June 12, 2024

Are you saying that you see the content of the php file when you go into chrome?
Yes, exactly that, as the server wouldn't run the php file and I just see all the content on chrome

Have you apache or another server installed?
I do have a XAMPP instance on my machine but it's not working on the same directory that I'm trying to run your php-server. Also, I installed xampp after I saw I couldn't get the php server to run and I was able to see the php file content, so that's why I downloaded xampp and began using it, but it's time wasting to copy over and over again my php files into the XAMPP directory from my working copy directory :(

from vscode-phpserver.

brapifra avatar brapifra commented on June 12, 2024

Which URL are you entering?
PS: Are you Spanish? Because in that case we are wasting time writing in English haha

from vscode-phpserver.

JorgeGRC avatar JorgeGRC commented on June 12, 2024

Soy español sí :) estaba utilizando el inglés por si alguien más viene dentro de un tiempo y lo encuentra útil.. Básicamente la URL que aparece, y me acabo de dar cuenta, es con el prefijo file:// y seguramente por eso estoy viendo el contenido del fichero .php jaja, el caso es que al intentar lanzar el servidor php habiendo especificado en las opciones "chrome", no me lanza automáticamente una ventana del navegador, sino que me sale el mensaje de que ya está sirviendo el proyecto. Gracias por tu paciencia

EDIT: interesante, acabo de ver que eres estudiante de teleco.. aquí tienes otro :P. Echando a andar el PFC ya, que soy de la última promo del plan antiguo, te he dado follow, veo que te dedicas a cosas interesantes

from vscode-phpserver.

brapifra avatar brapifra commented on June 12, 2024

Me olía que irían por ahí los tiros! jaja
Pues sí, 3º de Teleco por Telemática (Plan Bolonia), y cuando tengo algún huequillo trasteo un poco jeje
Miraré eso que dices de que no se abre chrome automáticamente, desde Linux, que es lo que uso, va.
Un saludo! ;)

-----ENGLISH-----
Summing up, problem fixed, Jorge was entering a wrong URL (file:\ instead of localhost). Nevertheless, I'll check why chrome doesn't open automatically in Windows.

from vscode-phpserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.