Webadmin and php are not working correctly - php

I have ubuntu server 16.04 running within hyper-v on a Windows 10 computer. I am running LAMP with Apache2, MariaDB, and PHP7.0. I have installed phpmyadmin but when I attempt to call it through my browser I get text, I'm assuming that it is the correct file but it is obviously not outputting the program. These are screenshots of what I'm seeing:
I am stuck at this point and have tried doing just about everything. I've entered the Include statement, as well as configured, updated, and upgraded everything. I started out using mysql but MariaDB seems to be working better. I just want to get phpmyadmin up and working and to put my websites up on the internet. Any help is appreciated.

After doing everything that is listed, I had rebooted and tried accessing phpmyadmin with success, so I'm at loss for words.

Related

PHP Server to Server Window XAMPP to UBUNTU Apache

On the Ubuntu server the database, web, and php seem to be working correctly.
I copied my php application from Windows 10 XAMPP environment to my Ubuntu into the correct directories.
Using the Firefox on another Ubuntu it brings up the first page correctly, but when it jumps to the next php code application I get a 404 can not find file.
I can manually get the page without problem. I must be missing something very simple. So can you help?
I'm not a Ubuntu guru, still learn all the ins and outs.

MAMP Unable to Connect to MySQL on localhost (10061) - 2017

I'm trying to create a dynamic drop down list by requesting data from my database using MAMP.
One of the tutorials I have tried has been talked about already and my version of the code is the same. Dynamic dropdown list with PHP & MYSQL
Although I am under the impression MAMP has a SQL server, I thought the problem was because I didn't have MySQL installed on my computer so I downloaded it, to no avail.
I went into my Task Manager and tried looking for "MySQL service" although I couldn't find the exact tag I did see MySQL Writer is running, but the Browser and Agent INFLOW is not and refuse to start.
I went here into my computer ( c://windows/system32/drivers/etc.host ) and took off the #s that were before
127.0.0.1 localhost
::1 localhost
making sure each remained on a separate line, I restarted my computer but I still can't seem to connect.
Any suggestions on how I may be able to fix this? I am extremely new to PHP and even newer to MySQL so, if possible, please try to keep any solutions simplified so I can follow along.
Not sure what the issue actually was but I ditched MAMP and installed XAMPP and everything seems to be working now.

phpmyadmin export table fails

I am currently running phpMyAdmin 4.7.1 against a mySQL 5.6.16 database on my Mac (El Capitan). Everything worked well, but in order to upgrade my test Moodle database, I had to upgrade my PHP installation from 5.5.38 to 5.6.30, which I did using the excellent installation instructions here (https://coolestguidesontheplanet.com/?s=El+Capitan+php). HOWEVER, as soon as I did so, my phpMyAdmin began behaving oddly. I can still log in, list table structure and browse contents, but then I run into problems.
ONE: When phpMyAdmin lists contents of a table, the select * from SQL is shown in the window at the top of the page. If I "refresh" this -- i.e., running SQL which phpMyAdmin successfully just ran, the window hangs with a message that it is trying to contact my Mac server (by name), then goes blank.
TWO: If I try to export table contents using the phpMyAdmin option, the window also hangs with the contact message, then goes blank.
There are no messages in /var/log/apache2/error_log, in /var/log/mysql/mysqld.error, or in /var/log/php/php_error.log. There are no messages in the system.log, so I am stuck without a clue as to the issue.
Replacing PHP 5.5.38 as my PHP engine makes phpMyAdmin work (but I can't use this version going forward because it doesn't work with other software I need to develop).
I have compared the php.ini files and extension files as much as possible, but I cannot find where the pertinent lie, other than that I am using a stricter developer version of PHP 5.6.30 than I was for PHP 5.5.38. Infrequently, the export will work -- so I must have a permissions issue or a resource issue in my environment.
Any suggestions will be greatly appreciated.
Try to export the specific tables, and not the entire database at one go, or just use mysql workbench.
then try and install another php with the phpmyadmin server.. do backup your database you can get that from C:\xampp\mysql\data for windows user.

#1045 Cannot log in to the MySQL server

I installed Apache, MySQL, PHP, and phpmyadmin, and I did everything needed to make the localhost/phpmyadmin webpage work correctly, with the two user inputs, I remember making my password and username 'root', when I try to log in, I get the error in the title. I've have been searching for an hour for a solution, but nothing has worked for me, please someone help, this is so frustrating! Thanks in advance
PS. I also installed 'xampp' to start and stop mysql server (that's all I know how to use it for)
I assume you have not been able to put any valid data into your MySQL database. Therefore
you should definitely remove Apache, MySQL, PHP, and phpmyadmin, plus XAMPP; then restart your machine and install just XAMPP.
Getting all the necessary parts working together is tricky, that's why there are packages like XAMPP that do the work for you.
So you haven't managed to connect to the MySQL server through php myadmin, just get to the login screen?
The way you have phrased you question makes it sound like you've installed MySQL and php seperatly from xampp, is this the case as I believe that xampp comes with it's own versions?
You are on windows??

MySQL problem reconnecting (mysqld.exe) keeps giving error

Need some guidance figuring out what went wrong. I've been using mysql, phpmyadmin for just under a year on my home computer while I develop a webapp. 3 days ago I updated my windows vista with all the "wonderful" microsoft updates, security patches, etc...and now it's broke. I tried uninstalling all the upgrades, but there are 4 of them I can't unistall because microsoft says their "operating system" updates and can't be unistalled.
My system is: windows vista, php 5+, mysql 5.1, Apache 2+.
I can run my web app and it queries the database without any problems. However, when I run phpmyadmin to get into the database I get an error: "mysqld.exe has stopped working" and phpmyadmin crashes. I tried going to the command line for mysql to do a mysqldump to backup my database and it gives me an error "2013, could not connect to the server". If I restart the computer the webapp will work again. Basically, php can query the database, but if I try to get at the database through phpmyadmin, or the command prompt the mysqld.exe error occurs and blows mysql out.
Any ideas what's going on here? Any ideas how to get around this to backup the db, so I can reinstall mysql?. I'm really lost where to start. I don't really know if the updates caused the problem, or if the 4 updates that can't be unistalled are really the problem.
Any tips will be appreciated. thanks.
You could try using XAMPP. It has PHP, MySQL, Apache, and other stuff all in one easy to use package.
After a software/ hardware drivers update, it may happened that the service mysqld.exe crashes at each launch (usually with message: mysqld.exe encountered an error and needs to close)
Check the solution described here (it worked for me) if you wish to avoid mysql reinstall.

Categories