PHP error – Unable to initialize module API=20060613 – 20090626


My PHP on Apache error.log show this message :

PHP Warning: PHP Startup: java: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0

The solution :

uncommented 2 lines in php.ini,
;extension=D:\oss\php-5.3.6\ext\php_java.dll
;extension=D:\oss\php-5.3.6\php5servlet.dll

then restart apache, and the message disappear ^_^

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: