I’m not sure if this is normal behavior, I’m pretty new to Virtualmin, but when I’m creating a new virtual server I get a new php.ini file in the directory of the new virtual server. Etc. /home/virtualserver/etc/php5/php.ini
I am trying to get PHP GD running on my system. I have installed it and it should be working fine, but when I am trying to execute a GD function on the new virtual server, it’s not working. I also cannot find information about GD in phpinfo() if I run that.
Yet, if I run yum install php-gd on my server, it tells me it’s already installed.
Yes in /etc/php.d/ there is a file called gd.ini which contains the line you mention.
I think I’ve now broken something. I decided to remove httpd and php then reinstall it, but I think this has broken Virtualmin now. Whilst it is still running and showing my virtual servers, they are no longer working when I visit the URL’s. I’m guessing it’s because the httpd.conf will have been restored to default, do you know how I can restore this?