From 1c6e4ba5f4545e878d2c26d7ff2f81c129f718a4 Mon Sep 17 00:00:00 2001 From: Pedro Belo Date: Sun, 24 Jul 2011 21:20:20 -0700 Subject: [PATCH] fixing php instructions; need libmysqlclient.so --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03b6a8273..1d423d84a 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ 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 @@ -22,8 +23,9 @@ Pre-compiling binaries ./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 @@ -31,7 +33,13 @@ Pre-compiling binaries ./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