A few scripts for building a small self-contained Apache2 / PHP Installation.
PHP has Mysql + SSL and includes JSON but not XMLScripts here for fetching the source files by version
Untarring them
and then building them all
Make a directory for putting it all under and then run 'em
e.g.
mkdir -p /opts/LAMP
cd /opts/LAMP
unzip /tmp/build.zip
[vi build/build.vars] # this hard codes the version numbers, that's the point
./build/fetch
./build/build
/opts/LAMP/apache2/bin/apachectl start
- By default it checks for a running mysql to find the sock file when creating php.ini
- docroot ends up being /opts/LAMP/www/public_html
- php path is .:/opts/LAMP/www/php
- default port is 801
- default user:group is gopher:gopher
rm.src for deleying the source trees
rm.tar for deleting the tarfiles
untar for re-extracting the tarfiles
No comments:
Post a Comment