Re: [PHP-DEV] Building extension for Mac OS X

2005-09-23 Thread D. Walsh
On Sep 23, 2005, at 03:00 AM, Fredrik Olsson wrote: Hi. As you replied to my e-mail I guess it is ok to do the same. Just a shame that a possible solution will not remain in the list for others to see :/. unfortunately the list doesn't tag the reply to so hitting reply goes to the send

Re: [PHP-DEV] Building extension for Mac OS X

2005-09-22 Thread Fredrik Olsson
Rasmus Lerdorf skrev: Fredrik Olsson wrote: No problem, my guess is that #include "php.h" for some reason uses the php4 header file. How do I force phpize, ./configure, #include "php.h" etc, to use the installed php5 files (All residing under /usr/local/php5)? How about: /usr/local/php5/

Re: [PHP-DEV] Building extension for Mac OS X

2005-09-22 Thread Rasmus Lerdorf
Fredrik Olsson wrote: > I use the binary installation of PHP 5.0.4 from > http://www.entropy.ch/software/macosx/php/ > > And a tiny test case trying to introduce the module hello, with the > function hello_world() that simply returns a string. Actually I have > just used copy and paste from this

[PHP-DEV] Building extension for Mac OS X

2005-09-22 Thread Fredrik Olsson
I use the binary installation of PHP 5.0.4 from http://www.entropy.ch/software/macosx/php/ And a tiny test case trying to introduce the module hello, with the function hello_world() that simply returns a string. Actually I have just used copy and paste from this tutorial http://tinyurl.com/ca