look for a hidden file extension of txt on the end of your php script 
filename.

Ed Harris wrote:

> I've seen this problem posted many times but with few responses. Assistance
> would be greatly appreciated.
> 
> When I attempt to open the standard test PHP script containing in the Apache
> htdocs directory:
> <? php_info(); ?>
> I get a blank screen in the browser. A view source does reveal the code. PHP
> docs say this means the web server did not send the script to php for
> interpretation. So I have gone over all the needed settings in both the php
> docs and the Apache docs. All is as it should be.
> 
> The Apache server tests as fully functional when doing a http://localhost in
> the browser.
> 
> I will list what I have done and perhaps someone may see what I have missed:
> 
> 1) Php is extracted into the C:\php directory.
> 1b) Apache is installed into the c:\apache directory.
> 2) "php.ini-dist" has been renamed "php.ini" and placed in the "c:\windows
> directory" per Win98 instructions.
> 3) The "php.ini" file was edited to change the 'extension_dir' setting to
> point to c:\php
> 4) The php.ini file was edited to set the 'doc_root' to point to
> "c:\apache\htdocs" (this is the installed location)
> CHANGES TO THE APACHE CONFIG FILE:
> ScriptAlias /php/ "c:/php/"
> AddType application/x-httpd-php .php
> Action application/x-httpd-php "/php/php.exe"
> 5) moved "php4ts.dll" to the windows/system directory (Win98)
> 6) Added to Apache config: LoadModule php4_module c:/php/sapi/php4apache.dll
> 7) Added to Apache config: AddType application/x-httpd-php .php
> 
> Done.
> I REALLY WOULD APPRECIATE THE HELP OF AN EXPERIENCED INDIVIDUAL. I have done
> all that the documentation says to do, and beyond that I have no idea.
> 
> Ed



-- 
+----------------------------------------+
| Julie Meloni ([EMAIL PROTECTED])     |
|                                        |
| "PHP Essentials" and "PHP Fast & Easy" |
|       http://www.thickbook.com         |
+----------------------------------------+


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to