RE: [PHP-ES] DLL en PHP

From: Date: Thu, 12 May 2005 14:05:32 +0000
Subject: RE: [PHP-ES] DLL en PHP
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-54728@lists.php.net to get a copy of this message
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 <mailto:sergio.saenz@interzona.tv> <http://www.interzona.tv>

« previous php.general.es (#54728) next »