• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

custom conf files?

C

cmurphy@

Guest
on linux it was an easy task to use custom PHP settings per domain by using vhost.conf and vhost_ssl.conf.

In windows however, running PHP and Mysql, how does one accomplish this?

One of our clients needs register globals enabled and safe mode true, how is this done in windows?
 
Originally posted by lordElrond
Edit this file:
C:\WINDOWS\php.ini

Well like the subject of the post says "Custom conf files"......lets try again....

You are correct in linux and windows there is a php.ini, however editing this is a global that affects the whole server, hence using the /vhosts/domain.tld/conf directory to use "custom conf files", i.e. vhost.conf and vhost_ssl.conf to make custom changes per domain.

Is this possible with windows and plesk for windows?
 
I guess it is possible thing. You can place php.ini into separate vhost and it should work. At least such mechanism is working at webmail, sqladmin and sitebuilder sets within IIS.
 
Back
Top