Comments (5)
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.
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.
Which URL are you entering?
PS: Are you Spanish? Because in that case we are wasting time writing in English haha
from vscode-phpserver.
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.
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)
- Cannot modify header information - headers already sent.
- I can't enable mod rewrite HOT 1
- [Fixed] Requested resource not found on server? HOT 1
- PHP Server not working after brew upgrade to php 7.4 in OSX?
- Extension issue
- The requested resource was not found on this server, using .htaccess.
- Keeps loading old version of html file when pressing serve button top right
- [Feature] Keep track of server state to greatly improve usability of extension
- Unable to serve remote folder
- Error HOT 1
- Serve Project Issue HOT 1
- Would be nice to have setting for environment variables HOT 1
- Requesting to have this also published to open-vsx.org for VSCodium HOT 1
- PHP Not Found (Ubuntu) HOT 3
- How should I solve this problem?�����ҳ: 936
- How can I activate debug?
- test
- Busy port when closing window
- nội thất
- nội thất
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-phpserver.