Error installing PHP5.6 on OSX



Hi everyone,

I'm trying to install PHP 5.6 on my Mac OS Sierra using terminal.
When I try to install following your homepage instructions, terminal shows me an error:

iMac-de-Xavi:~ xavi$ curl -s | bash -s 5.6
bash: line 1: !DOCTYPE: No such file or directory
bash: line 2: syntax error near unexpected token `newline'
bash: line 2: `    "">'

Has anyone see it before?

Thank you so much in advance
Looks to me that you're executing your file as a bash script, you need to store the file in the correct file location; check that you have installed the php command line interface.

Whatever you are following is way out of date, do you really need to use PHP 5.6? and must you use html 4?