Re: [FUG-BR] php5.4 e roundcube

2015-06-17 Por tôpico Fernando Gilli
Em Ter, 2015-06-16 às 19:52 -0300, joao jamaicabsd escreveu:

> Estou passando pelo mesmo problema e não consigo resolver.
> 



Vai depender de que erro está ocorrendo

$ php -m

Da uma olhada no 
$ /usr/local/etc/php/php.ini
$ /usr/local/etc/php/extensions.ini

quais extensoes estao ativas
tambem verifique os pacotes php que estão instalados e se estão na mesma
versão do seu atual php5, php55, php56 ou seja la qual for

$ pkg info php5\*



--
Fernando Gilli









- old text ---


> Em 16 de junho de 2014 09:33, Nenhum_de_Nos 
> escreveu:
> 
> >
> > On Mon, June 16, 2014 07:39, Renato Botelho wrote:
> > > On Jun 16, 2014, at 2:09, Nenhum_de_Nos 
> > 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.13The 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
> > >> "/usr/local/lib/php/20100525-zts/intl.so" in Unknown on line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/ctype.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/ctype.so" in Unknown on line
> > 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/dom.so'
> > >> - Cannot open "/usr/local/lib/php/20100525-zts/dom.so" in
> > Unknown on line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/filter.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/filter.so" in Unknown on
> > line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/hash.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/hash.so" in Unknown on line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/iconv.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/iconv.so" in Unknown on line
> > 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/json.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/json.so" in Unknown on line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/pdo.so'
> > >> - Cannot open "/usr/local/lib/php/20100525-zts/pdo.so" 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
> > >> "/usr/local/lib/php/20100525-zts/pdo_sqlite.so" in Unknown on
> > line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/phar.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/phar.so" in Unknown on line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/posix.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/posix.so" in Unknown on line
> > 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/session.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/session.so" in Unknown on
> > line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/simplexml.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/simplexml.so" in Unknown on
> > line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/sqlite3.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/sqlite3.so" in Unknown on
> > line 0
> > >> PHP Warning:  PHP Startup: Unable to load dynamic library
> > >> '/usr/local/lib/php/20100525-zts/tokenizer.so' - Cannot open
> > >> "/usr/local/lib/php/20100525-zts/tokeniz

Re: [FUG-BR] php5.4 e roundcube

2015-06-16 Por tôpico joao jamaicabsd
Estou passando pelo mesmo problema e não consigo resolver.

Em 16 de junho de 2014 09:33, Nenhum_de_Nos 
escreveu:

>
> On Mon, June 16, 2014 07:39, Renato Botelho wrote:
> > On Jun 16, 2014, at 2:09, Nenhum_de_Nos 
> 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.13The 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
> >> "/usr/local/lib/php/20100525-zts/intl.so" in Unknown on line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/ctype.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/ctype.so" in Unknown on line
> 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/dom.so'
> >> - Cannot open "/usr/local/lib/php/20100525-zts/dom.so" in
> Unknown on line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/filter.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/filter.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/hash.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/hash.so" in Unknown on line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/iconv.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/iconv.so" in Unknown on line
> 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/json.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/json.so" in Unknown on line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/pdo.so'
> >> - Cannot open "/usr/local/lib/php/20100525-zts/pdo.so" 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
> >> "/usr/local/lib/php/20100525-zts/pdo_sqlite.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/phar.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/phar.so" in Unknown on line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/posix.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/posix.so" in Unknown on line
> 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/session.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/session.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/simplexml.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/simplexml.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/sqlite3.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/sqlite3.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/tokenizer.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/tokenizer.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/xml.so'
> >> - Cannot open "/usr/local/lib/php/20100525-zts/xml.so" in
> Unknown on line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/xmlreader.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/xmlreader.so" in Unknown on
> line 0
> >> PHP Warning:  PHP Startup: Unable to load dynamic library
> >> '/usr/local/lib/php/20100525-zts/xmlwriter.so' - Cannot open
> >> "/usr/local/lib/php/20100525-zts/xmlwriter.so" in Unknown on
> line 0
> >>
> >> e não existe /u

Re: [FUG-BR] php5.4 e roundcube

2014-06-16 Por tôpico Nenhum_de_Nos

On Mon, June 16, 2014 07:39, Renato Botelho wrote:
> On Jun 16, 2014, at 2:09, Nenhum_de_Nos  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.13The 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
>> "/usr/local/lib/php/20100525-zts/intl.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/ctype.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/ctype.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/dom.so'
>> - Cannot open "/usr/local/lib/php/20100525-zts/dom.so" in Unknown 
>> on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/filter.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/filter.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/hash.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/hash.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/iconv.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/iconv.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/json.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/json.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/pdo.so'
>> - Cannot open "/usr/local/lib/php/20100525-zts/pdo.so" 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
>> "/usr/local/lib/php/20100525-zts/pdo_sqlite.so" in Unknown on line >> 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/phar.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/phar.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/posix.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/posix.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/session.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/session.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/simplexml.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/simplexml.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/sqlite3.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/sqlite3.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/tokenizer.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/tokenizer.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/xml.so'
>> - Cannot open "/usr/local/lib/php/20100525-zts/xml.so" in Unknown 
>> on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/xmlreader.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/xmlreader.so" in Unknown on line 0
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/local/lib/php/20100525-zts/xmlwriter.so' - Cannot open
>> "/usr/local/lib/php/20100525-zts/xmlwriter.so" 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. 
> Ess

