1

I have installed mysql and mysql server 5.7.20.

I can connect to mysql in terminal using mysql -u root -p

I have also installed php 7.0.22

I have also installed apache2 2.4.18

and when I try to open : http://localhost/phpmyadmin/

I got file like this ...

<?php

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Main loader script
*
* @package PhpMyAdmin
*/

/**
* Gets some core libraries and displays a top message if required
 */
require_once 'libraries/common.inc.php';

/**
* display Git revision if requested
*/
require_once 'libraries/display_git_revision.lib.php';
require_once 'libraries/Template.class.php';

/**
* pass variables to child pages
*/ 

..........

I can not understand.

What is the actual issue

Please help me if you have any idea.

Naveed Ramzan
  • 3,565
  • 3
  • 25
  • 30
Sachin Shah
  • 4,503
  • 3
  • 23
  • 50

2 Answers2

0

Why don't you try WAMP or XAMPP servers?

Prashanth kumar
  • 949
  • 3
  • 10
  • 32
  • I have tried also but apache and mysql will automatically stops – Sachin Shah Nov 24 '17 at 12:05
  • It is possibly because you have already installed mysql seperately and it must have occupied the required port for xampp. First try uninstalling the mysql server you have installed explicitly, delete your temp files using %temp% in run, and restart then reinstall the XAMPP, if the same isnt working, post installation share the info in the log file. – Prashanth kumar Nov 24 '17 at 18:24
0

WAMP or XAMPP is the better option but if you still want to install Apache, PHP and MySql separately then you can follow below link that given step by step procedure of installing and testing all :-

https://docs.moodle.org/33/en/Manual_install_on_Windows_7_with_Apache_and_MySQL

Amit Gupta
  • 2,771
  • 2
  • 17
  • 31