脚本宝典收集整理的这篇文章主要介绍了如何在Raspbian wheezy上安装PHP 5.6?,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
pi@raspBerry:~$sudo apt-get update HIT http://packages.dotdeb.org wheezy-PHP56 Release.gpg Hit http://Archive.raspBerrypi.org wheezy Release.gpg Get:1 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B] Hit http://raspBerrypi.collabora.COM wheezy Release.gpg Hit http://packages.dotdeb.org wheezy-PHP56 Release Get:2 http://mirrordirector.raspbian.org wheezy Release [14,4 kB] Hit http://raspBerrypi.collabora.com wheezy Release Hit http://archive.raspBerrypi.org wheezy Release Hit http://packages.dotdeb.org wheezy-PHP56/all Sources Hit http://raspBerrypi.collabora.com wheezy/rpi armhf Packages Hit http://archive.raspBerrypi.org wheezy/main armhf Packages Get:3 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6.904 kB] Ign http://raspBerrypi.collabora.com wheezy/rpi Translation-en_US Ign http://raspBerrypi.collabora.com wheezy/rpi Translation-en Ign http://archive.raspBerrypi.org wheezy/main Translation-en_US Ign http://archive.raspBerrypi.org wheezy/main Translation-en Get:4 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23,6 kB] Get:5 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [49,3 kB] Get:6 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B] Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US Ign http://mirrordirector.raspbian.org wheezy/main Translation-en Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en Fetched 6.992 kB in 21s (329 kB/s) W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-PHP56/Release Unable to find expected entry 'all/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files Failed to download. They have been ignored,or old ones used instead.
这有什么问题?
编辑:我真的在这里投票吗?提出问题?
# Get the PHP source # You can find the latest version number on the PHP download page: http://PHP.net/downloads.PHP # Change `nl1` to your nearest mirror. Find the mirror list here: http://PHP.net/mirrors.PHP. wget http://nl1.PHP.net/distributions/PHP-5.6.13.tar.bz2 # Unpack tar -xvjf PHP-5.6.13.tar.bz2 cd PHP-5.6.13 sudo apt-get update sudo apt-get install libXMl2-dev ./configure # If on the RaspBerry Pi 2 make -j4 # Otherwise make sudo make install # reboot to make sure changes are effective sudo reboot # Check PHP version PHP -v
以上是脚本宝典为你收集整理的如何在Raspbian wheezy上安装PHP 5.6?全部内容,希望文章能够帮你解决如何在Raspbian wheezy上安装PHP 5.6?所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。