Wordpress auto install broken after update

My new domains script now ends with:

Installing third-party scripts …
Installing wordpress version 5.9.3 …
Checking PHP modules …
Installing required PHP gd module …
… could not find domain’s php.ini file

.. done

All done!

 When it is finished the virtual server is built but there is no SQL database installed and nothing at all in public_html.  The rest of the output looks normal... I'll append with it.

 The script itself is fairly out of the box, it changes the allowed IPs on /wp-admin and does not automatically run SSL but the Wordpress adder was a selection.... as I recall, it has been quite awhile since I configured this.

 I am not 100% sure that it was this update that broke things.  I keep up on updates and run them pretty regularly but have not added a new website in several weeks.

 Any insight is much appreciated.

 RJD
SYSTEM INFORMATION
OS type and version Ubuntu20.04lts
Webmin version 1.991
Virtualmin version 7.0-4
Related packages SUGGESTED

Beginning server creation …

Creating administration group battxx24 …
… done

Creating administration user battxx24 …
… done

Creating aliases for administration user …
… done

Adding administration user to groups …
… done

Creating home directory …
… done

Creating mailbox for administration user …
… done

Adding new virtual website …
… done

Adding webserver user www-data to server’s group …
… done

Performing other Apache configuration …
… done

Setting up scheduled Webalizer reporting …
… done

Setting up log file rotation …
… done

Creating MySQL login …
… done

Setting up AWStats reporting …
… done

Setting up password protection for AWStats …
… done

Creating Webmin user …
… done

Saving server details …
… done

Applying web server configuration …
… done

Re-loading Webmin …
… done

Installing third-party scripts …
Installing wordpress version 5.9.3 …
Checking PHP modules …
Installing required PHP gd module …
… could not find domain’s php.ini file

.. done

All done!

I re-read the error this morning with a fresh cup of coffee. Obviously it was telling me that php-gd was not installed. This had nothing to do with the update. It had to do with someone requesting php8.1 on the server recently. This was the first website added since then (so I have php8.0 with gd but my php8.1 did not have it). It was fixed with:

sudo apt-get install php8.1-gd

I shall always post in the newbie section from now on, because duh.

RJD

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.