[FUG-BR] php5.4 e roundcube

Renato Botelho rbgarga em gmail.com
Segunda Junho 16 07:39:39 BRT 2014


On Jun 16, 2014, at 2:09, Nenhum_de_Nos <matheus at eternamente.info> wrote:
> 
> On Mon, June 16, 2014 01:46, Fernando Gilli wrote:
>> O filter ta vindo separado agora, entao ve se o filter est� realmente
>> instalado, aqui eu to usando a versao 5.5:
>> 
>> $ pkg info php55-filter
>> 
>> se nao tiver, encontre em /usr/ports/security/php55-filter
>> 
>> 
>> pelo php -m ta habilitado, mas checar mesmo assim no httpd.conf
>> 
>> LoadModule filter_module libexec/apache24/mod_filter.so
>> 
>> 
>> Ultima instancia reinstalar o php extension com o filter habilitado
>> cd usr/ports/lang/php55-extensions
>> $ make config
>> $ make reinstall clean
>> 
>> e
>> 
>> $ apachectl graceful
> 
> opa fernando. agradeço pela atenção.
> 
> eu tenho o php55-filter:
> 
> # pkg info | grep filter
> pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
> php55-filter-5.5.13            The filter shared extension for php
> 
> 
> e tem no apache habilitado tb:
> 
> # cat /usr/local/etc/apache22/httpd.conf | grep filter
> LoadModule filter_module libexec/apache22/mod_filter.so
> 
> 
> mas não vai :(
> 
> agora o que eu vi foi isso:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/intl.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/intl.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/ctype.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/ctype.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-zts/dom.so'
> - Cannot open &quot;/usr/local/lib/php/20100525-zts/dom.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/filter.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/filter.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/hash.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/hash.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/iconv.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/iconv.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/json.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/json.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-zts/pdo.so'
> - Cannot open &quot;/usr/local/lib/php/20100525-zts/pdo.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/pdo_sqlite.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/pdo_sqlite.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/phar.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/phar.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/posix.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/posix.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/session.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/session.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/simplexml.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/simplexml.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/sqlite3.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/sqlite3.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/tokenizer.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/tokenizer.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-zts/xml.so'
> - Cannot open &quot;/usr/local/lib/php/20100525-zts/xml.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/xmlreader.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/xmlreader.so&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/xmlwriter.so' - Cannot open
> &quot;/usr/local/lib/php/20100525-zts/xmlwriter.so&quot; in Unknown on line 0
> 
> e não existe /usr/local/lib/php/20100525-zts, só sem -zts.
> 
> já recomplilei trocentas vezes sem e com zts mas sempre dá isso :/
> 
> valeu,
> 
> matheus

Seu PHP (lang/php) e os módulos estão “despareados”. O port principal deve ter sido recompilado depois que todos os módulos já estavam instalados, e a opção ZTS foi ligada. Essa opção muda o diretório onde os módulos são instalados.

Agora pra resolver existem duas opções:

1. Recompila o lang/php sem ZTS
2. Recompila todos os mósulos

[]s
--
Renato Botelho




Mais detalhes sobre a lista de discussão freebsd