rolechka wrote:
----------------------- rest snipped ------------------------------------------Hello, Chris! :)
Thank you for answer, it was pleasantly for me. All html files properly display. But php scripts are not interpret :(. I cheked format of my directory pathes, but this was no avail. Yes, I putted a php file in my DocumentRoot, that is d:\Apache\www. And when I try to access phpinfo.php file, as you recommended, (first, I have created it) I see 500 Internal Server Error, and in Apache log file "error.log" I see "Premature end of script headers: php.exe". Then I reread Install instructions and check php.exe (configuration). I try to do "php.exe -i" in console and no error was, but script rurs(I saw my "Helo, I'm php script" :) ). And in Install guide wrote that in this situation this means that php configuration is OK and I must double check my server's configuration. I done this and all see like OK :(. What happens, I don't understand. :(
If you have some time and wish to investigate you may see taken up file (http.conf). :)))
Rolechka,
What your httpd.conf is missing is anything to tell it what to do with a file with the .php extension. You need to add this line:
AddType application/x-httpd-php .php
and to load the php module (assuming this is as a module)
LoadModule php4_module modules/libphp4.so
This last line you will need to change to point to your php module.
If this does not work I think you need to explain exactly what you _do_ get in the browser, and what view source shows. In you phpinfo.php file put "<?php phpinfo(); ?>" but without the quotes.
Please may we keep this on the mailing list. It may help others to see what the problem you are getting is, and how we try to solve it.
Regards
Chris