Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
96 views

I installed Eclipse with PDT. I installed PHP 8.3 with chocolatery. I setup a built in server inside eclipse to run PHP. I added my PHP project folder as a COnfigured resource in the server. I try to ...
Marko Taht's user avatar
  • 1,558
1 vote
1 answer
129 views

I have a school project where I need to host and run a php program. I have having difficulties getting it to run as expected in Apache, however, when I run it with php -S, it runs like a champ. I ...
DougW's user avatar
  • 31
0 votes
1 answer
865 views

I have been trying to get the php built-in webserver to read sub directories. My file structure is website --> html, css, php. I set the website folder as the root using php -S localhost:8000. The ...
bill chill's user avatar
0 votes
1 answer
275 views

So, let's say that I am trying to proxy somesite.com, and I want to change this: <!doctype html> <html> <body> <img src="computerIcon.png"> </body> </...
Ganesha Sharma's user avatar
0 votes
1 answer
74 views

I am generating a unique token and saving it in a session variable on every request (in a typical CSRF protection fashion). Token is refreshed after checking it for validation with the POSTED token ...
adhm's user avatar
  • 1
3 votes
0 answers
1k views

I'm currently working on a PHP REST API project. I'm new to VSCode, I'm currently trying the capabilities of the IDE. In development situation, I use the built-in PHP server to run my API, using CLI : ...
Eria's user avatar
  • 3,253
1 vote
0 answers
100 views

I recently started using PHP's built-in webserver a lot more. Unfortunately serving pages through it seems to have an effect on pages that retrieve data from our oracle database containing ÆØÅ. The ...
Jazerix's user avatar
  • 4,828
3 votes
2 answers
3k views

I'm learning fatfree's route and found it behaves unexpected. Here is my code in index.php: $f3 = require_once(dirname(dirname(__FILE__)). '/lib/base.php'); $f3 = \Base::instance(); echo 'received ...
NHG's user avatar
  • 35
6 votes
4 answers
6k views

I just created a new Symfony 3.4 application. Per Symfony's docs, I can server my application using PHP's built-in web-server by running php bin/console server:start However -- this appears to run ...
Alana Storm's user avatar
0 votes
3 answers
684 views

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 ...
Magnus's user avatar
  • 738
10 votes
1 answer
7k views

I have a computer with apache2 and php7, I setup the php.ini to use xdebug and its ok, I can debug using an editor. But I want to debug in another computer that has only php. I started the server ...
danilo's user avatar
  • 9,593
2 votes
1 answer
572 views

I have a too basic php application that I wante to run through the built-in php server and that lives in my VM in my windows machine: <?php use \Psr\Http\Message\ServerRequestInterface as Request; ...
smarber's user avatar
  • 5,144
0 votes
1 answer
113 views

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:...
Dims's user avatar
  • 51.8k
4 votes
2 answers
9k views

I'm yet a newbie to PHP development, so far I used NetBeans for the job. Unfortunately NetBeans is not the best IDE, and it is unreasonably slow on my Mac. I'd like to use Eclipse PDT for PHP, as I ...
Zach J's user avatar
  • 91
3 votes
1 answer
2k views

I have a php project built with Zend Framework 2. In want to start the built-in server to developing with the following command: sudo php -S localhost:8080 -t public/ public/index.php All the ...
Simoyw's user avatar
  • 691
4 votes
3 answers
4k views

I'm using PHP built in server like so: $ composer serve > php -S localhost:8000 -t public/ But it timed out..? [Symfony\Component\Process\Exception\ProcessTimedOutException] ...
Martyn's user avatar
  • 6,453
3 votes
1 answer
2k views

I am locally hosting PHP scripts in PhpStorm using the "PHP Built-in Web Server" configuration. One script needs much memory, so I added ini_set('memory_limit', 8589934592); # 8GiB at the beginning ...
Leifb's user avatar
  • 380
2 votes
3 answers
2k views

I'm trying to develop a RESTful API with a Micro app in Phalcon. Now I'm working in the social login with the Facebook SDK for PHP, but I find that when Facebook redirects me to my callback (with a ...
soutoner's user avatar
  • 559
5 votes
1 answer
2k views

I am working on a test project involving the PHP's built-in web server and I am testing some ideas. I want to implement my own caching mechanism for commonly used resources (png,jpg,json,txt, etc...) ...
Latheesan's user avatar
  • 24.1k
-1 votes
1 answer
1k views

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 ...
mo_maat's user avatar
  • 2,260
3 votes
2 answers
2k views

The PHP built-in webserver does not seem to handle shell_exec()ing background processes properly; the request hangs until the background process is complete, even if it's explicitly placed in the ...
sil's user avatar
  • 2,181
0 votes
0 answers
495 views

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 ...
Fabien Warniez's user avatar
3 votes
1 answer
1k views

I ran into an issue when trying to debug in NetBeans. I set breakpoints and click on a Debug Project button (Ctrl+F5), but no debug info is shown in the IDE. Also, phpinfo(); doesn't provide me with ...
Alex Herrmann's user avatar
8 votes
3 answers
4k views

I have a relatively simple script like the following: <?php $url = "localhost:2222/test.html"; echo "*** URL ***\n"; echo $url . "\n"; echo "***********\n"; echo "** whoami *\n"; echo exec('...
Deltran's user avatar
  • 135
0 votes
3 answers
5k views

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 ...
Aerendir's user avatar
  • 6,468