partyger.blogg.se

Xampp php
Xampp php













xampp php

Optional: If you want to set the password type to native mysql password, you can do this UPDATE user SET plugin='mysql_native_password' WHERE User='root' Ħ.) Otherwise, flush the privileges by doing FLUSH PRIVILEGES. Please change the password YOUR_PASSWORD_HERE to the password you intend to use. Next, change the password for the root account by doing UPDATE user SET authentication_string=PASSWORD('YOUR_PASSWORD_HERE') WHERE User='root' mysql -u rootĥ.) After that, do USE mysql to change to the mysql table. sudo service mysql restartĤ.) After that, you can log into the root account on MySQL with no password. Add at the bottom of the file this configuration. To do this, there’s a few steps you got to take.ġ.) Stop the MySQL service sudo service mysql stopĢ.) Then in the terminal using root access, browse to /etc/mysql/. So in all installations done on any Linux distro, the default root password is never set. To update and upgrade, I just do $: update Which runs the purge command and uninstalls the package I specify for me. To uninstall PHP, I just do uninstall php8.1

xampp php

So to update, all I gotta type is install php8.1 I alias the install, purge, update, upgrade, and autoremove functions. On a side note, I generally alias all of these things to make installing packages way way more easier for me. Installing self-assigned SSL is easy as well, but you’ll get the warning page since it’s self-assigned and not authorized by a certificate authority. I generally just put it in /var/ because it’s easier to find. Then configure it and put it in a spot where you can tell either Apache or NGINX where it’s located. All you just got to do is download it from the official site.

xampp php

If you want to use a different database engine than MySQL, that’s fine as well.ĭownloading phpMyAdmin is fairly easy. If you want to use the MySQL server, then you can easily do that by doing sudo apt-get -y install mysql-server If you want to use something like NGINX instead of Apache, that’s fine as well, just install NGINX and configure it to use php-fpm. sudo apt-get -y install php8.1 php8.1-mysql libapache2-mod-php8.1īy installing PHP like this, it also defaults to installing Apache as well. sudo apt-get -y install software-properties-common In the event doesn’t want to just install LAMP and may want to install different packages for their environment, then it’s easily obtainable by installing each package individually.įirst install the proper libraries and add the PPA repository to your machine.















Xampp php