VPHP on Leopard issues
Ruslan Zasukhin
sunshine at public.kherson.ua
Sun Mar 9 06:33:02 CDT 2008
On 3/6/08 3:29 PM, "Danny Lewkin" <daniel.lewkin at cognosis.be> wrote:
> I'm trying to get VPHP 3.5.3 started, but i get an error in the apache log :
>
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/lib/php/extensions/php_5_valentina_fat.so' - (null) in Unknown on line 0
>
> VPHP won't start...
Hi Guys,
I have kill almost 3 days on this issue, slowly moving to understanding.
* at first I have enable as you PHP from 10.5
* yes it not loads VPHP and show above error, which not explains nothing.
* later I have recall that exists PHP CLI way. So I did run
/usr/libexec/php from terminal
And it have expose more details:
cannot start because cannot link to function _OnUpdateString
* after hours of reading inet and research, I get info that
* this is PHP itself method.
* VPHP uses it in the single place.
* most other extensions use it also.
* I have try comment that place but then _zend_XXXX functions
complained.
so totally mess...
* it is fun that PHP CLI cannot load even phpcups.so !!!!
although it must!
---------------------------------------
And at last of end Aha, bingo.
It is APPLE fault IMHO.
I have go back to 10.4 and did
nm /usr/local/php5/bin/php
And wow. Here I see all these methods
_OnUpdateString
_zend_XXX
But if you do the same for Leopard's
nm /usr/bin/php
There is no such methods.
So resume is:
Apple's build of PHP included into OS X 10.5 is not good.
It seems it is compiled not friendly to extensions.
SOLUTION:
1) PHP built by Entropy guys. But bad news.
Leo is so many months ON, and they still do not have
PHP package for it. I have read on their forum and other forums
that people have a lots of problems with PHP on Leo and even
mySQL module and other PHP related staf.
2) Spend time and efforts to build PHP self from sources.
on forum of Entropy exists tips as I see how to do this.
3) do not touch Leo for PHP development until Entropy guys resolve it.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list