phpMyAdmin Installation on a Windows PC - php

How can I install phpMyAdmin on my PC? I have already PHP, MySQL and IIS installed.
How can I install it in Windows 10? And if I do upgrade to Windows 11, should i do the same?

f you are trying to get a test/preprod environment, you should take a look at Xampp. It provides a database server, Apache web server, php and phpmyadmin and is very scalable and configurable.
Xampp : https://www.apachefriends.org/fr/index.html
And of course, Xampp can be used on Windows 10 as well on Windows 11.

Related

PHP Firebird with Debian 8 - VestaCP

I want to get data from Firebird database with PHP. I have a VPS server and Operation System Debian 8 and main panel Vesta CP. My PHP version is PHP 5.
I found some information on web and I tried all of them but it's not happened. How can I get data from Firebird database with php?
http://php.net/manual/tr/ibase.installation.php
http://www.firebirdfaq.org/faq234/
i solved this problem, reinstall OS but not Debian 8 , setup Debian 9.3 and VestaCP.
So php version is 7. and on console ;
apt-get install php7.0-interbase
almost done

setting up PHP 7 to connect to SQL server 2014

I have both a development PC and windows server that run PHP. I'm trying to configure them for SQL server. I've downloaded SQL Server 2014 express and it's running on both.
The Development box box: 64-bit windows 7 PC, running IIS 7.5 and PHP 7.1.3
The server is 64-bit windows server 2008 running PHP version 7.1.3
I've started with the dev box and tried downloading the drivers and modifying the php.ini to add the extension.
The drivers is not loading when I run phpinfo(). With some further research, I think I have not got the correct version of the driver for my dev box. I'm currently using php_sqlsrv_54_ts.dll as my extension, but the installation media for the driver came with several .dll files and I'm not sure I have the right one. I did notice that the installation file I downloaded was SQLSRV30.EXE. I also noticed that there was SQLSRV52.EXE, but that does not support win 7. Can someone point me to the correct driver for my dev box and server.
I'm getting so frustrated with this because it's not self explanatory.
It turns out that there are no SQL drivers for PHP 7.2 that work under windows 7. I had to downgrade to PHP 7.1 and then the drivers loaded and worked.

How to know whether I have LAMP or XAMPP installed in my Ubuntu?

I am currently working in PHP in my localhost. I have php version 5.5.9-1, apache2 version 2.4.7, and Mysql Ver 14.14 in my Ubuntu 14.04.
But how to check whether I am using LAMP or XAMPP?
I tried typing "lamp" and "xampp" in terminal. But it shows "command not found". Should I come to the conclusion that these things(apache, mysql and php) were installed seperately?
In my case I have installed XAMPP for Linux (LAMPP) in Ubuntu 18.10
How can you know it?
Try to go to /opt/lampp
If you can, it means Xampp for Linux it's installed, but if you want to know the version, in the same path of step 1, put in your command line ./xampp status
You will know XAMPP for Linux version and Apache, MySQL and ProFTPD status (running or not).
Know PHP version
cd /opt/lampp/bin
./php -v
Know MySQL (MariaDB) version
cd /opt/lampp/bin
./mysql --version
Know Apache version
cd /opt/lampp/bin
./apachectl -v
I hope helps somebody
./xampp status image
You have to understand this :
1) LAMP
For LAMP setup, you have to install PHP, Apache and Mysql packages separately. In LAMP you don't get anything to manage your server in GUI way.
For Ex: To start apache server you have to type command in terminal.
To start apache : sudo service apache2 start
For installing LAMP refer :
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
2) XAMPP
It is a complete package which comes bundled with PHP,Apache, Mysql etc in a single installation. It gives you a control panel from which you can manage your server and configuration files.It is something of this sort.
For XAMPP : https://www.apachefriends.org/download.html
If you don't find xampp control panel in your system, this means you have a LAMP setup. i.e : first option.
The lamp package installs apache, mysql and php separately.
In ubuntu you should have the apache installed on /etc/apache2
the mysql installed on /etc/mysql
and the php installed on /usr/share/php
If you are developing you can use PHP's built-in server.
Try:
xampp -v
If xampp is installed it will display the version else its not installed.

How to download, use and keep updated PHP, Apache, MySQL on a machine running on Windows 10 Home operating system?

I'm a PHP developer by profession. Till now I was working on Ubuntu Linux 14.04 LTS 64-bit operating system and LAMP stack.
Yesterday I bought a new Lenovo laptop pre-installed with Windows 10 Home Single Language operating system.
Then to start development using PHP and MySQL I installed Wampserver (64 bits & PHP 5.6.15 & PHP 7) 3 on my new machine.
After installation I'm facing so many problems in running PHP and PHPMyAdmin without error. Also it's showing me PHP Version 5.6.16 installed which is actually a old one.
Actually, I want to install the latest stable versions of following softwares before starting my PHP development :
PHP Version 7.0.6
Apache httpd 2.4.20
MySQL Version 5.7.12
PHPMyAdmin Version 4.6.1
And also whenever any new stable version for any of the above softwares become available I should be able to upgrade the same software to it like I used to do on my Ubuntu machine by running regular system update.
Can someone please suggest me a way to achieve it without any hassle and trouble? So that I can concentrate more on web development rather than doing configuration settings.
Thanks.
There are MANY ADDONS available for WAMPServer 3
They are all on SourceForge
Or they can be downloaded from links on the WAMPServer forum
Or the alternate download site (often a few days ahead of SourceForge)
Remember that with WAMPServer you can switch between any installed version of Apache/PHP/MYSQL with a simple click of a menu item.
The latest version of WAMPServer is currently V3.0.4 and comes with
Apache2.4.18
MYSQL5.7.11
PHP7.6.19 & 7.0.4
ADDON for PHP7.0.6 is also there ready for download and install
ADDON for Apache2.4.20 is also there ready for download and install
ADDON for MYSQL5.7.12 is also there ready for download and install
ADDON for PHPMyAdmin Version 4.6.1 is also there ready for download and install
There have been a few odd hiccups with phpMyAdmin lately so there is also an ADDON for a tool called Adminer4.2.4 available also
MYSQL Workbench is also a great tool for messing with MYSQL, but if you install that be careful to only install the Workbench and not another MYSQL Server as well.
What more could you possibly want
Try XAMPP , pick the version you want
https://www.apachefriends.org/download.html
XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It's that easy.

ZPanel on Ubuntu Server 13.10

I have configured Ubuntu Server 13.10 with apache2, php, mysql and phpmyadmin.
I want to install zPanelcp for managing server for hosting purpose but my question is this should i need to install zpanelcp on fresh ubuntu without apache2, php, mysql and phpmyadmin or after installation of apache2, php, mysql and phpmyadmin?
Fresh install of the OS with minimal options. The following modules MUST NOT be installed on your server:
MySql
Apache
Bind
Dovecot (Ubuntu, CentOS)
Postfix (Ubuntu, CentOS)
proFTPd (Ubuntu, CentOS)
hMail Server (Windows)
FileZilla Server (Windows)
IIS (Windows)
See: http://docs.zpanelcp.com/?node=22
It doesn't support Ubuntu 13.10 yet.
ZPanel won't work on any Ubuntu version that isn't 12.04LTS unfortunately.
12.10 Uses PHP 5.4. (Suhosin support was dropped (integrated) in that version). ZPanel relies heavily on suhosin so just that one package makes it usable on any other version of Ubuntu.
I'm pretty sure that there wouldn't be any conflicting dependencies on a desktop version.
Might I suggest that if you're dead set on using 13.10 then run a virtual environment of 12.04 and SSH into it for website access.
It's mentioned on there official forum:
http://forums.zpanelcp.com/thread-9501.html
I have ZpanelCP version 10.1.0 working in an ubuntu 13 box and don't have any problem.
According to their documentation, you should not install those modules as stated before by Hilmi Erdem KEREN

Categories