PHP

http://jp.php.net/downloads.php

tar -xzf php-4.3.9.tar.tar
rpm -qa | grep php
rpm -qa | grep php | xargs rpm -e
make
make install
php -v
log_errors = On
;error_log = filename

./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring --enable-mbregex --without-mysql --enable-trans-sid --enable-memory-limit --with-dom --enable-sockets

http://curl.haxx.se/download.html

Parse error: parse error, expecting `')'' in /phpMyAdmin/lang/japanese-euc.inc.php on line 17
LoadModule php4_module modules/libphp4.so 
AddType application/x-httpd-php .php

http://www.net-newbie.com/postgres/php.ini-recommended.txt

magic_quotes_gpc = Off

mbstring.language = Japanese

mbstring.internal_encoding = EUC-JP

mbstring.func_overload = 7
sendmail_path = /var/qmail/bin/qmail-inject
include_path = ".:/usr/local/php:/usr/local/lib/php";

PHP5

wget http://jp.php.net/get/php-5.2.5.tar.gz/from/this/mirror
cd php-5.2.5
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--enable-mbstring --enable-mbregex --enable-track-vars \
--with-mysql=/usr/local/mysql5 \
--with-pdo-mysql=/usr/local/mysql5 --with-zlib-dir=/usr/local/lib \
--with-mcrypt
php-5.2.5/sapi/cli
cp php /usr/local/bin/

configure: error: mcrypt.h not found. Please reinstall libmcrypt.

http://mcrypt.sourceforge.net/

wget http://downloads.sourceforge.net/mcrypt/libmcrypt-2.5.8.tar.gz?modtime=1171868460&big_mirror=0
tar xzvf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure
make
make install 

windows

http://2php.jp/php/install_php_windows.html#setting_php

output_buffering = On
output_handler = mb_output_handler
default_charset = Shift_JIS
extension_dir = "c:\PHP\extensions\"
extension=php_mbstring.dll
session.save_path = c:/temp
[mbstring]
mbstring.language = Japanese
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto 
mbstring.http_output = SJIS
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none;

DBG: Php Debugger: Download

extension=php_dbg.dll
[Debugger]
debugger.enabled=on
debugger.profiler_enabled=on
AddType application/x-httpd-php .php

PHPIniDir "c:\php"

\x8ew\x92\xe8\x82\xb3\x82\xea\x82\xbd\x83\

http://www.apachelounge.com/download/

php4apache2.dll-php4.4.x.zip

ZZIPlib

http://zziplib.sourceforge.net/

bunzip2 zziplib-0.10.82.tar.bz2
tar xf zziplib-0.10.82.tar
cd zziplib-0.10.82
./configure
make
make install

GD

http://www.gadgety.net/shin/tips/unix/php-gd.html http://www.zlib.net/

wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar xzvf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure --shared --prefix=/usr
make
make install
wget http://www.ijg.org/files/jpegsrc.v6b.tar.gz
tar xzvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure --enable-shared
make
make install
cannot create regular file `/usr/local/man/man1/cjpeg.1'

http://www.libpng.org/pub/png/(http://www.libpng.org/pub/png/libpng.html) http://www.libtiff.org/(ftp://ftp.remotesensing.org/pub/libtiff/)

./configure
make 
make install

http://www.boutell.com/gd/

wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
./configure --without-libiconv-prefix
make
make install

http://www.freetype.org/(http://freetype.sourceforge.net/index2.html)

wget http://download.savannah.nongnu.org/releases/freetype/freetype-2.1.10.tar.gz
tar xzvf freetype-2.1.10.tar.gz
cd freetype-2.1.10
./configure --enable-static
make
make install
ln -s /usr/local/include/freetype2/freetype /usr/local/include/freetype
ln -s /usr/X11R6/include/fontconfig /usr/local/include

http://isl.educ.fukushima-u.ac.jp/~shinoda/net-docs/moodle-on-macosx.html

./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring
--enable-mbregex --with-gd=/usr/local --with-jpeg-dir=/usr/local 
--with-pgsql=/usr/local/pgsql/ --with-zlib --with-zlib-dir=/usr/local/lib --enable-sockets
--with-imap --with-mysql=/usr/local/mysql --with-ssl=/usr/local/ssl --with-curl
--enable-ftp --with-maxdb=/opt/sdb -with-ldap=/usr/local --enable-trans-sid 
--enable-memory-limit --with-freetype-dir=/usr/local/include/freetype2 
--enable-gd-native-ttf --enable-gd-jis-conv --with-dom --with-zip

FreeFontCache?

/*gdFreeFontCache();*/

Netpbm

JpGraph?

http://www.aditus.nu/jpgraph/

