.SO or .DLL files

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
rodrigocaldeira
Forum Commoner
Posts: 27
Joined: Wed Mar 05, 2003 6:40 pm
Location: Brazil
Contact:

.SO or .DLL files

Post by rodrigocaldeira »

Hi everyone,


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


Thanks!!
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post 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.
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post 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...
rodrigocaldeira
Forum Commoner
Posts: 27
Joined: Wed Mar 05, 2003 6:40 pm
Location: Brazil
Contact:

Post 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
Post Reply