small note on php

|**|

php install 002

configure

./configure --with-apxs2=/var/data/www/apache2/bin/apxs --with-pgsql=/usr/local/pgsql --enable-mbstring --without-mysql 2>&1 | tee log002_configure

今回は これで いこう

# ./configure --with-apxs2=/var/data/www/apache2/bin/apxs\
 --with-pgsql=/usr/local/pgsql --enable-mbstring --without-mysql 2>&1 |  tee log002_configure
.....
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+
|                          *** NOTE ***                              |
|            The default for register_globals is now OFF!            |
|                                                                    |
| If your application relies on register_globals being ON, you       |
| should explicitly set it to on in your php.ini file.               |
| Note that you are strongly encouraged to read                      |
| http://www.php.net/manual/en/security.globals.php                  |
| about the implications of having register_globals set to on, and   |
| avoid using it if possible.                                        |
+--------------------------------------------------------------------+

Thank you for using PHP.
# mv log002_configure ../

make

ほんだら make です

# make  2>&1 |  tee log003_make
.....
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
# mv log003_make ../

make install

へたら make install です

# make install  2>&1 |  tee log004_make_install
Installing PHP SAPI module:       apache2handler
/var/data/www/apache2/build/instdso.sh SH_LIBTOOL=\
'/var/data/www/apache2/build/libtool' libphp4.la /var/data/www/apache2/modules
/var/data/www/apache2/build/libtool --mode=install \
cp libphp4.la /var/data/www/apache2/modules/
cp .libs/libphp4.so /var/data/www/apache2/modules/libphp4.so
cp .libs/libphp4.lai /var/data/www/apache2/modules/libphp4.la
libtool: install: warning: remember to run \
`libtool --finish /usr/local/src/php/php-4.4.1/libs'
chmod 755 /var/data/www/apache2/modules/libphp4.so
[activating module `php4' in /var/data/www/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - installed: 1.1
[PEAR] Console_Getopt - installed: 1.2
[PEAR] PEAR           - installed: 1.3.6
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] HTML_Template_IT- installed: 1.1
[PEAR] Net_UserAgent_Detect- installed: 2.0.1
[PEAR] XML_RPC        - installed: 1.4.0
Installing build environment:     /usr/local/lib/php/build/
Installing header files:          /usr/local/include/php/
Installing helper programs:       /usr/local/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/man/man1/
  page: phpize.1
  page: php-config.1
# mv log004_make_install ../

にゃんたろう 拝!

2005年12月24日 (土) 20:07:04 JST 作成

|**|


small note on php

Copyright © 2004.-2007. nyantarou All Rights Reserved.