rolechka wrote:
Help me please. :'( I have just installed PHP v.5 on Apache v.2. But when try to access a php script via your browser, you get a blank screen. And I don't understand why it happens.
My operating system: Windows XP. SP1. There are no antiviruses or fireworks on my machine. I is in LAN (as in workgroup). php.ini file I have edited and placed it to Windows/System. It was edited as this: ******************************************************************* doc_root = D:\Apache\www
user_dir = D:\Apache\Home
extension_dir = "D:/Apache/php/ext" *******************************************************************
Rolechka,
I'm not going to copy all your email here. I am not used to PHP/Apache on MS Windows but GNU/Linux. I think that either your doc_root and user_dir lines above are wrong or the extension_dir line is. I would expect either the format d:\apache\Home or d:/apache/home, but not mixing the two.
Are you putting a php file in your DocumentRoot, that is d:\Apache\www? If the file were called phpinfo.php then when you point your browser to http://localhost/phpinfo.php do you get a blank page? When you get a blank page, what do you get in your browser if you do a "view source"? It may well be that you have a configuration error and that you are not sending your php file to the PHP parser.
Does an ordinary html file display properly?
Hope this helps
Chris