Re: Re: PHP The Right Way (website)
| From: | tamouse mailing lists | Date: | Sun, 14 Oct 2012 16:06:25 +0000 |
| Subject: | Re: Re: PHP The Right Way (website) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319450@lists.php.net to get a copy of this message | ||
On Sun, Oct 14, 2012 at 10:48 AM, Jim Giner
<jim.giner@albanyhandball.com> wrote:
> On 10/14/2012 1:10 AM, tamouse mailing lists wrote:
>>
>> This just dropped in my inbox the other day from Smashing #69:
>>
>>> 2. PHP The Right Way
>>>
>>> If you are developing for the Web, the chances are high that you have
>>> to deal with PHP on a regular basis. However, once you've stumbled
>>> upon a problem that you have to solve, finding a good solution among
>>> thousands and thousands of (partly outdated) PHP tutorials out there
>>> can be quite a nightmare — especially if you are relatively new to
>>> PHP. Where would you go to learn about the current best practices in
>>> PHP?
>>>
>>> PHP The Right Way
>>>
>>> Perhaps PHP The Right Way. The site is an easy-to-read, quick
>>> reference for the best practices in PHP, accepted coding standards,
>>> and links to authoritative tutorials around the Web. Josh Lockhart has
>>> worked together with a dozen of well-respected members of the PHP
>>> community to create a useful, up-to-date resource for everybody to
>>> use.
>>>
>>
>> I've just been perusing it, and it offers some good advice. Anyone
>> here work on it / read it? Thoughts?
>>
> Sounds like a good idea, but as for me - if I was a newbie I'd have a
> problem with their very first instructions. It says right off the start to
> type in the following:
> php -5 localhost:8000
>
> which when I do (from a dos prompt) gives me a nice description of the
> command, but fails to do anything else for me. So how does this (as it
> says) "help me learn with the hassle of configureing and installing a
> full-fledged web server"?
Are you running 5.4+? First thing it says is "Use the current stable
version (5.4)". The PHP server (-S) is not available in anything
earlier.