ÜberGalerieBlogUnity3D ExamplesKontaktSitemapFullsitemap

testfest helped me a lot

Sitting here at our office. today we have 2 main events:
webtuesday and phptestfest

the php tester corner :-)

on thing I learned today:
For my a self compiled php I had to turn off all php.ini's also the php.d directory ( mv php.d php.d.old did that in /usr/local/php5.lcl)

now I get:
=====================================================================
PHP : /usr/local/php5.lcl/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.2.6
ZEND_VERSION: 2.2.0
PHP_OS : Darwin - Darwin pea-mbr.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
INI actual : /Users/pjezek/php5osx/php-5.2.6
More .INIs :
CWD : /Users/pjezek/php5osx/php-5.2.6
Extra dirs :
=====================================================================
Running selected tests.
FAIL tidy_diagnose() [ext/tidy/tests/004.phpt]
=====================================================================
Number of tests : 1 1
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 (100.0%) (100.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 0 seconds
=====================================================================
to run a single test switch to the source directory of php ( in my case /Users/pjezek/php5osx/php-5.2.6 ).
Then do:
export TEST_PHP_EXECUTABLE=/usr/local/php5.lcl/bin/php
php run-tests.php ext/tidy/tests/TESTFILE.phpt
Kommentare (0)  Permalink

today's distraction

HP LP3065

hope this beauty will soon increase my productivity ;-)
Kommentare (0)  Permalink

rsync portage to all xen hosts

if you run more then one gentoo machine, this might be helpfull.
On the host, where your portage tree is up to date, you can use a script to rsync the tree to the other hosts:

 #!/bin/sh
# simple script for rsyncing portage to dest host
TOIPS="10.0.0.2 10.0.0.3"

for ip in $TOIPS; do
rsync -avz --exclude packages --delete /usr/portage/ $ip:/usr/portage/
done
Kommentare (0)  Permalink

php 5.2.6 four way binary for osx 10.5 leopard

Today I uploaded my build script for php - currently for version 5.2.6. It builds php as a four way binary for leopard.

php info of fresh 5.2.6

I was inspired by Marc's approach. His version is available at www.entropy.ch

Full how-to is included in svn:
here is a quick how-to: (backup your /usr/local/mysql folder)

svn co https://www.jezek.ch/public/php5osx/trunk/ php5osx
cd php5osx
./make_php5.sh

Drink a (coffee) it takes quite a long time and consumes about 1.4Gb of disc space!

It will install php to /usr/local/php5.lcl. It also installs mysql to /usr/local/mysql.

# versions
ICONV_VERSION=1.12
FILE_VERSION=4.26
IMAP_VERSION=2007a1
MCRYPT_VERSION=2.5.8
MHASH_VERSION=0.9.9
LIBXML_VERSION=2.6.30 
LIBXSLT_VERSION=1.1.22 
LIBEXPAT_VERSION=2.0.1
LIBJPEG_VERSION=6b 
LIBPNG_VERSION=1.2.25 
FREETYPE_VERSION=2.3.5
LIBCURL_VERSION=7.18.0
FREETDS_VERSION=0.64
MING_VERSION=0.3.0
GETTEXT_VERSION=0.17
OPENSSL_VERSION=0.9.8g
MYSQL_VERSION=5.0.75
XDEBUG_VERSION=2.0.3
# version for extensions
MEMCACHE_VERSION=3.0.1
FILEINFO_VERSION=1.0.4
UPLOADPROGRESS_VERSION=0.9.2
APC_VERSION=3.1.2

Please comment if you find this build script usefull.

edit: updated this blogpost with the new url's (thx @ alain)

Kommentare (5)  Permalink
1-4/4