Connecting to MySql SSL with Zend-Framework

I am new to Zend-Framework, but I managed to create a simple website on my PC with 2 pages displaying the contents of the table in the local database. The problem is that when I installed the site on the server, it did not work, because on the production server, the connection to the local mysql server must be established using SSL.

I was looking for keys that I need to add to application.ini to enable the ssl connection, but I could not find them in the ZendFramework documentation. Here is the code of my application.ini

resources.multidb.config.adapter = "pdo_mysql" resources.multidb.config.host = "localhost" resources.multidb.config.username = "Administrator" resources.multidb.config.password = "xxx" resources.multidb.config.dbname = "config" resources.multidb.config.default = true 

Do you know if ZendFramework supports ssl connection with mysql server and how to configure it? if not: is there a workaround?

thanks for the help

+6
source share
1 answer

I do not think it is currently supported. Carl Welch tucked it into ticket # 6140 (see library.diff ), but the changes do not seem to appear in the trunk yet.

I suggest voting for the question (you must first log in).

+1
source

Source: https://habr.com/ru/post/923293/


All Articles