I am trying to install freetds and php-mssql in a RHEL5 field. I have successfully done (which seems to be all). However, I get the following error when PHP tries to load a module:
PHP Warning: PHP Startup: mssql: Unable to initialize module Module compiled with module API=20090626, debug=0, thread-safety=0 PHP compiled with module API=20050922, debug=0, thread-safety=0 These options need to match
I pull out my brain, trying to understand why they are of different values, but without success.
In the last attempt, I downloaded the php source for the version I am running (php-5.3.8), went into the ext / mssql folder and ran phpize, configure, make, make install.
I checked that the mssql.so file is in the appropriate folder and this php is trying to download it.
phpize -v Configuring for: PHP Api Version: 20050922 Zend Module Api No: 20090626 Zend Extension Api No: 220090626
source share