Magento GCP Migration API
Magento GCP Migration API
PHP8.1-FPM
Nginx
i. /var/www/html/magento-api/services/Configuration.php
DB Credentails (SLAVE DB)
define ("MAGENTO_DBNAME","");
define ("MAGENTO_DBUSER","");
define ("MAGENTO_DB_PASSWORD","");
define ("MAGENTO_DBHOST","");
Redis Credentials
define ("CACHE_HOST", "");
define ("REDIS_PASSWORD", "");
Profile Redis Credentails
define ("PROFILE_CACHE_HOST", "");
define ("PROFILE_REDIS_PASSWORD", "");
define ("PROFILE_DB",0);
CMS Endpoint
define ("CMS_PDP_API","https://cms.apollo247.com/api/medicine/search-detail");
Turret Endpoint
define ("TURRET_ENDPOINT","https://search.apollo247.com/");
ii. /var/www/html/app/etc/env.php
DB credential
'host' => '',
'dbname' => '',
'username' => '',
'password' => '',
short_open_tag = On
extension=elastic_apm.so
elastic_apm.server_url="http://apm.qa.apollo247.in:8200"
elastic.apm.secret_token=""
elastic_apm.service_name="magento-pp"
/etc/php/8.1/cli/php.ini
short_open_tag = On
/etc/php/8.1/fpm/pool.d/www.conf
For 8CPU & 32GB RAM
pm.max_children = 793
pm.start_servers = 198
pm.min_spare_servers = 198
pm.max_spare_servers = 594