Installing Local Server using XAMPP on Ubuntu 12.10

by 12:23 0 comments
if you wanna make some web project or local server in your computer you can use the XAMPP or you can use the WAMPP. But now, i wanna make local server with XAMPP on ubuntu 12.10. it's simple but you must be patient  OK.
first off all you have to download the XAMPP file. from here  Choose the linux version. And move the file to home folder
after that extract file to /opt using terminal (you must on root mode) 
tar xvfz xampp-linux-1.8.1.tar.gz -C/opt  
* xampp-linux-1.8.1.tar.gz file name
Done !!
and after that you can restart your XAMPP service with this code :
/opt/lampp/lampp restart
Ok, your localhost was created.
Go to your browser and open http://localhost/
XAMPP front
in the new version of XAMPP you can't access phpmyadmin directly but you must config the httpd-config.php for your permission it's easy you just go to directory and edit with nano like this :
cd /opt/lampp/etc/extra and type nano httpd-xampp.config
you can see the picture bellow
httpd-config.php
look this code 
# since XAMPP 1.4.3
<Directory */opt/lampp/phpmyadmin">
.......
......
/Directory>
and add this code Require all granted 
like this :
# since XAMPP 1.4.3

    AllowOverride AuthConfig Limit
    Require all granted
    Order allow,deny
    Allow from 
after that you can restart your server  with /opt/lampp/lampp restart
 and go to your browser and type http://localhost/phpmyadmin
so you can use MYSQL on your server.
Enjoy  !!!

abdul

Blogger

instagram : abdwhd14 // twitter : @abdwhd // email : abdwhdpsn@gmail.com

0 comments: