Hey all, first of all this software is awesome and I we’ve used it before. We now have migrated our development/production equipment to other hardware and had to re-install Scriptcase.
I can log in, make a project and everything just fine, but when it comes to making a new connection I get an error even though MYSQL-PHP is installed/enabled:
Connection Error
The PHP extension mysql must be enabled to access this database.
This is a Linux Debian Lenny build with with MYSQL built into the PHP5 install, yet we get this error. Anyone have any ideas?
Re: The PHP extension mysql must be enabled to access this database.
Yes,
/etc/php5/apache2/php.ini :
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
extension=mysql.so
extension=mcrypt.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
Re: The PHP extension mysql must be enabled to access this database.
To make a long story short, we ended up doing a clean install and were also informed that Zend won’t work with the most recent version of PHP 5.3, you have to downgrade to PHP 5.2 and we were able to configure Zend correctly.
Also, Zend diagnosis is checking for version 4.1, we have version 5.1 (as a result of Scriptcase install) but the environment was functioning correctly. May want to make note of this whoever gets this information and passes it on to engineering.
We’re up and working for the most part, the only diagnosis issue we have right now is environment permissions which is how we actually ended up doing a clean install to begin with. Accidently chmoded root of the Debian box and basically locked everything out, and since it’s a new box it hasn’t been configured for regular box.
Any known common problems on the permissions? The permissions on the opt folder should be set so they can be manipulated.
Re: The PHP extension mysql must be enabled to access this database.
The reason why Zend v4.1 isnt ok in diagnosis file is because in Zend Server CE you dont use the zend optimizer, instead of Zend Optimizer, you need to enable in Zend Server configuration the Zend Loader, to load the encrypted files. This is been told in webhelp.