SOLVED - Insalling XAMPP on external drive

Problems with the Linux version of XAMPP, questions, comments, and anything related.

SOLVED - Insalling XAMPP on external drive

Postby gnikous » 13. September 2009 14:24

I have a dual boot laptop (Ubuntu, Windows XP) and I would like to use XAMPP with both operating systems sharing a common database.
In order to do that I Installed the windows version of Xampp on an externall disk and changed the configuration files of Apache and mySQL so that they point to an external folder.
I tried the same with the linux version LAMPP but it fails.
I did the following steps
    tar xvfz xampp-linux-1.7.2.tar.gz -C /media/DISK320/
    Create a link /opt/lampp to /media/DISK320/lampp
    modified /media/DISK320/lampp/etc/httpd.conf so that it uses the same root folder as my Windows Installation
    modified /media/DISK320/lampp/etc/my.cnf file to use the same database as my Windows installation
    tried to start lampp... it start's however it does not read the my.cnf file and I have not access to the correct database
    moved lampp/etc/my.cnf to /etc/my.cnf changed permissions and created a link to pointing from lampp/etc/my.cnf to /etc/my.cnf
Now Xampp seems to start properly.

When I try the phpMyAdmin link (in the Linux version) I get this message
"Wrong permissions on configuration file, should not be world writable!"

Any ideas?
Last edited by gnikous on 13. September 2009 15:09, edited 1 time in total.
gnikous
 
Posts: 2
Joined: 13. September 2009 14:01

Re: Insalling XAMPP on external drive

Postby gnikous » 13. September 2009 15:09

It seems to be working now.
I just moved the config.inc.php of phpMyAdmin to the /etc folder and created a link to it.

(Initially I thought the "Wrong permissions on configuration file, should not be world writable!" was reffering to my.cnf file but it was for the config.inc.php)
gnikous
 
Posts: 2
Joined: 13. September 2009 14:01


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests