How to install PHP 5.6 on Raspbian wheezy? -


i wondering how install php 5.6.x on raspberry pi. version 5.4.41 installed , because of new specs i'd upgrade 5.6.10. i've seen this tutorial console's output tells me went wrong.

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 fetch http://packages.dotdeb.org/dists/wheezy-php56/release  unable find expected entry 'all/binary-armhf/packages' in release file (wrong sources.list entry or malformed file)  e: index files failed download. have been ignored, or old ones used instead. 

what's problem here?

edit: getting downvotes here? asking question?

i had same problem , solved way:

# php source # can find latest version number on php download page: http://php.net/downloads.php # change `nl1` nearest mirror. find 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 raspberry pi 2 make -j4 # otherwise make  sudo make install  # reboot make sure changes effective sudo reboot  # check php version php -v 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -