Download Latest versions of xampp/lampp from below link
http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/
=> To check status of lampp services
#/opt/lampp/lampp
status
#/opt/lampp/lampp start
#/opt/lampp/lampp stop
#/opt/lampp/lampp
stopapache (stop apache only)
#/opt/lampp/lampp
stopftp (stop ftp only)
#/opt/lampp/lampp
stopmysql (stop mysql only)
#/opt/lampp/lampp
startmysql (start mysql only)
#/opt/lampp/lampp
startftp (start ftp only)
#/opt/lampp/lampp
startapache (start apache only)
#/opt/lampp/lampp
reload (reload xampp (Apache,mysql and others))
#/opt/lampp/lampp
reloadapache (reload apache only)
#/opt/lampp/lampp
reloadmysql (reload mysql only)
#/opt/lampp/lampp
reloadftp (reload ftp only)
#/opt/lampp/lampp
security (To check security)
#/opt/lampp/lampp
phpstatus (To check php status)
#/opt/lampp/lampp
php5 (To activate php5)
#/opt/lampp/lampp
php4 (To activate php4)
To
start lampp on syatem start up run below command
Debian,
Ubuntu.
#sudo
ln -s /opt/lampp/lampp /etc/init.d/lampp
#sudo update-rc.d lampp
start 80 2 3 4 5 . stop 30 0 1 6 .
RedHat,
Fedora, CentOS.
If your Linux distro uses "chkconfig" tool to install the
services you can run the following commands:
#sudo
ln -s /opt/lampp/lampp /etc/init.d/lampp
#sudo chkconfig --add
lampp
SUSE
#sudo
ln -s /opt/lampp/lampp /etc/init.d/lampp
#sudo chkconfig lampp 2345
=>
Database folder (/opt/lampp/var/mysql folder contain database )
#/opt/lampp/var/mysql/(database
name)
=> Database
folder (/opt/lampp/var/mysql folder contain database )
#/opt/lampp/var/mysql/(database
name)
If lampp is giving
error mysql could not start at the time of restart just delete below
file and restart again
#rm
/opt/lampp/var/mysql/*.pid
#rm
/opt/lampp/logs/httpd.pid
If lampp is
giving error ProFTPD is already running at the time of restart just
delete below file and restart again
#/opt/lampp/lampp
stopftp
#rm
-f /opt/lampp/var/proftpd.pid
#/opt/lampp/lampp
start
#/opt/lampp/lampp
startftp
TO
give password on phpmyadmin
/opt/lampp/bin/mysqladmin
password 123456
TO
change password for phpmyadmin
/opt/lampp/bin/mysqladmin
-p oldpassword password newpassword
To
Disable delete permission in lampp through php
vim
/opt/lampp/etc/php.ini
disable_functions
= unlink ;Put this entry in php.ini
No comments:
Post a Comment