Alexey Zakhlestin's Blog

Programming for Mac and Web

Lighttpd Package in Fink

Permalink

I have my first package officially included in fink-unstable, today: lighttpd 1.4.13 (it might take several hours before this link will have information).

Feel free to test it and drop a comment to me :) If you are using unstable distribution, it should be as easy as:

fink selfupdate         [to get latest package definitions]
fink apropos lighttpd   [to list all lighttpd modules which are available]
fink install lighttpd   [to install lighttpd-server]

This will install and start up the server (if you don’t have some other webserver on port 80). You will be able to add any modules you need after that. I made separate packages for each of the officially-bundled modules + mod_GeoIP + mod_extforward. If you want more — just let me know.

Modules-configuration is made similiar to apache2 package. There is mods_available folder and there is mods_enabled folder. To enable the module, you just need to create a symlink.

The only piece of functionality which is not enabled is memcached support (in mod_cml and mod_trigger_b4_dl), as it requires an additional dependency which waits for validation by fink’s moderators.

I am thinking about adding some package to enable lighttpd+mod_fastcgi+php5 setup automatically, but I haven’t figured out how to make it “beautiful enough” :)

For now, php support can be added manually (see corresponding lighttpd docs)

p.s. Yes, I know that 1.4.15 is already out. Unfortunately, it takes some time to pass the initial validation. Updates would be faster, I hope :)

Opera 9.20beta

Permalink

Opera 9.20 beta is released. You can get it at Opera Labs. I’ve been using it for several days now — really nice build.

Speed Dial is a killer-feature. I don’t need “Personal toolbar” anymore

Yaml Talk

Permalink

I gave a little talk at #php.thinktank today about YAML, php and my latest work in this regard. It happened a bit of spontaneously, so noone was invited. It was my first try, to make introduction to yaml for php prgrammers, and if there is more interest I will give another talk which will cover more details, this time with proper scheduling :)

You can find irc-transcription here and if you find it interesting, drop me a note

PHP Syck, Part 2

Permalink

Yesterday I wrote about updating PHP’s YAML-parsing extension — Syck.

Some updates:

  • I believe, I fixed all memory leaks, it had (They were quite large, must tell you)

  • Why (Syck’s author) told me, that there will be new release in a month or so, which will include my patches

Until then, I encourage you to build php-extension using sources from subversion

Instructions (for those who need them):

  1. Install Syck-library using your favorite package-manager (stable 0.55 version will do)

  2. svn export http://code.whytheluckystiff.net/svn/syck/trunk/ext/php/ syck-php

  3. cd syck-php

  4. phpize

  5. ./configure

  6. make

  7. sudo make install

  8. add extension=syck.so to your php.ini file

  9. restart apache or fastcgi processes