Re: Creating DLL files for PHP4

From: Date: Thu, 16 Nov 2000 17:33:15 +0000
Subject: Re: Creating DLL files for PHP4
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-25736@lists.php.net to get a copy of this message
If you want to write your own PHP Extension (.dll for Win or .so on Linux), you might want to look at http://www.zend.com/apidoc/ and read the documentation. You should've figured it out quite easily after reading the docs and maybe you should look at http://www.zend.com/apidoc/examples.tar.gz (these are the examples). Hope this helps, Lorant ----- Original Message ----- From: "Steve Driver" <steve@musicgrab.com> To: "Paulson, Joseph V. "Jay"" <jay.paulson@viatel.com>; <php-general@lists.php.net> Sent: Thursday, November 16, 2000 6:18 PM Subject: Re: [PHP] Creating DLL files for PHP4 > I've also been looking for some info on this for a while now. Does anyone > have a simple example of how to create a DLL for PHP, or any documentation? > > I've tried looking at the PHP source but can't seem to work it out. I've > also searched through the mailing list archives etc but have found nothing. > > Thanks, > Steve > > ----- Original Message ----- > From: "Paulson, Joseph V. "Jay"" <jay.paulson@viatel.com> > To: <php-general@lists.php.net> > Sent: Wednesday, November 15, 2000 11:11 PM > Subject: [PHP] Creating DLL files for PHP4 > > > > I want to take some C code and create a dll file that will be interpreted > by > > php 4.0.x as a php library (i.e. php_myphplib.dll). What I need to know > are > > the steps taken to make the library recognized by php in both the dll > > definition and implementation. > > > > I have downloaded and tried to use libmcrypt.dll which is supposed to > > implement the mcrypt functions. I have tried dl("libmcrypt.dll"); and > > extension=php_mcrypt.dll and I get the following: > > Warning: Invalid library (maybe not a PHP library) 'libmcrypt.dll' > > So, I know there is something specific to the dll file that allows it to > be > > interpreted by php. > > > > Any information such as a tutorial, tips, examples, or anything would be > > great. > > > > Thanks, > > Jay Paulson > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#25736) next »