Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you want to see everything that's changed, take a look at the changelog. If you want to get a quick overview of some of the cooler things that have changed, I presented recently on it. You can see the presentation here: <a href="http://prezi.com/cbjdu1vtrpgm/php-54/" rel="noreferrer">http://prezi.com/cbjdu1vtrpgm/php-54/</a></p> <p>The changelog is at <a href="http://php.net/ChangeLog-5.php" rel="noreferrer">http://php.net/ChangeLog-5.php</a></p> <p>If you're interested in what the new built-in web server brings, it's pretty cool. You can start the server with </p> <pre><code>php -S &lt;ip address&gt;:&lt;port&gt; i.e. php -S 127.0.0.1:8888 </code></pre> <p>You should start the server in the document root of what you want it to serve up. If you need to do routing or anything that Apache's .htaccess would do, you can write a PHP script and specify it for the router like so:</p> <pre><code>php -S &lt;ip address&gt;:&lt;port&gt; router.php </code></pre> <p>The router works in a way that if your script returns false, it will serve up the file in the directory/path it would normally be found in. Otherwise your script can include other files, or do whatever you need it to. A very basic router example is on the php.net documentation site: </p> <p><a href="http://php.net/manual/en/features.commandline.webserver.php#example-369" rel="noreferrer">http://php.net/manual/en/features.commandline.webserver.php#example-369</a></p> <p>I think one of the best things with the built in server in PHP 5.4 is that it will make it so much easier for people who are just starting to learn PHP to be able to learn without having to get Apache or some other web server installed and configured.</p> <p>That being said, it's only for learning and I don't think anyone would recommend running a real production server with the built-in web server.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload