Page 1 of 1

.SO or .DLL files

Posted: Tue Mar 25, 2003 11:12 am
by rodrigocaldeira
Hi everyone,


how can I to make a .SO or .DLL file from a .PHP file? Is it possible?


Thanks!!

Posted: Mon Mar 31, 2003 10:09 pm
by fractalvibes
Don't know what a .SO file is. DLLs are usually created using something like VB or C++, or another Com-compliant language. I use VB mostly for this, and sparingly, as DLL-Hell is an all to familiar place....

Phil J.

Posted: Mon Mar 31, 2003 10:21 pm
by Stoker
.so is "shared object", just as dll, and I believe .so's has been in existence a lot longer than William Gates..

VB can not make real DLL's, it only creates so called ActiveX-dll's, which depend ond the VB-runtime environment to stick around... Usually libraries are made with compile-to-binary-before-use languages like C and Pascal.

As far as I know there is no such compiler/utility for PHP, Zend has their optimizing and encoding software that I believe creates som bytecode (something inbetween) that may help quite a bit on performance...

Posted: Wed Apr 02, 2003 1:12 pm
by rodrigocaldeira
Hi,

I saw the PHP source code, and there is a ext_skel file. This file creates a skeleton of a PHP extension. So, my problem is now how to create a PHP extension from the skeleton, but to do this I need to learn C.


Thanks