FAQ
hola compañeros,

he estado googleando y no encuentro nada de como crear y registrar
componentes DLL en php. Alguien tiene una buena dirección o algun manual??

saludos


Sergio Saenz
Departamento de Desarrollo
sergio.saenz@interzona.tv

Search Discussions

  • Sergio at May 12, 2005 at 2:17 pm
    hola a todos

    ya he tomado una decisión con respecto a las DLL. No las voy a utilizar . He
    conseguido varias respuestas y las voy a postear aqui, siento que esten en
    ingles pero no creo q sea muy dificil de entender, si alguien no lo ve claro
    que me lo comente y lo traduzco

    ############################################################################
    ################################


    If you insist on compiling your PHP code into DLLs, consider
    this:

    1. DLLs are platform-dependent. You can only use them in
    under one OS. DLLs compiled under Windows will not work
    under Linux and vice versa.
    2. Installation of DLLs requires root-level privileges on
    the host machine.
    3. While it is possible to compile PHP into DLLs (Phalanger
    can do that), there is no guarantee that those DLLs
    will be usable by PHP. In fact, PHP has a rather
    strict set of requirements as to how extension libraries
    should be written. DLLs compiled by Phalanger, in contrast,
    are meant to be used by .NET languages, not PHP...


    technically you could create DLLs in PHP (as PHP allows you to write files
    in binary mode), but basically youd also need to write a compiler 8-)
    There is no point though, when plenty of other languages and compilers offer
    DLL creation. Use the right tool for the job - PHP is not the right tool
    for generating compiled code

    Cheers,
    NC


    Sergio Saenz
    Departamento de Desarrollo
    sergio.saenz@interzona.tv
    <http://www.interzona.tv>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-general-es @
categoriesphp
postedMay 12, '05 at 11:19a
activeMay 12, '05 at 2:17p
posts2
users1
websitephp.net

1 user in discussion

Sergio: 2 posts

People

Translate

site design / logo © 2022 Grokbase