Re: problems with dl()
| From: | Andi Gutmans | Date: | Fri, 04 Aug 2000 19:26:02 +0000 |
| Subject: | Re: problems with dl() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27741@lists.php.net to get a copy of this message | ||
At 07:57 AM 8/4/00 -0700, Rasmus Lerdorf wrote:
I built my own dynamic loadable module with php-4.0b4pl1 and it worked well with Apache+this PHP. And now I installed Apache+php-4.0.1pl2 and when function dl(uu.so) is called this warning appears: Warning: uu: Unable to initialize module Module compiled with debug=255, thread-safety=255 module API=0 PHP compiled with debug=0, thread-safety=0 module API=20000609 These options need to match in /usr/local/apache/htdocs/encodetset.php on line 2 This means pretty much exactly what it says. You compiled your extension in debug mode and ZTS mode and you are trying to load it into a non-debug, non-ZTS version of PHP.Actually I think you are very wrong there. It is not possible for debug to be 255. It is either 0 or 1 so he probably has some kind of build/include problem there. My suggestion is not to copy calender's setup but use ext_skel to create an empty one and try and move your stuff over. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/