Re: request for error checking feature [message #184057 is a reply to message #184056] |
Wed, 04 December 2013 00:24 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Ben Bacarisse wrote:
> Christoph Michael Becker <cmbecker69(at)arcor(dot)de> writes:
>> richard wrote:
>>> Correcting errors one at a time, uploading, and doing that a few hundred
>> ^^^^^^^^^
>>> times is tedious, time consuming, and damn boring.
>>
>> Set up a development environment on your local machine -- that'll save
>> you a lot of time. No need to upload any files in this case -- just
>> edit them in place and refresh the browser window.
>
> For people doing a lot of development a full server + PHP + bells +
> whistles is invaluable, but for simple stuff it is worth knowing that
> recent PHP versions come with a built-in server mode.
Precisely, the PHP server was introduced with PHP 5.4.
$ php -h | grep -iw server
-S <addr>:<port> Run with built-in web server.
-t <docroot> Specify document root <docroot> for built-in web server.
$ php -v
PHP 5.4.4-14+deb7u4 (cli) (built: Aug 26 2013 07:40:51)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with XCache v2.0.0, Copyright (c) 2005-2012, by mOo
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
|
|
|