PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, February 22, 2022

[FIXED] Raspberry Pi webserver cant read php files after phpmyadmin install

 February 22, 2022     phpmyadmin, raspberry-pi3     No comments   

Issue

After instillation of myphpadmin PHP files display this error

This page isn’t working (Domain Name) is currently unable to handle this request. HTTP ERROR 500

Also when attempting to install or up date php-7.0 i get the errors

E: Unable to locate package php-7.0 E: Couldn't find any package by regex 'php-7.0'


Solution

To be able to use PhpMyAdmin now you have to have php version 5.5 or higher installed

to install php version 7.0 you have to do the folowing steps :
open sources.list : sudo nano /etc/apt/sources.list

add these lines to file:

deb http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free
#deb-src http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free

then exit nano and run this command (ctrl+X then y and then Enter) : sudo gpg --keyserver pgpkeys.mit.edu --recv-key CCD91D6111A06851

also run this command: sudo gpg --armor --export CCD91D6111A06851 | sudo apt-key add -

PhpMyAdmin also requires MySql
run sudo apt-get install mysql-server python-mysqldb

run sudo apt-get update



Answered By - 123abc321bca
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing