PHP Syck,part 2

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
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • DZone
  • FriendFeed
  • Reddit
  • Tumblr
  • Twitter
Liked this post? Follow me on twitter:@jimi_dini.

  • http://www.developercast.com/2007/03/08/alexey-zakhlestins-blog-yaml-talk-phpthinktank/ developercast.com »Blog Archive »Alexey Zakhlestin’s Blog:YAML Talk (PHPThinktank)

    [...] You can check out the log of the discussion for his entire talk (covering topics like what YAML is,where to get more information on it,some of its features,and a mention of the Syck library for parsing it). «Zend Developer Zone:Two Security Tips –Naming Scheme &Input Filtering [...]

  • http://www.momolog.info/ Aljoscha

    Nice work!
    Is there a way do the opposite,that is:serialize PHP structures into YAML?
    As I can geuss from the source there is jsut syck_load for now,would it be tiresome to add a save method?

    Cheers,
    Alex

  • http://indeyets.pp.ru/ indeyets

    Aljoscha:that’s in the plans :)

  • http://blog.milkfarmsoft.com/?p=57 Alexey Zakhlestin’s blog »YAML:Syck for PHP is not read-only anymore

    [...] take a look at my previous yaml-post for installation instructions. [...]

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.