hard-oded /opt

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

hard-oded /opt

Postby vannus » 22. February 2010 00:02

was looking to make a portable xampp folder, however lampp is hardcoded to look in /opt/lampp and ignores usb stick.

Code: Select all
./lampp start                 
cat: /opt/lampp/lib/VERSION: No such file or directory     
./lampp: line 120: /opt/lampp/share/lampp/selinux: No such file or directory
Starting XAMPP for Linux ...                                               
./lampp: line 127: /opt/lampp/share/lampp/nogroupcheck: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory                           
./lampp: line 120: /opt/lampp/share/lampp/selinux: No such file or directory     
cat: /opt/lampp/lib/VERSION: No such file or directory                           
./lampp: line 120: /opt/lampp/share/lampp/selinux: No such file or directory     
./lampp: line 500: /opt/lampp/share/lampp/phpstatus: No such file or directory   
XAMPP: Starting Apache...                                                       
./lampp: line 220: /opt/lampp/bin/apachectl: No such file or directory           
XAMPP: Error 127! Couldn't start Apache!                                         
./lampp: line 227: /opt/lampp/share/lampp/diagnose: No such file or directory   
cat: /opt/lampp/lib/VERSION: No such file or directory                           
./lampp: line 120: /opt/lampp/share/lampp/selinux: No such file or directory     
XAMPP: Starting MySQL...
./lampp: line 247: /opt/lampp/bin/mysql.server: No such file or directory
XAMPP: Couldn't start MySQL!
cat: /opt/lampp/lib/VERSION: No such file or directory
./lampp: line 120: /opt/lampp/share/lampp/selinux: No such file or directory
./lampp: line 134: /opt/lampp/share/lampp/alladdons: No such file or directory
XAMPP for Linux started.

despite it saying it started, http://localhost doesnt work

:cry:

heres what i was thinking...
Code: Select all
/media/xampp-stick
|- xampp           ; holds exe files for when in linux/windows
|  |- lampp
|  \- wampp
|- mysql            ; holds mysql databases
|  |- drupal
|  \- joomla
\- www              ; holds websites (htdocs)
   |- drupal
   |- joomla
   \- test
      \- index.htm


has anybody done a sort of portable xampp at all?

- V
vannus
 
Posts: 2
Joined: 21. February 2010 23:44

Re: hard-oded /opt

Postby Nobbie » 22. February 2010 09:25

vannus wrote:however lampp is hardcoded to look in /opt/lampp and ignores usb stick.[code]


However there is an english board, you ignore and write in german part.

vannus wrote:has anybody done a sort of portable xampp at all?


Nothing easier than that, simply create a symbolic link from your USB stick to /opt/lampp (or directly mount it to /opt/lampp instead of /media/usb-stick).
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: hard-coded /opt

Postby vannus » 28. February 2010 18:29

However there is an english board, you ignore and write in german part.


ha, didnt see it :)

or directly mount it to /opt/lampp instead of /media/usb-stick


ill go with this when i get lampp to extract/start properly, cheers.
vannus
 
Posts: 2
Joined: 21. February 2010 23:44


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 25 guests