Forums LAMPStack

make changes in the conf files before install?

Subscribe to make changes in the conf files before install? 2 post(s), 2 voice(s)

 
Avatar qzio 3 post(s)

hey!

First of all. Thanks alot for the great package! it works really good.

But i wonder if it’s possible to change the configuration before the whole stack is started. I want to add skip-networking to [mysqld] section in mysql/my.cnf. I also want to change AllowOveride None -> All. so i can use .htaccess files..

I know i can do this after the install, and then go ./ctl.sh restart.. since im doing an automagical script that sets up new instances on remote servers via ssh/scp and some bash-scripting, it would be nice to be able to modify configuration files before the install… as it is now, i install the package and then do a simple ed-line (mysql conf), but for the httpd.conf i used patch to change it so that .htaccess files works.

anyways – great package.

p.s. how hard is it to build your own portable lamp-stack? alot of dependency problems? stuff like that? or is it just to compile apache/mysql/php into /opt and then copy the directory? d.s

 
Avatar Daniel Lopez Administrator 111 post(s)

Hi,

Currently there is no way of doing that other than as you suggest. Our plans are to open the platform more (it is a matter of time, really) and allow those kind of tweaks easily.

There is a lot of effort involved in creating a portable lampstack, specially one that runs across multiple Linux versions and specially one that has a lot of extensions for PHP, for example. It is not one single big problem, but a lot of small details, since libraries and applications have hardcoded paths and assumptions and those need to be replaced when installing in a different path.

Forums LAMPStack