I'm running a PHP built-in server with
php -S 127.0.0.1:80 index.php
I want to pass the entire URI string to a field called "url" in the $_GET array. When I enter http://localhost/thisIsAURLString, I want var_dump($_GET); to return array(1) {…
I took someone's PHP project with a bunch of PHP files and ran it with the following command
C:\tools\php71\php.exe -S localhost:8080 -t PATHTOSOMELOCATION
Now, when I am opening http://localhost:8080 I am getting error 500.
Where to see what is…
For local development I'm using the php built in server.
Everythig works finde so far, but if in a url is a point or a file suffix the built in server returns a 404 even before it hitting my application
Im using the phalcon framework
This is my…
What is the better approach for keep a long-term stable dev environment ?
Should I prefer use server:runor my apache2 server on app_dev.php for develop ?
Because I work on client side , I know how much use a non-fixed base url can be ambiguous and…
I have this weird behaviour where if the path does not contain a period (/whatever-something/a-page for example), the $_SERVER variable SCRIPT_NAME is replaced with index.html or index.php if they exist in the root folder. SCRIPT_NAME is the correct…
In the documentation is clearly explained how to run the built-in server to run a Symfony App.
Ok, all works well and i'm very happy, but:
How can i run a Symfony App without using the server but simply something like…
I would like to use the php built-in server just for dev environment, as opposed to starting WAMP everything, which consumes more resources, and since my site does not depend on any of the apache modules, I was able to do some work just fine, also…
I'm not sure where it comes this bug but now if I try to load my project in the browser with this url "http://localhost:8000" appears just a blank page. I tried to put a die("message") in the first line of app.php and also in the app_dev.php but…
I have PHP 5.6 installed on windows 7 and I used the built in server to run websites locally for testing. I want to connect to a Sqlite3 file and I've uncommented the appropriate lines in the php.ini file in my C:\Program Files\php folder. I still…