You are here: Re: Deploying binary PHP extension « All PHP « IT news, forums, messages
Re: Deploying binary PHP extension

Posted by Chris on 01/06/08 20:57

On 6 Jan, 14:11, "J.O. Aho" <u...@example.net> wrote:
> Chris wrote:
> > I have written a PHP extension that I want to be able to sell (as part
> > of a solution) and deploy in binary form. All examples and tutorials I
> > have found describes the process of deploying open-source extensions.
>
> > I have tried copying the library into the extensions directory defined
> > in php.ini and added an extension entry for it there as well. This
> > does however not appear to be sufficient. Is there any other step that
> > I have missed? Can someone help point me in the right direction?
>
> Check that all the recurred libraries that your extension depends on are
> installed on the machines on which you are installing the extension.
> Also see to that the extension has been compiled against the same minor
> version of php as the one running on the new machine.
> See to that you edit the right php.ini, some systems has two different
> php.ini, one for the web server, another for cli.
>
> --
>
> //Aho

Thanks for the advice.

The current version of the extension has no dependencies on libraries,
so that should not be the problem.

The extension I was trying had been compiled against PHP 5.2.5, while
the server was running 5.2.4. I recompiled for PHP 5.2.4, but that has
not solved the problem.

I also updated ALL php.ini files I could find on the server with the
new settings, but this did not help either.

When I run php_info() I can not see the extension or the extension
parameters. Do I need to reconfigure/recompile PHP in order to start
using a new extension? (The installation of Apache/PHP on the server
is binary only. I did not build it from source there.)

//Christian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация