Re: Renaming and Moving php.ini and php4ts.dll Files

From: Date: Tue, 13 Jan 2004 23:13:54 +0000
Subject: Re: Renaming and Moving php.ini and php4ts.dll Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174494@lists.php.net to get a copy of this message
Depends on how you/they install it... If you run PHP as Apache/Isapi module, php.ini should be located in \windows, and php4ts.dll should be placed \windows\system32 (nt/2k/xp) or \windows\system (9x/me), however, I suggest you only copy it there, and leave a copy where you found it... Accutually, my system32 dir does not contain a php4ts.dll... The only place that file is located for me is in C:\php.. And suddenly, you find yourself configuring the preconfigured package manually anyway... : ) Oh, and btw, in windows explorer, select tools->folder properties (something like that, my XP is swedish so I'm guessing on translations), goto the second tab (display or something)... Here's my suggested settings: .... Hidden files and folders (*) Show hidden files / folders ( ) Don't show [ ] Hide extensions for known filetypes [ ] Hide protected system files .... .... [x] Display the contents of system folders .... The ones I didn't mention isn't really important in my opnion, at least not for now... If you have those settings, you should be able to locate php.ini if you get complaints about already existing... You might get some warnings about showing some files, but unless you plan on going into the system folder, open up some random file, change the content and save it, you can ignore those warnings... I mean, you wouldn't edit any of those if you didn't know exactly what you were doing, right? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Freedomware" <david_blomstrom@yahoo.com> skrev i meddelandet news:20040113223330.51882.qmail@pb1.pair.com... > I have PHP installed on Windows XP Pro as part of a preconfigured > package (XAMPP). I'm reading a book about installing and configuring PHP > which says I should rename the php.ini-dist file to php.ini and move it > to the Windows directory and move the php4ts.dll file to Windows\System\ > > I found php4ts.dll and moved it, but when I try to rename php.ini-dist > to php.ini, it says that file already exists - even though I can't see it. > > So I moved it to Windows\System\, THEN renamed it - but I got the same > message. But I can't see php.inin in Windows\System\ either. > > I'm wondering if I should have left these alone since they're part of a > preconfigured package and are supposed to be where I found them.

« previous php.general (#174494) next »