Kamis, 26 April 2018

how to install xampp (lampp) for linux mint 18

first open xampp download then download any file you can choice one.

finish download.
open terminal and type this comand sudo chmod +x name file
or sudo chmod  sudo chmod +x xampp-linux-x64-7.0.29-0-installer.run
then Enter input your password Enter

than runing xampp with sudo ./xampp-linux-x64-7.0.29-0-installer.run
  if cant runing this comand. you can try this command

sudo /opt/lampp/lampp start
then there will be a command like this:

Starting XAMPP for Linux 7.1.13-0...
XAMPP: Starting Apache...fail.
XAMPP:  Another web server is already running.
XAMPP: Starting MySQL...ok.

apache is fail but apache in running state
now you can stop running your apache with comand:
sudo /etc/init.d/apache2 stop
then there will be a command like this:
[ ok ] Starting apache2 (via systemctl): apache2.service.
apache is stop
then run again  sudo /opt/lampp/lampp start
and there will be a command like this
Starting XAMPP for Linux 7.1.13-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.

oke now you can open your browser. and type 127.0.0.1
dan you will be find file htdocs in /opt/lampp/htdocs

put your php configuration in htdocs
if u want to stop runing lampp you can type comand
sudo /opt/lampp/lampp stop
and there will be a command like this
Stopping XAMPP for Linux 7.1.13-0...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.

now you can open dasbord PhpMyadmind with type the ip 127.0.0.1 or you can type your ip to acces your htdocs folder  

if you cant open your folder project database you can use the comand to change mode your folder
sudo chmod 777 -R /opt/lampp/htdocs/foldername

anable acces copy and paste data ini htdocs:


sudo chmod 777 -R /opt/lampp/htdocs

 knowladge for comand with type:
 sudo /opt/lampp/lampp 
and there will be a command like this
Usage: lampp <action>

start         Start XAMPP (Apache, MySQL and eventually others)

startapache   Start only Apache
startmysql    Start only MySQL
startftp      Start only ProFTPD

stop          Stop XAMPP (Apache, MySQL and eventually others)

stopapache    Stop only Apache
stopmysql     Stop only MySQL
stopftp       Stop only ProFTPD

reload        Reload XAMPP (Apache, MySQL and eventually others)

reloadapache  Reload only Apache
reloadmysql   Reload only MySQL
reloadftp     Reload only ProFTPD

restart       Stop and start XAMPP

security      Check XAMPP's security

enablessl     Enable SSL support for Apache

disablessl    Disable SSL support for Apache

backup        Make backup file of your XAMPP config, log and data files


oci8          Enable the oci8 extenssion



panel         Starts graphical XAMPP control panel







Tidak ada komentar:

how to update playonlinux? || bagaimana update playonlinux di linux mint

open terminal wget -q "http://deb.playonlinux.com/public.gpg" -O - | sudo apt-key add - sudo wget http://deb.playonlinux.com/pla...