Hacker News new | ask | show | jobs
by adamors 4906 days ago
PHP is most likely not on the system they have.

I don't know about OS X but it doesn't come with any popular Linux distro and it doesn't come with Windows either. Neither does Perl.

3 comments

PHP comes with every hosting provider out there for a few dollars a month. Has been the trend for a few years now :-). PHP is cheap to support for a host.
Most people don't try to host their first web site on their windows box. They likely get a shared host for $3 a month somewhere. This probably has a little sample site with a few lines of PHP and some JavaScript on it.

When I started, I did not know the difference between PHP, JavaScript and HTML. I thought it was all "web markup".

> Most people don't try to host their first web site on their windows box.

Most people dont host their first web site period. I never heard of anyone who didn't learn PHP offline, on a local Apache server.

PHP is available on OS X

    computer-4:~ justin$ php -v
    PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 24 2012     17:45:44) 
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies