ID:               17467
 Comment by:       tim at stephandtim dot com
 Reported By:      tim at zero-interactive dot com
 Status:           Bogus
 Bug Type:         XSLT related
 Operating System: Win 2K
 PHP Version:      4.2.1
 New Comment:

I had this same error -- Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP    compiled with module API=20010901, debug=0, thread-safety=1
These options need to match
.

My situation was that I had just installed PHP 5 on a Windows 2000
server running IIS(replacing PHP 4.x).
This error came up because I chose to keep my existing php.ini file,
instead of having a new one created on the installation process.
I know this thread is a little old, but maybe it will come up for
people on searches who are in the same boat as me.


Previous Comments:
------------------------------------------------------------------------

[2002-05-29 01:15:10] [EMAIL PROTECTED]

User error => Bogus

------------------------------------------------------------------------

[2002-05-28 19:20:10] tim at zero-interactive dot com

Ok, I feel like an idiot now.  I was using an old copy of php4ts.dll 
It all works fine now that I've copied the correct version across.

Thanks

I dont seem to be able to edit my submission, so I've had to add it as
a comment.  Can you please close this for me becuase the site wont let
me change the status.

------------------------------------------------------------------------

[2002-05-28 07:51:51] [EMAIL PROTECTED]

Make sure there are no duplicates of any php related file, like the
files in the dlls folder and php4ts.dll.

------------------------------------------------------------------------

[2002-05-28 01:36:57] tim at zero-interactive dot com

Strangely enough, the extension still loads and runs ok as far as I can
tell.  It's just those annoying popup messages that appear when the web
server is started and the errors is generates in the event log.

------------------------------------------------------------------------

[2002-05-28 00:59:36] tim at zero-interactive dot com

Running Apache 2.0.36 with PHP 4.2.1 on Win 2K Pro doesn't allow you to
load the xslt extension.  PHP is running using the php4apache2 filter. 
The PHP distro is the windows zip binaries.  This is the error that
appears in the Windows Event log:

Application popup: Warning : xslt: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP    compiled with module API=20010901, debug=0, thread-safety=1
These options need to match

I have copied the dlls directory to the system32 dir and also have my
extention_dir set to the correct position.

The error appears everytime that I try to start apache.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17467&edit=1

Reply via email to