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

Posted by J.O. Aho on 01/06/08 21:28

Chris wrote:

> 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.

I assume this works on your home machine.
You running the same OS on both machines?


> 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?

No you shouldn't have to do that. PECL is a common tool to add extra
extensions to a current installed PHP
You will need to restart Apache before the new settings will be enforced.


> (The installation of Apache/PHP on the server
> is binary only. I did not build it from source there.)

If your extension is dynamically linked, then it can be that the location of
those libraries are different on the two machines, try to compile a static
version instead.


--

//Aho

 

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

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