[FUG-BR] php5.4 e roundcube
Fernando Gilli
fernando em wekers.org
Quarta Junho 17 04:38:10 BRT 2015
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 <matheus em eternamente.info>
> escreveu:
>
> >
> > On Mon, June 16, 2014 07:39, Renato Botelho wrote:
> > > On Jun 16, 2014, at 2:09, Nenhum_de_Nos <matheus em 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
> > >> "/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 todos os mósulos
> >
> > pois é.
> >
> > estou vendo isso. mas já tirei esse zts no mod_php, do php em si e ainda
> > compila com :/
> >
> > In file included from
> > /usr/ports/www/mod_php5/work/php-5.4.29/Zend/zend_compile.h:690,
> > from
> > /usr/ports/www/mod_php5/work/php-5.4.29/Zend/zend_modules.h:26,
> > from
> > /usr/ports/www/mod_php5/work/php-5.4.29/Zend/zend_globals.h:36,
> > from Zend/zend_ini_scanner.l:27:
> > /usr/ports/www/mod_php5/work/php-5.4.29/Zend/zend_vm_opcodes.h:168:7:
> > warning: no newline at end
> > of file
> >
> > na config do mod_php tá sem. na config do php tb.
> >
> > vou testar e compilar até o fim assim.
> >
> > obrigado vocês :)
> >
> > 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
> >
>
>
>
-------------- Próxima Parte ----------
Um anexo não-texto foi limpo...
Nome: signature.asc
Tipo: application/pgp-signature
Tamanho: 181 bytes
Descrição: This is a digitally signed message part
URL: <http://www.fug.com.br/historico/html/freebsd/attachments/20150617/b27acc83/attachment.bin>
Mais detalhes sobre a lista de discussão freebsd