Saltar al contenido Saltar a la barra lateral
Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Zona horaria del soporte: Asia/Kathmandu (GMT+05:45)

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por rhettY hace 5 meses, 1 semana.

Asistido por: Shekhar Bhandari.

Autor Publicaciones
septiembre 4, 2025 a las 5:09 am #17373083

rhettY

Background of the issue:
I am trying to resolve an issue with the WPML plugin on my site enlace oculto. I've set up the path for opcache.restrict_api as "opcache.restrict_api="/home/admin/domains/antzracing.com/public_html/". I checked the path using the command: [root@server ~]# ls -l /home/admin/domains/antzracing.com/ and verified it with realpath.

Symptoms:
I notice a PHP Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /home/admin/domains/antzracing.com/public_html/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringGettext/Command/CreatePhpFileCommand.php on line 26.

Questions:
How can I resolve the Zend OPcache API restriction issue with WPML?
Is there a specific configuration needed for opcache.restrict_api with WPML?

El tema '[Cerrado] restrict_api issue' está cerrado a nuevas respuestas.