XAMPP | WAMPP |
---|---|
Cross-platform software, works with Windows, Mac and Linux. | Only works on Windows. |
It includes Apache, Maria DB, PHP and Perl. | It comes with Apache, MySQL and PHP. |
Clean and simple GUI, suitable for beginners. | Simple GUI but more buttons, which makes it best suited for experienced developers. |
XAMPP is lightweight server. | WAMPP is little bit heavier server. |
It consists of more extensions. | Limited or less extensions. |
<?php
$user = 'root';
$pass =' ';
$db = 'newdb';
$ndb = new mysqli ('localhost' , $user , $pass , $db) or die ('connection failed');
echo 'Successful' //if connection is successful then it will print successful
?>
$ cd/home/[username]/Downloads
$ chmod 755 [package name]
$ ls -l [package name]
interminal.$ sudo ./[package name]
$ sudo /opt/lampp/lamppstart
sudo /Applications/XAMPP/xamppfiles/xampp security
XAMPP: Quick security check..
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] yes
XAMPP: Turned off.
XAMPP: Stopping MySQL..
XAMPP: Starting MySQL..
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Write the passworde somewhere down to make sure you won't forget it!!!
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Setting new MySQL root password.
XAMPP: Setting phpMyAdmin's root password to the new one.
XAMPP: The FTP password for user 'nobody' is still set to 'lampp'.
XAMPP: Do you want to change the password? [yes] yes
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Reload ProFTPD..
XAMPP: Done.