]> granicus.if.org Git - php/commitdiff
Simplify the install instructions
authorXinchen Hui <laruence@gmail.com>
Sat, 23 Feb 2013 07:21:48 +0000 (15:21 +0800)
committerXinchen Hui <laruence@gmail.com>
Sat, 23 Feb 2013 07:34:10 +0000 (15:34 +0800)
README

diff --git a/README b/README
index 3854915242518de3de659d046e9611b61e532343..16854be7661ca9193be252d56a7cc1e681479bf7 100644 (file)
--- a/README
+++ b/README
@@ -18,20 +18,19 @@ Quick Install
 
 - Compile
 
-export PHP_DIR=/usr/local/php5.5
-PHP_AUTOCONF=autoconf $PHP_DIR/bin/phpize
-./configure \
+ $PHP_DIR/phpize
+ ./configure \
       --enable-optimizer-plus \
       --with-php-config=$PHP_DIR/bin/php-config
-make
+ make
 
 - Install
 
-cp .libs/ZendOptimizerPlus.so $PHP_DIR/lib/ZendOptimizerPlus.so
+ make install 
 
 - Edit php.ini
 
-zend_extension=/...full path.../ZendOptimizerPlus.so
+ zend_extension=/...full path.../ZendOptimizerPlus.so
 
 NOTE: In case you are going to use Zend Optimizer+ together with Xdebug,
 be sure that Xdebug is loaded after Optimizer+. "php -v" must show Xdebug