Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the feeds-for-youtube domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the instagram-feed domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114
Configurar php.ini por domínio | Empresa Digital

TUTORIAL APLICÁVEL À NOSSA PLATAFORMA EMPRESA DIGITAL

Servidor Linux CentOS 7 com CWPanel Pro

Conheça nossa plataforma EMPRESA DIGITAL.

Para outros sistemas podem ser necessárias adaptações.

No Centos Web Panel cada domínio pode usar uma versão diferente do PHP. Por isso é preciso criar templates e depois atribui-los ao seu domínio.

 

Acesse o diretório abaixo para encontrar o template de acordo com seu servidor web:

 

/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/

 

Faça uma cópia dos arquivos default.tpl e default.stpl com o nome desejado para seu template.

 

Depois acesse o painel e selecione WEBSERVER SETTINGS > WEBSERVERS DOMAIN CONF. . Selecione o template que você criou e clique em REBUILD SERVERS.

Altere as configurações do template referente à sua versão do PHP. Por exemplo, o caminho do PHP FPM 7.2:

/opt/alt/php-fpm72/usr/php/php.ini