I have the latest version of the PHP binary. This is working fine under the webserver (and it definitely is the PHP binary working here and not an apache module which is not installed). However under command prompt, a simple hello world script returns this:
PHP Warning: mysql: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=1, thread-safety=0
These options need to match
in Unknown on line 0
Unknown(0) : Warning - mysql: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=1, thread-safety=0
These options need to match
I get the same error for gd and sockets modules as well.
Any ideas?