Set up subdomain in apache conf
<VirtualHost *:80>
ServerName example.com
DocumentRoot "/www/example.com"
<Directory "/var/www/example.com">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wordmap.example.com
DocumentRoot "/var/www/wordmap.example.com"
ErrorLog "logs/wordmap-error_log"
<Directory "/var/www/wordmap.example.com">
Require all granted
</Directory>
</VirtualHost>
Run certbot (which calls letsenvrypt) and choose the subdomain (with www.)
certbot -apache
Restart apache
sudo systemctl restart httpd
uncomment/add the following in php.ini
extension=curl
On Windows:
Download a cacert.pem (certificate authorities file).
Place it in php folder.
Add its address to php.info.
Example:
curl.cainfo=c:\tools\php-8.2.1\cacert.pem
On Linux
sudo yum install php-json
On Windows:
Check PHP version using phpinfo()
Download an place apcu binary for your specific version of PHP in php/ext folder.
In php.ini
place
[apcu]
extension=php_apcu.dll
apc.enabled=1
apc.shm_size=32M
apc.ttl=7200
apc.enable_cli=1
apc.serializer=php
On Linux (Red Hat): Use Pear/PECL pkg manager.
sudo yum install php-devel
sudo yum install php-pear
sudo pecl channel-update pecl.php.net
sudo pecl install apcu
Add following to php.ini
extension=apcu.so