Php-install:
I get a blank screen when running the initial PHP tutorial page from the PHP
manual.
Here is what I did:
Installed the php-5.2.6-win32-installer.exe on a 64-bit Vista Business OS.
Configured the installation for the IIS ISAPI module.
Checked the path. (It was correct.)
A blank screen usually means you are 1) not putting anything back to the
screen (Im not familiar with the tutorial you are referring to) or 2) you
have an error but do not have error reporting turned on.
Tommy:
The source for the tutorial is as follows:
PHP Test
Hello World'; ?>
Again, I still get a blank screen.
Any suggestions?
Regards,
William Johnston
From: Tommy Peterson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 9:27 AM
To: William Johnston
Do this file is an html file with an .htm or .html extension? And you are
using php inside it? If so, do you have your server set up to run PHP
against a file with .html/.htm?
I use Apache and you would do this the following way:
AddType application/x-httpd-php .php .htm .html
in the httpd.ini file
The following page might help you better than I can with IIS (I know very
little about it):
http://www.thewirelessfaq.com/what_s_with_the_http_server_mime_types
The file extension is .php.
I simply set the file extension to open IE with open with.
William Johnston
From: Tommy Peterson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 10:39 AM
To: William Johnston
Cc: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] still getting a blan
can u send the source code as u see in your browser
On 10/08/2008, William Johnston <[EMAIL PROTECTED]> wrote:
> The file extension is .php.
>
> I simply set the file extension to open IE with open with.
>
> William Johnston
>
>
>
> From: Tommy Peterson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday,
OK. If you don't have error messages on then I would turn them on to see
what is going on. I ran this and I got "Hello World". Other than that I
don't know what else to suggest.
Hi William.
Try copying this to a file called show-php-info.php:
php-info
Then load that in your browser.
You should see ALOT of PHP information that will help you.
If not, something is not working right.
You could try XAMPP for windows. That might help you get
started. Check out php-de