Skip to content

Commit

Permalink
fixing php instructions; need libmysqlclient.so
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Belo committed Jan 23, 2012
1 parent 83e3066 commit 1c6e4ba
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,31 @@ The config files are bundled with the LP itself:
Pre-compiling binaries
----------------------

# apache
mkdir /app
wget http://apache.cyberuse.com//httpd/httpd-2.2.19.tar.gz
tar xvzf httpd-2.2.19.tar.gz
cd httpd-2.2.19
./configure --prefix=/app/apache --enable-rewrite
make
make install
tar -zcvf /app/apache.tar.gz /app/apache

cd ..

# php
wget http://us2.php.net/get/php-5.3.6.tar.gz/from/us.php.net/mirror
mv mirror php.tar.gz
tar xzvf php.tar.gz
cd php-5.3.6/
./configure --prefix=/app/php --with-apxs2=/app/apache/bin/apxs --with-mysql --with-pdo-mysql --with-pgsql --with-pdo-pgsql --with-iconv --with-gd --with-config-file-path=/app/php
make
make install

cd ..

# php extensions
mkdir /app/php/ext
cp /usr/lib/libmysqlclient.so.15 /app/php/ext

# package
cd /app
echo '2.2.19' > apache/VERSION
tar -zcvf apache.tar.gz apache
Expand Down

0 comments on commit 1c6e4ba

Please sign in to comment.