[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Registry Batch file for Windows 2003 and PHP5 configuration

Posted on 2009-02-24
Medium Priority
Last Modified: 2013-11-10
We are running Windows 2003 Server and PHP5.  We understand how to make a change for PHP for a specific domain in the registry but if we have 1000 domains is this the best way to make a batch file below and I can use word to Export the IIS 6.0 list and then import the domains?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\E\Hosts\domainname.com]
[HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\E\Hosts\domainname.com]
Question by:cybersharks1
1 Comment
LVL 37

Accepted Solution

meverest earned 1000 total points
ID: 23739164

open regedit, browse to an existing entry, right click it and choose export.

open the exported file in notepad, copy and paste the new values, save.  double click the .reg file to add those entries to the registry.

warning: using the system registry.... yada yada (you know how it goes ;-)


Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question