The current GlotPress API documentation (October 2021) was generated by ApiGen. Last commit was made on April 4th, 2016. The last ApiGen commit was made on 23 Apr 2018, so I think this tool is deprecated. Furthermore, I was not able to use it with PHP 7.4 and GlotPress, so I look for another tool. The… Continue reading Documenting GlotPress with phpDocumentor
Tag: php
Using Composer with a different PHP version than the default one
When you execute Composer, it uses the default PHP version. Sometimes, you will have problems if you use Composer with a different version that the one that executes the project.
Install Composer 2 in a machine with Composer 1
In October 2020, Composer 2 was released. In some servers, I have some projects that need Composer 1 and others that need Composer 2. I will go to explain how to have both versions on the same server.
Incrementar el tamaño máximo de subida de archivo en PHP/WordPress
Si te encuentras con un WordPress u otro software PHP con una limitación de tamaño máximo de subida, resolverlo es muy fácil.
PHP en 2020. HacktoberDay
En el siguiente enlace (PDF, 1,67 MB, español) puedes acceder a la presentación «PHP en 2020» del HacktoberDay, celebrado online el 24 de octubre de 2020.
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
Ejecutando en una máquina virtual Linux (Laravel Homestead), obtengo este error:
Cómo localizar fechas y horas en PHP
En un proyecto PHP en el que estoy participando tenemos problemas para mostrar las fechas en el idioma que queremos, en este caso en español. En esta entrada te explico cómo localizar fechas y horas en PHP.
PHP Composer killed
Executing the command in a Laravel Homestead virtual machine with 2 GB of RAM, I can’t finish it because the command stops with the output
Paquetes para una instalación LAMP
En esta entrada detallo los comandos para la instalación de un LAMP en Debian 10, con Apache 2, MySQL 5.7 y PHP FPM 7.4. Parto de la instalación base de Debian 10 que ofrece cualquier proveedor de servicios.
Update Debian to PHP 7.4
PHP 7.4 has been published on 28 Nov 2019. To update the active version of PHP to this one in a Debian system, you can follow the next steps.