PHP fails to install on Ubuntu 12.10. What's going on?
| From: | Chris Bergstresser | Date: | Thu, 14 Feb 2013 19:20:06 +0000 |
| Subject: | PHP fails to install on Ubuntu 12.10. What's going on? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-320214@lists.php.net to get a copy of this message | ||
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