• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

Registry Batch file for Windows 2003 and PHP5 configuration

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]
1 Solution

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 ;-)

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now