Hi,
check if a directory like
/usr/local/lib/php/extensions/
exists and if that directory contains a directory starting with
debug-non-zts-
or
no-debug-zts-
Alternatively, search for such a directory with find and a mask of zts
Then adjust the extension_dir configuration variable in php.ini so that it points to the complete path of that directory.
In my case (php 5.0.3):
/usr/local/lib/php/extensions/no-debug-zts-20041030
Did you compile PHP yourself ? If yes, did you compile any of the extensions with the shared option ?
EDIT:
Alternatively, execute the command
/usr/local/bin/php-config --extension-dir
to get the extension dir and
/usr/local/bin/php-config --version
to get the version
Thomas