Re: [FUG-BR] php5.4 e roundcube

2014-06-16 Por tôpico Renato Botelho
On Jun 16, 2014, at 2:09, Nenhum_de_Nos  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.13The 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
> "/usr/local/lib/php/20100525-zts/intl.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/ctype.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/ctype.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/local/lib/php/20100525-zts/dom.so'
> - Cannot open "/usr/local/lib/php/20100525-zts/dom.so" in Unknown 
> on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/filter.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/filter.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/hash.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/hash.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/iconv.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/iconv.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/json.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/json.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/local/lib/php/20100525-zts/pdo.so'
> - Cannot open "/usr/local/lib/php/20100525-zts/pdo.so" 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
> "/usr/local/lib/php/20100525-zts/pdo_sqlite.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/phar.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/phar.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/posix.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/posix.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/session.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/session.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/simplexml.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/simplexml.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/sqlite3.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/sqlite3.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/tokenizer.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/tokenizer.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/local/lib/php/20100525-zts/xml.so'
> - Cannot open "/usr/local/lib/php/20100525-zts/xml.so" in Unknown 
> on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/xmlreader.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/xmlreader.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525-zts/xmlwriter.so' - Cannot open
> "/usr/local/lib/php/20100525-zts/xmlwriter.so" 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 todo

Re: [FUG-BR] php5.4 e roundcube

2014-06-16 Por tôpico Otavio Augusto
Fiz duas instalações esta semna do roundcube e nenhuma teve problemas. Php
do ports e ultima versão estável completa do roundcube do site oficial.
Em 15/06/2014 22:49, "Nenhum_de_Nos"  escreveu:

>
> hail,
>
> alguém usando a combinação acima ?
>
> sempre instalo tudo e recebo isso:
>
>  Fatal error: Call to undefined function filter_var() in
> /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php on line 47
>
> e o tal do filter tem já no sistema:
>
> # php -m
> [PHP Modules]
> Core
> ctype
> date
> dom
> ereg
> filter
> gd
> hash
> iconv
> intl
> json
> libxml
> mbstring
> mhash
> mysqlnd
> pcre
> PDO
> pdo_sqlite
> Phar
> posix
> Reflection
> session
> SimpleXML
> SPL
> sqlite3
> standard
> tokenizer
> xml
> xmlreader
> xmlwriter
> zip
>
> [Zend Modules]
>
>
> php tá habilitado no apache já.
>
> preciso fazer algo no php.ini ?
> todos os sites não falam disso. só que tem que ter o filter.
>
> att,
>
> matheus
>
>
> --
> We will call you Cygnus,
> The God of balance you shall be
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
> http://en.wikipedia.org/wiki/Posting_style
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] php5.4 e roundcube

2014-06-16 Por tôpico Fernando Gilli
Lembro que uma vez tive um erro semelhante, acho que andei recompilando
tudo e voltou ao normal.


da uma olhada no php.ini pra ver se tem algo
cat /usr/local/etc/php.ini | grep extension 


tipo
extension = 
ou 
extension_dir = "/usr/local/php5/lib/php/extensions/etc.



minha variavel 'extension' estao todas comentadas

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] php5.4 e roundcube

2014-06-15 Por tôpico Nenhum_de_Nos

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.13The 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
"/usr/local/lib/php/20100525-zts/intl.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/ctype.so' - Cannot open
"/usr/local/lib/php/20100525-zts/ctype.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20100525-zts/dom.so'
- Cannot open "/usr/local/lib/php/20100525-zts/dom.so" in Unknown on 
line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/filter.so' - Cannot open
"/usr/local/lib/php/20100525-zts/filter.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/hash.so' - Cannot open
"/usr/local/lib/php/20100525-zts/hash.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/iconv.so' - Cannot open
"/usr/local/lib/php/20100525-zts/iconv.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/json.so' - Cannot open
"/usr/local/lib/php/20100525-zts/json.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20100525-zts/pdo.so'
- Cannot open "/usr/local/lib/php/20100525-zts/pdo.so" 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
"/usr/local/lib/php/20100525-zts/pdo_sqlite.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/phar.so' - Cannot open
"/usr/local/lib/php/20100525-zts/phar.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/posix.so' - Cannot open
"/usr/local/lib/php/20100525-zts/posix.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/session.so' - Cannot open
"/usr/local/lib/php/20100525-zts/session.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/simplexml.so' - Cannot open
"/usr/local/lib/php/20100525-zts/simplexml.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/sqlite3.so' - Cannot open
"/usr/local/lib/php/20100525-zts/sqlite3.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/tokenizer.so' - Cannot open
"/usr/local/lib/php/20100525-zts/tokenizer.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20100525-zts/xml.so'
- Cannot open "/usr/local/lib/php/20100525-zts/xml.so" in Unknown on 
line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/xmlreader.so' - Cannot open
"/usr/local/lib/php/20100525-zts/xmlreader.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20100525-zts/xmlwriter.so' - Cannot open
"/usr/local/lib/php/20100525-zts/xmlwriter.so" 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


-- 
We will call you Cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] php5.4 e roundcube

2014-06-15 Por tôpico Fernando Gilli
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


Boa Sorte!

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd