Extending PHP
| From: | Gustavo Badauy | Date: | Sun, 09 Jul 2000 16:30:44 +0000 |
| Subject: | Extending PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23931@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to extend PHP, so to have som functions I wrote in C. I've
successfully created it and linked it to PHP4.
When I run phpinfo(), it shows that my extension is loaded and when I change
the PHP_MINFO_FUNCTION(myExtension), it changes ok. When I try to run
confirm_myExtension_compiled, I get an error saying it is not loaded even
though there is an entry on the function_entry array.
When I test for the presence of myExtension using if
(extension_loaded('myExtension')) it works fine.
Does anyone knows a way to allow me to call my functions?
Thanks,
Gustavo Badauy
gbadauy@yahoo.com
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com