Software > Bundled server software >
(on Wikipedia)
https://www.apachefriends.org/index.html
This ran my websites and content management systems for years.
See also:
-
2009-12-27 - 1.7.3 on Unity Linux 64-bit beta1
- The 64-bit broke XAMPP. I switched to Bitnami.
- Came back to Linux and running XAMPP again.
- Moved to XAMPP Lite for a while
- 2009-12-27 - 1.7.2 under Unity Linux 0.99 alpha 1
- 2009-07-19 - 1.7.1 on Unity Linux 0.99 alpha 1
- 2009-07-18 - 1.7.1 on Slackware 12.2
- 2009-07-16 - 1.6.7 on (distribution not recorded)
- 2008-05-02 - 1.6.6 on (distribution not recorded)
- 2007-03-11 - 1.6 on (distribution not recorded)
- (date not recorded) - (version not recorded - old) on (distribution not recorded)
- I originally set things up under a Windows XP environment
-
2005-02-09 - Switched from EasyPHP.
- This should resolve MySQL issues.
2009-07-19 - 1.7.1 ∞
I had to fart around to make it work..
edit /opt/lampp/lampp
and change:
"export LD_ASSUME_KERNEL=2.2.5" => "export LD_ASSUME_KERNEL=2.8"
groupadd nobody chown nobody:nogroup /opt/lampp/var/mysql/ -R
2009-07-18 - 1.7.1 ∞
I upgraded using their packages:
xampp-linux-upgrade-1.6.7-1.6.8a.tar.gz xampp-linux-upgrade-1.6.8a-1.7.tar.gz xampp-linux-upgrade-1.7.0-1.7.1.tar.gz
What I had to do for xampp-linux-upgrade-1.6.8a-1.7.tar.gz
/opt/lampp/bin/mysql -u root
use username_mediawiki; REPAIR TABLE `bad_behavior`; REPAIR TABLE `interwiki`; REPAIR TABLE `ipblocks_old`; REPAIR TABLE `logging`; REPAIR TABLE `math`; REPAIR TABLE `querycache`; REPAIR TABLE `recentchanges`; REPAIR TABLE `searchindex`; REPAIR TABLE `transcache`; REPAIR TABLE `updatelog`; REPAIR TABLE `user_groups`; REPAIR TABLE `user_newtalk`;
I also had to make sure the permissions were set appropriately for the /opt/lampp/var/mysql/*
tree of files. I made them all nobody:root rw-rw----
and directories I left alone, but I see that they are nobody:root drwx------
. Some directories are nobody:65534 and some files that were generated during runtime are nobody:nogroup
.
Everything seems to work just fine.
2008-05-02 - 1.6.6 ∞
/opt/lampp/lampp php5 /opt/lampp/lampp restart # get MySQL working /opt/lampp/lampp stopftp # I don't use it
-
visit localhost
- The default user is
lampp
- The default user is
- Create the database with PhpMyAdmin
- Visit that database.
- Create the database user. I had to edit root and then save it out as a copy. Odd.
-
Import the database, like so:
/opt/lampp/bin/mysql -u USER -p DATABASE < FILE.sql
cp -a /opt/lampp/htdocs/ /opt/lampp/htdocs-backup/ rm -rf /opt/lampp/htdocs/*
-
copy your website into
/opt/lampp/htdocs/
And at this point it fails. It tried to send the user to http://localhost/xampp/ which is wrong.
2007-03-11 - 1.6 ∞
# as root ./lampp start
Starting XAMPP for Linux 1.6... XAMPP: Another web server daemon is already running. XAMPP: Starting MySQL... XAMPP: Starting ProFTPD... XAMPP for Linux started.
# as root
service crond stop
XAMPP for Linux Stopping crond: [ OK ]
# as root ./lampp start
Starting XAMPP for Linux 1.6... XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Starting MySQL... XAMPP: Starting ProFTPD... XAMPP for Linux started.
Still not working? Try something like one of these:
sudo ifconfig lo0 up sudo ifconfig lo up
(This didn't work for me..)
Change the listening port:
nano /opt/lampp/etc/httpd.conf
# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 99
Then run it manually:
/opt/lampp/bin apachectl start
Don't forget to run mysqld
manually too.
but this doesn't seem to work.. sigh.
old notes ∞
MediaWiki's [[Special:Version]]
reports:
* PHP https://www.php.net/ ): 5.0.3 (apache2handler) * MySQL https://www.mysql.com/ ): 4.1.10
I set things up as per my CMS' instructions.
Scripts ∞
Make the file:
#! /bin/sh case "$1" in start|"") /opt/lampp/lampp start ;; stop) /opt/lampp/lampp stop ;; restart) /opt/lampp/lampp restart ;; reload) /opt/lampp/lampp reload ;; *) echo "Usage: xampp {start|stop|restart|reload}" exit 1 ;; esac exit 0
Then set up the system with:
# Startup ln -s /etc/init.d/xampp /etc/rc2.d/S21xampp # Reboot ln -s /etc/init.d/xampp /etc/rc6.d/K1xampp # Shutdown ln -s /etc/init.d/xampp /etc/rc0.d/K1xampp # General use ln -s /etc/init.d/xampp /sbin/xampp # Make it executable chmod 700 /etc/init.d/xampp
FIXME - Reboot and shutdown aren't working. Sigh.
php.ini ∞
aside from the settings in the content management system installation
memory_limit was increased to 20M.
(date not recorded) - (version not recorded - old) ∞
The distribution for Windows 98, NT, 2000 and XP. This version contains: Apache, MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Transport System for Win32 and NetWare Systems v3.32, JpGraph, FileZilla FTP Server, mcrypt, Turck MMCache, SQLite, and WEB-DAV + mod_auth_mysql.
I set things up with XAMPP as:
* MediaWiki ( wikipedia.sf.net/ ): 1.3.10 * PHP https://www.php.net/ ): 4.3.10 (apache2handler) * MySQL https://www.mysql.com/ ): 4.1.8
Customizations ∞
I installed with the windows installer. The self-extracting 7zip didn't seem to be complete.
I start things up with start_without_browser.exe
Removing crap ∞
The following directories were removed:
cgi-bin
FileZillaFTP
htdocs
install
MercuryMail
perl
webalizer
-
webdav
php.ini ∞
-
register_globals = off
- Geeze, this should always be off!
v1.4.11 ∞
- I have to kill
mysqld.exe
myself. - I wish this came with less crap. I may go with another solution for that reason.
-
Quote from the website main page:
Since LAMPP 0.9.5 you can make your XAMPP installation secure by calling »/opt/lampp/lampp security«.
- However
lampp
does not exist.
- However
Notes ∞
phpmyadmin username is "pma
"
Permissions ∞
some testing
chown nobody /opt/lampp/* -R find /opt/lampp/ -name '*' -type d -exec chmod 0700 {} \; find /opt/lampp/ -name '*' -type f -exec chmod 0600 {} \;
Last updated 2022-06-05 at 18:46:03
ported
The date estimated