I have a nice drupal 10 site developed on my local machine. Problem arose when I uploaded it to production server. For some reason, it would not install and instead I got this crypic message re: php extensons.
Disabled
Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information):
dom
gd
SimpleXML
xml
I have searched and searched but all I can find is advice to uncomment gd extension in php.ini file. But what about the rest: dom? simple xml? xml ?
I am fairly experienced but no expert. What I cannot understand is why my site works fine on local machine but cannot be uploaded/installed on production server. Perhaps part of the problem is that nowhere in the uploaded site can I locate a php.ini file (seems to only reside on my Windows C:\php folder. But although I uncommented the gd thing (whatever that is) there was no place to uncomment/install dom and the rest.
I am desperate for some kind soul to take a minute and explain how I might address this. The stuff I've found on other fora are hoplessly arcane -- I am begging for a simple explanation as to why this has happened (never happend with drupal 8 or 9); and a bit of advice on how to fix it.
Thanks,
TB
Comments
This isn't a Drupal issue.
This isn't a Drupal issue. PHP is required to have various extensions installed, and your PHP instance is missing these extensions. You'll need to talk to your hosting company about how you get these extensions installed.
Because the PHP instance is not the same PHP instance on your remote server. Locally, the extensions you need are installed, they are not on your production server.
Contact me to contract me for D7 -> D10/11 migrations.
Install required PHP extensions
Check out PHP requirements to see which PHP extensions should be installed. See also the Drupal Quick Start Command guide in case you're using Debian-flavor OS, for the command.