问题
Currently I'm using php version 5.1.6 in wamp server. I'm trying to use phpexcel library to read .xls and .xlsx files. Phpexcel library minimum requirement is php version 5.2.0. So how can i solve this issue or how to upgrade php version.
Thanks in advance.
回答1:
Here is all php add-on. Select the one you need and download/install it.
回答2:
you have to upgrade your entire wamp:
backup your database.
backup your code
uninstall wamp
install new wamp
test that local host works
restore your database ( first change max_allowed_packet in mysql.ini to 10M)
enable rewrite module in apache
来源:https://stackoverflow.com/questions/10292552/how-to-upgrade-php-version-in-wamp