Here is the comparison of running Zend/bench.php from the PHP source using VC++ 8.0 (Visual Studio 2005) and VC++ 6.0. The test was done on my Lenovo laptop with Celron M 1.6 GHz processor and 1.5 GB ram.



Second PHP build using the new compiler

Well the first build proved to be somewhat less that a full success. It worked only on one computer: the one that was build on. Since this limits PHP use on the Windows platform I went ahead and read about Microsoft manifest files, SxS (side by side) assemblies and other wonderful stuff that Microsoft has provided for us in version 2005 of their development package.

You should be able to use this package without installing any packages from Microsoft. Normally a VC++ redistributable would be required. Helpful information for those that are wrestling with similar problem is described in MSDN article Deploy using XCopy.

You can download this build from:


First PHP build using the new compiler

I have just completed the first build of the current php-5.2 CVS using the new compiler from Microsoft. The file is avaliable at php-5.2.1RC2-dev-Win32.zip.

Since this is the first build using the new tool set any help in testing it would be greatly appreciated.

UPDATE: Thanks for the feedback. It seems that the binary does not work without the .manifest files being built in into the executables. I'm investigating how to do this with the new compiler.


PECL4WIN adds whole branch dowloads

Several people have mailed me asking if it was possible to download all Pecl4Win extensions for a given branch at once. Now that is possible from the branches page of the Pecl4Win site.

The code was implemented using the new zip extension that has just been promoted to beta. I really liked its OO interface, check it out.


PHP 5.2 support on PECL4WIN

For those that don't know Pecl4Win site provides PHP users on the Windows platform the opportunity do download precompiled PECL extensions.

So far Pecl4Win supported PHP version 4.3.x, 4.4.x, 5.0.x, 5.1.x and 6.0.x. From now on, the site will compile PECL extensions that are compatible with the upcoming PHP 5.2.0 too.

Developers might benefit from compilation logs that can explain why some PECL extension does't compile on Windows, etc.


PHP 4.4.3 for Windows with 5.0.22 MySQL libraries

After the final release of PHP 4.4.3 here are the Windows binaries for those who need PHP compiled against newer version of MySQL libs.

Download: php-4.4.3-w-mysql-5.0.22.zip

The archive contains two files. Both of these files should be dropped in your existing php-4.4.3 install folder overwritting php4ts.dll and adding libmysql.dll.


Winning the hearts and minds of the world...

...one atrocity at a time.

(Satellite photos of Beirut before and after the Israeli bombing campaign. Photos by AP)


New Windows installer for PHP 5.2

One of the cool new things for PHP users on Windows in the upcoming version 5.2 would be a brand new installer. It was created by John Mertic and the preview can be downloaded and tested. Feedback on how well it works is of course very welcome.


Zend propaganda (who is Spartacus)

Here we go again. C|NET news brings an interview with Andi Gutmans which is full of quotes like this:
One partner is Yahoo, which is helping Zend with version 6 of PHP, Gutmans said.
Yahoo helping Zend with PHP 6? Sounds like PHP 6 is a Zend product, doesn't it? The fact is that of more than 100 Zend employees only a couple (on a good day) spend a part of their work day developing PHP 6.

I understand that the marketing machine needs catchy phrases like that but Zend should also be careful about not alienating the PHP community, the main workhorse behind the PHP development. Having articles likes this published time and time again does nothing to improve Zend's standing within the OSS community.

New MySQL client libs in PHP 5.2

We were bundling MySQL 4.1.7 client library with PHP 5 releases up to 5.1.4 on Windows, so it was about time to upgrade to newer version.

PHP version 5.2.0 will contain MySQL client library version 5.0.22.

It is interesting that MySQL claims that you should matching version of your server and the client. Of course this is very impractical, and hopefully not really needed. See MySQL's PHP connectors page for details.

This upgrade sould also help resolve some outstanding PDO bugs.

You can test all this in practice by dow


PHP 4.4 for windows with newer MySQL libraries

Many people still use PHP 4 on windows and have a problem in that it comes with ancient 3.x MySQL client library. Since the main PHP 4 distribution cannot be updated with the latest MySQL libs for various reasons, I will provide downloads of the latest PHP 4 with the latest MySQL libs.

Download: php-4.4.3RC3-dev-w-mysql-5.0.22.zip

The archive contains two files. Both of these files should be dropped in your existing php-4.4 install folder overwritting php4ts.dll and adding libmysql.dll.


Don't buy 3ware SATA RAID cards

They suck. If you have stumbled on this rant via some search engine let me tell you, there is no fix for its performance problems. Junk the card or try to lear to live with it.

I was unfortunate not to do proper research when I ordered 3ware 8506-4LP card last year. I had nothing but trouble since. It takes forever to initialize so if you want say RAID-10 over 4 250 GB disk it would take about half a day. To be fair you can still work with the array, but the performance is going to suffer. I guess I was spoiled by 1 hour array rebuild with IBM ServRaid SCSI RAID controllers.

The worst thing about 3ware cards is catastrophic write perfomance. I could not get the card to write more than 6 MB/s. To add insult to injury just copying files from one dir to another would take the system load to 2. Many people have reported similar issues, its all over the web. 3ware people seem to blame everyone else but their poor design.


PHP 4.4.3RC2 released

Derick Rethans has announced the release of PHP 4.4.3RC2. Both source and windows binary distributions are available. Users of PHP4 should probably test this one carefully since PHP-4.4.3 might end up being the final PHP4 version.


PHP Vikinger

The PHP Vikinger event was a great success. It was skillfully guided by Zak Greant who did such a great job orginizing it.

Since this was the first PHP event I attended and the fist unconference, I cannot really compare with "regular" conferences, but people tell me that PHP Vikinger was more relaxed and informal. I guess that was the meaning since there was no official agenda, no commercial interest behind it, etc.

First thing we did was to pick a list of topics that people would like to present or hear about. I half jokingly proposed "How to prevent Marcus Börger (a.k.a Helly) from turning PHP into Java", but decided against it. I do have a real problem with several descisions made in the last couple of months which make PHP more strict and you will probably be hearing a lot more about those if you ever decide to visit this blog again, but at the end I thougt that I express my opinion on mailing list where it belongs.

One of the topic that I found interesting was proposed by Kristian Köhntopp under the title "Things That Have No Name". I do belive that we have so many wonderful techniques in PHP that do not have name and perhaps naming them would help diminish the perception of PHP being a "toy language". Rasmus Lerdof muttered something about this session should be called "buzzword generation" but the group in general thought it was a great idea to do it.

There were also great sessions on PHP security which seems to be on anyones mind these days. Sebastian Bergmann gave an introduction of PHP Unit and about unit testing in general. I must admit that my knowlege on this topic was pretty thin so I found his talk very informative. I don't know how practical would be to implement unit testing in a company as small as mine is, but one of these I'm going to give it some more serious thought.

The second day was spent in a workshop where there was a demonstraction about the basic rules of developing a bigger project where several programmers are involved. How to determine where are the lines that devide different components, etc. Rasmus was in charge of making the presentation layer where he used the opportunity to demonstrate very good YUI javascript toolkit that allows for easy creation of dialog boxes, use of Yahoo's map API, AJAX connectivity and similar goodies. The end result of this excersise should be the creation of people.php.net which would have a registry of all individuals involved with the project, with their location information, graphical map displays and so on. Ammar Ibrahim promissed he would clean up the code and the CSS so we should be expecting the first version soon.



After living in Denamak for the past 15 years one starts to miss some things. Things like rivers and mountains. Me being from the Balkans, explains it a bit why I would miss such things.

Norway on the other hand is country that has plenty of both. Now that I am hear I wish I had more time to go around the country and see more of its natural beuty.

Last night I attended the Midsummer party organized by Skien Municipality. Lots of people showed up and there was a huge bonfire. All in all I was left with a very pleasent impression of Norway its nature and its people.


Going to PHP Vikinger

I'm boarding a plane to Sandefjord, Norway tomorrow. I will be attending an unconference titled PHP Vikinger. For a long while people were trying to convince me to attend one of many PHP conferences, but I somehow managed not to visit any. I nearly got to Amsterdam last year (had the reservation, plane tickets, etc.) but last minute flue got the better of me so I was unable to go.

This time it looks like I'm going to make it. And I'm looking forward to meeting some of the people I have known for years on the mainling lists and IRC channels.


Started a blog, how original :)

Well, I need to join the 21st century and try to write a note or two from time to time.