httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raf Roger <>
Subject Re: [users@httpd] Make apache2 (httpd) portable under Linux
Date Mon, 03 Feb 2020 14:30:21 GMT
Bonjour Lucien,

I already read and understood what you wrote as this is the basic steps i
already read before.
In fact my goal is to do something like XAMPP for linux but with the
following differences:
- no root permissions needed
- no installation needed, just to unzip the completed stack (apache, php,
mysal) and to use a simple script to run/start stack servers.
- users could unzip in whatever directory he wants, it will run normally.
No need to unzip in a particular directory like /opt/lamp or
/home/webserver... Basically it could be unzip in /$HOME/webserver or in
/home/server/ or in /home/username/web/server-stack. Anyway the structure
of directories in this folder will be always the same e.g.:
/ php
/ mysql

in the step you wrote, by compiling and making install, it force any use to
have it in 1 and only 1 directory as XAMPP does...and this is something i
do not want.... as the final purpose is to move it on usb stick or in some
directory in any other linux computer and to run website as demo e.g.

naybe it's clearer now how i was planning this stuff.



On Sat, Feb 1, 2020 at 1:05 PM Lucien Gentis <>

> Hello Raf,
> Le 31/01/2020 à 22:16, Raf Roger a écrit :
> Hi,
> I work on web development using several computers (laptop, desktop) and i
> do not have always access to internet.
> While i was under Windows i had a portable LAMP server and it was great as
> i was just able to sync it once online, to have it on other computers.
> I would like to do the same under Ubuntu 19.10 and i'm looking for
> information how to do it.
> My first step would be to have apache2 (httpd) not depending on root
> permissions, but also running from any directory where the binaries are
> stored...
> See
> so if binary is set to /home/alain/webserver/apache or
> /home/$user/webserver/apache it should be able to run with configuration
> file, just by launching httpd start or something like that.
> however i'm lost with the source code while i compile it with --PREFIX and
> other option.
> Can someone help me to understand it better ?
> Once you have uncompressed the httpd tarball, you go to the root of the
> source tree then execute following command , for example:
> *./configure --prefix=/usr/local/httpd-2.4.41*
> where /usr/local/httpd-2.4.41 is the root of the installation directory
> which will contain bin, doc, share, include,... directories.
> if there's no error, you execute then
> *make*
> to build httpd, then
> *sudo make install*
> to install it /usr/local/httpd-2.4.41
> Other configure options can be found via command :
> *./configure --help*
> thx
> --
> Alain

Kubuntu 17.10
MySQL 5.6.x
Apache 2.4.25 / OpenSSL 1.0.2j
Tomcat 7.17
PHP 7.1.x

View raw message