By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,729 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,729 IT Pros & Developers. It's quick & easy.

Problem getting started

P: n/a
Hi - I was just wondering if anyone can just help me get started with
PHP (with My SQL).

I've installed these on my home PC (together with Apache web server as
a local host), but when I navigate to the "test.php" file in my
browser, I just get the file opening in Notepad. I'm sure it was
appearing in the browser correctly last week when I tried.

Any ideas? I'm pretty sure I've configured the Apache httpd.conf file
correctly. My SQL starts on StartUp (showing as a green light in the
system tray) so that can't be the problem - and http://localhost is
displaying the Apache test page ok in the browser.

Thanks

Tim
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Assuming you have setup apache allright to cooperate with php I assume
you try to retrieve the file via file:// protocol instead of http://
protocol. (make sure you have the php file in the documentroot of the
webserver).

Mark

Ivory Tinkler wrote:
Hi - I was just wondering if anyone can just help me get started with
PHP (with My SQL).

I've installed these on my home PC (together with Apache web server as
a local host), but when I navigate to the "test.php" file in my
browser, I just get the file opening in Notepad. I'm sure it was
appearing in the browser correctly last week when I tried.

Any ideas? I'm pretty sure I've configured the Apache httpd.conf file
correctly. My SQL starts on StartUp (showing as a green light in the
system tray) so that can't be the problem - and http://localhost is
displaying the Apache test page ok in the browser.

Thanks

Tim

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.