wget http://members.chello.se/jpgraph/jpgdownloads/jpgraph-1.18.tar.gz
(wget http://members.chello.se/jpgraph/jpgdownloads/jpgraph-1.20.3.tar.gz)
tar xzvf jpgraph-1.18.tar.gz
cd jpgraph-1.18
cp -R src/ /usr/local/lib/php/jpgraph
wget http://keihanna.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2
bunzip2 sazanami-20040629.tar.bz2
tar xf sazanami-20040629.tar
mkdir /usr/local/fonts
mkdir /usr/local/fonts/truetype
cd sazanami-20040629
cp sazanami-mincho.ttf /usr/local/fonts/truetype/sazanami-mincho.ttf
cp sazanami-gothic.ttf /usr/local/fonts/truetype/sazanami-gothic.ttf
//DEFINE("CACHE_DIR","/tmp/jpgraph_cache/");
//DEFINE("TTF_DIR","/usr/X11R6/lib/X11/fonts/truetype/");
//DEFINE("MBTTF_DIR","/usr/share/fonts/ja/TrueType/");
DEFINE("CACHE_DIR","/tmp/jpgraph_cache/");
DEFINE("TTF_DIR", "/usr/local/fonts/truetype/");
DEFINE("MBTTF_DIR","/usr/local/fonts/truetype/");
// Japanese TrueType font used with FF_MINCHO, FF_PMINCHO, FF_GOTHIC, FF_PGOTHIC
DEFINE('MINCHO_TTF_FONT','ipam.ttf');
DEFINE('PMINCHO_TTF_FONT','ipamp.ttf');
DEFINE('GOTHIC_TTF_FONT','ipag.ttf');
DEFINE('PGOTHIC_TTF_FONT','ipagp.ttf');
DEFINE('MINCHO_TTF_FONT','sazanami-mincho.ttf');
DEFINE('PMINCHO_TTF_FONT','sazanami-mincho.ttf');
DEFINE('GOTHIC_TTF_FONT','sazanami-gothic.ttf');
DEFINE('PGOTHIC_TTF_FONT','sazanami-gothic.ttf');
mkdir /tmp/jpgraph_cache
chmod 777 /tmp/jpgraph_cache

http://www.gadgety.net/shin/tips/unix/php-gd.html

eAccelerator

tar xzvf php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.tgz
mv php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.3/ /usr/local/lib/phpA
zend_extension="/usr/local/lib/phpA/php_accelerator_1.3.3r2.so"
<?php
  var_dump($GLOBALS['_PHPA']);
?>
array(3) { ["ENABLED"]=> bool(true) ["iVERSION"]=> int(10303) ["VERSION"]=> string(7) "1.3.3r2" } 
[Sun Jan 08 00:11:03 2006] [notice-phpa] PHPA 1.3.3r2 on linux_i686_glibc2.1.3 (pid 26261)
[Sun Jan 08 00:11:03 2006] [notice-phpa] Initialised 8MB cache at 0xb750f000 with 512 process entries (pid 26261)

http://www.asial.co.jp/ioncube/accelerator/phpa_serverhang.php

eAccelerator

wget http://bart.eaccelerator.net/source/0.9.5.1/eaccelerator-0.9.5.1.tar.bz2
bunzip2 eaccelerator-0.9.5.1.tar.bz2
tar xf eaccelerator-0.9.5.1.tar
cd eaccelerator-0.9.5.1
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize

./configure \
--enable-eaccelerator=shared \
--with-php-config=$PHP_PREFIX/bin/php-config
make
make install
>Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys     = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content  = "shm_and_disk"
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator

APC (Alternative PHP Cache)


PHPEclipse

http://www.phpeclipse.de/tiki-view_articles.php

extension=php_dbg.dll
[Debugger]
debugger.enabled = on




DocumentRoot?

http://localhost 

http://srvhat09.hp.infoseek.co.jp/index_php00.html

PEAR

http://pear.php.net/package/Archive_Zip/

<?php
require_once "Archive/Zip.php";
$filearray[] = 'test1.jpg';
$zipobj = new Archive_Zip('test.zip');
if ($zipobj->create($filearray)) {
    echo 'Created successfully!';
} else {
    echo 'Error in file creation';
}
?>

http://www.pxdoc.com/

ADOdb

http://adodb.sourceforge.net/

wget http://ovh.dl.sourceforge.net/sourceforge/adodb/adodb464.tgz
tar xzvf adodb464.tgz
cp -R adodb/ /usr/local/lib/php/adodb

Spreadsheet_Excel_Writer

Excel_Reviser PHP-ExcelReader Excel_Peruser

HTTP_Request

http://pear.php.net/package/HTTP_Request

wget http://pear.php.net/get/HTTP_Request-1.2.4.tgz
tar xzvf HTTP_Request-1.2.4.tgz
pear install HTTP_Request
<?php
phpinfo();
?>
/usr/local/lib/php
Dependencies:
PEAR Package: Net_URL 1.0.12 or newer
PEAR Package: Net_Socket 1.0.2 or newer
require_once "HTTP/Request.php";
$req =& new HTTP_Request("http://www.yahoo.co.jp/");
if (!PEAR::isError($req->sendRequest())) {
   echo $req->getResponseBody();
}

Net_POP3

http://pear.php.net/package/Net_POP3

wget http://pear.php.net/get/Net_POP3-1.3.6.tgz
tar xzvf Net_POP3-1.3.6.tgz
pear install Net_POP3

SOAP

http://pear.php.net/package/SOAP/

wget http://pear.php.net/get/SOAP-0.8.1.tgz
tar xzvf SOAP-0.8.1.tgz
Dependencies:
PEAR Package: Mail_Mime
wget http://pear.php.net/get/Mail_Mime-1.3.0.tgz
pear install Mail_Mime-1.3.0.tgz
PEAR Package: HTTP_Request
PEAR Package: Net_URL
wget http://pear.php.net/get/Net_URL-1.0.14.tgz
pear install Net_URL-1.0.14.tgz
PEAR Package: Net_DIME
wget http://pear.php.net/get/Net_DIME-0.3.tgz
pear install Net_DIME-0.3.tgz

Net_UserAgent_Mobile

http://pear.php.net/package/Net_UserAgent_Mobile/

MIME

Mail_Mime
Mail_mimeDecode

sqlite

http://www.sqlite.org/

pear install sqlite
wget http://www.sqlite.org/sqlite-3.2.5.tar.gz
tar xzvf sqlite-3.2.5.tar.gz
cd sqlite-3.2.5
./configure
make
make install

http://www.tcl.tk/

wget http://switch.dl.sourceforge.net/sourceforge/tcl/tcl8.4.11-src.tar.gz
tar xzvf tcl8.4.11-src.tar.gz
cd tcl8.4.11/unix
./configure --prefix=/usr/local
make
make install

NuSOAP

http://dietrich.ganx4.com/nusoap/index.php

Puno

OpenOffice Puno

Xdebug

StackTrace?

tar xzvf xdebug-1.3.2.tgz
cd xdebug-1.3.2
phpize
./configure --enable-xdebug
make
make install
cd /usr/local/lib
ln -s /usr/local/lib/php/extensions/no-debug-non-zts-20020429/xdebug

extension="xdebug.so"
xdebug.dump.GET=*
xdebug.dump.PUT=*
<?php
phpinfo();
?>

http://dd.cron.ru/dbg/downloads.php

wget http://switch.dl.sourceforge.net/sourceforge/dbg2/dbg-2.11.32-src.tar.gz
tar xzvf dbg-2.11.32-src.tar.gz
cd dbg-2.11.32


./deferphpize
make install
extension=dbg.so
[Debugger]
debugger.enabled = on
debugger.profiler_enabled = on
debugger.fail_silently = on
debugger.ignore_nops = off
debugger.JIT_enabled = on
debugger.JIT_host = clienthost
debugger.JIT_port = 7869
debugger.JIT_level = 3
debugger.timeout_seconds = 300

http://uprising.s16.xrea.com/ishino16/index.html

zend_extension="/usr/local/lib/phpA/php_accelerator_1.3.3r2.so
<?php
 phpinfo();
?>

WorkingDirectory?

local c:\webroot\test
remote /webroot/test
debugbreak();

http://localhost/test/hoge.php?DBGSESSID=1@clienthost:10001

http://www.trust-plus.jp/modules/mylinks/viewcat.php?cid=13
http://tsuttayo.sytes.net/php/dbg/
http://www.geocities.jp/maple4estry/eclipse_php.html
http://hiromasa.zone.ne.jp/blog/?p=230

WinBinder?

http://pecl.php.net/package-info.php?package=WinBinder

cd C:\WinBinder\Code\ToDo
php todo.phpw

http://itpro.nikkeibp.co.jp/members/ITPro/oss/20041110/152408/

PHPEdit

http://www.waterproof.fr/ http://www.waterproof.fr/MyAccount.php

Image_Graph

http://pear.veggerby.dk/samples/

http://teethgrinder.co.uk/open-flash-chart/

http://www.asahi-net.or.jp/~wv7y-kmr/memo/php_security.html

TIPS

HELP

http://www.php.net/download-docs.php

memory_limit = 16M

Character set '#13' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file

http://ns1.php.gr.jp/pipermail/php-users/2003-October/019256.html
http://www.mysql.gr.jp/mysqlml/mysql/msg/4852

Call to undefined function:  imap_open()

ftp://ftp.cac.washington.edu/imap/

tar xzvf c-client.tar.Z
cd imap-2004f
make lrh
cd c-client
cp c-client.a /usr/local/lib/libc-client.a
cp *.h /usr/local/include
cd ..
cd src/c-client
cp *.* /usr/local/include

http://search.net-newbie.com/php/ref.imap.html

wget http://pear.php.net/go-pear
php go-pear
FATAL ERROR! We cannot initialize


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS