Re: PHP fails to install on Ubuntu 12.10. What's going on?
| From: | John Iliffe | Date: | Thu, 14 Feb 2013 20:05:20 +0000 |
| Subject: | Re: PHP fails to install on Ubuntu 12.10. What's going on? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320219@lists.php.net to get a copy of this message | ||
On Thursday 14 February 2013 14:20:06 Chris Bergstresser wrote:
> Hi all --
>
> I've got a cloud server on Rackspace. If I bring up a fresh Ubuntu
> 12.10 machine image, and type "apt-get install php5" it seems to
> install fine. But if I then type "php -version" I get "PHP Parse
> error: syntax error, unexpected end of file in Command line code on
> line 1".
>
> What went wrong? How can I fix it?
>
> -- Chris
type php --version
There are two - preceding the word version.
J.