Changes between Version 4 and Version 5 of BuildingFromSource


Ignore:
Timestamp:
2006-05-23T04:54:15+02:00 (8 years ago)
Author:
moo
Comment:

syntax highlight

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFromSource

    v4 v5  
    66 * the [http://www.php.net/downloads.php lastest version] of php 4.3.x, 4.4.x, 5.1.x, 5.2.x or 6.x series, 5.0.x isn't one of them. You can check the version with: 
    77{{{ 
     8#!ShellExample 
    89$ php-cgi -v 
    910PHP 4.4.3-dev (cgi-fcgi) (built: Mar 10 2006 18:46:02) 
     
    2324 * php building env installed. if you've install php yourself, make sure you have do "make install". check it out with: 
    2425{{{ 
     26#!ShellExample 
    2527$ which phpize 
    2628/usr/local/bin/phpize 
     
    2830/usr/bin/phpize 
    2931}}} 
    30    you output may be vary from this. 
     32   you output may be vary from this, depending on your installtion of php. if it's not found, you should find it yourself 
    3133 * m4 
    3234 * indent (optional) 
     
    3537GettingSource, and cd into XCache directory. 
    3638{{{ 
     39#!ShellExample 
    3740~ $ cd ~/src/xcache 
    3841~/src/xcache $ _ 
     
    4346everytime you upgrade php, or update to a new XCache, you have to do: 
    4447{{{ 
     48#!ShellExample 
    4549$ phpize 
    4650}}} 
    4751and you get "configure" script now. ok, check what configure option we have. 
    4852{{{ 
    49 $ ./configure --help 
     53#!ShellExample 
     54$ mkdir build-by-moo 
     55$ cd build-by-moo 
     56$ ../configure --help 
    5057...... 
    5158  --enable-xcache         Include XCACHE support. 
     
    5865  --enable-xcache-test            XCACHE: Enable self test - FOR DEVELOPERS ONLY!! 
    5966...... 
     67 
    6068(now run configure with options you selected) 
    6169$ ./configure --enable-xcache --enable-xcache-disassembler 
    6270(many output here, if you have problem, read the error message twice, and search inside config.log, and check Pre-requirement in this page above) 
     71 
    6372$ make 
    64 (many output here again) 
     73(many output here again, check if it success or error out.) 
    6574}}} 
    6675 
    6776== Installing == 
    6877{{{ 
     78#!ShellExample 
    6979$ su 
    70 Password: (input your root password here) 
     80Password: 
     81(input your root password here. whenever u see a red # in code listing in this wiki, it means you need to be root to do that) 
     82 
    7183# make install 
    7284(many output here, and you can see where the XCache extension is installed into, remember the extension path)