On Sat, 2005-01-22 at 14:30, Stephen Wan wrote: > I am a beginner... > I have windows xp on my home computer. > I just installed apache and mysql on it > when I install php 5 on it(windows binary installer) > and use apache as http server, > it gave me a error message that it can not write to > httpd.conf file, > I use localhost , > could some of your guys stop laughing and give me a hand? > thanks!!
Stephen, I'm not laughing, we were all beginners once. If your webserver is complaining that it cannot write to the httpd.conf file then there is something seriously wrong. The httpd.conf file is the basic Apache httpd configuration file and the only thing writing to that should be you. And only then when and if you wish to change something about your configuration. I feel we need to understand a little more about how you get this error. I suggest a good initial test is to put a little file (call it phpinfo.php) in your webserver document_root. In the file should be just: <?php phpinfo(); ?> and nothing else. If you then point your web browser at http://localhost/phpinfo.php if it is working you should get quite a big page with lots of information about your setup of php. Otherwise, what are you doing _exactly_ when you get the error message about not being able to write to httpd.conf? I do not use php under MS Windows so I may not be the best person to help, but I'll try. There is a specific php-windows list but I do not think we are at that stage yet, I think it is a little more basic than a MS Windows specific difficulty. Hope this helps Chris