Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ip-10-138-1-229 webapps]$ php -version
- PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34)
- $ yum install php-5.4
- Loaded plugins: priorities, security, update-motd, upgrade-helper
- Setting up Install Process
- No package php-5.4 available.
- Error: Nothing to do
- yum update php
- Dependencies Resolved
- ===============================================================================================================================================================================
- Package Arch Version Repository Size
- ===============================================================================================================================================================================
- Updating:
- php x86_64 5.3.29-1.7.amzn1 amzn-main 2.8 M
- Updating for dependencies:
- php-bcmath x86_64 5.3.29-1.7.amzn1 amzn-main 52 k
- php-cli x86_64 5.3.29-1.7.amzn1 amzn-main 2.6 M
- php-common x86_64 5.3.29-1.7.amzn1 amzn-main 1.0 M
- php-gd x86_64 5.3.29-1.7.amzn1 amzn-main 219 k
- php-process x86_64 5.3.29-1.7.amzn1 amzn-main 66 k
- php-xml x86_64 5.3.29-1.7.amzn1 amzn-main 234 k
- yum remove httpd*
- yum remove $(yum list installed | grep "php" | awk '{print $1}')
- yum install httpd24 php54
- root@ip-10-138-1-229 nanoweb_2.2.6]$ php -S localhost:8000
- PHP 5.4.37 Development Server started at Fri Feb 20 20:31:22 2015
- Listening on http://localhost:8000
- Document root is /root/nanoweb_2.2.6
- Press Ctrl-C to quit.
Add Comment
Please, Sign In to add comment