Changes between Version 4 and Version 5 of BuildingFromSource
- Timestamp:
- 05/23/2006 04:54:15 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingFromSource
v4 v5 6 6 * 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: 7 7 {{{ 8 #!ShellExample 8 9 $ php-cgi -v 9 10 PHP 4.4.3-dev (cgi-fcgi) (built: Mar 10 2006 18:46:02) … … 23 24 * php building env installed. if you've install php yourself, make sure you have do "make install". check it out with: 24 25 {{{ 26 #!ShellExample 25 27 $ which phpize 26 28 /usr/local/bin/phpize … … 28 30 /usr/bin/phpize 29 31 }}} 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 31 33 * m4 32 34 * indent (optional) … … 35 37 GettingSource, and cd into XCache directory. 36 38 {{{ 39 #!ShellExample 37 40 ~ $ cd ~/src/xcache 38 41 ~/src/xcache $ _ … … 43 46 everytime you upgrade php, or update to a new XCache, you have to do: 44 47 {{{ 48 #!ShellExample 45 49 $ phpize 46 50 }}} 47 51 and you get "configure" script now. ok, check what configure option we have. 48 52 {{{ 49 $ ./configure --help 53 #!ShellExample 54 $ mkdir build-by-moo 55 $ cd build-by-moo 56 $ ../configure --help 50 57 ...... 51 58 --enable-xcache Include XCACHE support. … … 58 65 --enable-xcache-test XCACHE: Enable self test - FOR DEVELOPERS ONLY!! 59 66 ...... 67 60 68 (now run configure with options you selected) 61 69 $ ./configure --enable-xcache --enable-xcache-disassembler 62 70 (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 63 72 $ make 64 (many output here again )73 (many output here again, check if it success or error out.) 65 74 }}} 66 75 67 76 == Installing == 68 77 {{{ 78 #!ShellExample 69 79 $ su 70 Password: (input your root password here) 80 Password: 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 71 83 # make install 72 84 (many output here, and you can see where the XCache extension is installed into, remember the extension path)

