Any Help Or CLEAR phrased guide please
i'm just looking for a good start i've a good C++ background and i would like to write PHP Extensions what are the basic steps?
i've seen a number of guides but all include SO complicated steps
so anyone can clear up the situation for me
Thanks in advance
Basic Steps in writting PHP extension in Ubuntu Linux
Moderator: General Moderators
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Buy Sara Goleman's book "Extending and Embedding PHP". It is a little outdated for Windows (missed all the changes leading up to the release of Vista, e.g. Windows SDK) but otherwise it's a very recent, and very easy to follow book. I've seen people without a big C/C++ background follow it and write basic extensions very quickly. For someone with a strong C++ background it's a goldmine and pretty much the only comprehensive reference on this area.
Since I bought the book I've written several extensions for small things. I have another to write next week to support the Windows Snarl notifier with PHP. The only gotcha, only one I know of, is that Vista is a pain in the posterior to setup. Sara's book doesn't cover Vista (yet), and PHP on my Vista system at least is complaining about an unrecognised command when I try compiling PHP from source using Visual C++ SP1 nmake.
Since I bought the book I've written several extensions for small things. I have another to write next week to support the Windows Snarl notifier with PHP. The only gotcha, only one I know of, is that Vista is a pain in the posterior to setup. Sara's book doesn't cover Vista (yet), and PHP on my Vista system at least is complaining about an unrecognised command when I try compiling PHP from source using Visual C++ SP1 nmake.