Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Phpinfo() not working..for new guy

0 views
Skip to first unread message

Hyte News

unread,
Nov 15, 2002, 1:00:39 AM11/15/02
to
I attempted to start learning PHP two days ago and can't get past the
test.php example. Something is not configured right in php and I hoped
someone could help.

This is what I have.
Windows ME with PWS 4
PHP4
and MySQL which I haven't gotten far enough to test yet.

The simple example to test if PHP is working is <? phpinfo() ?> Saved as
test.php it should return a configuration table in my browser, (MSIE6) but
doesn't.

What I see is, a DOS window opens and tons of code flies by, then the window
closes. The Browser home page does not even change.

I had to manually go into the Registry to set PHP as the associated app to
handle .php because our printing software registered .php already. I tried a
google search of this news group and couldn't narrow it enough to find
anything helpful.

Any Ideas?

Rand


Matt Mitchell

unread,
Nov 15, 2002, 1:06:10 AM11/15/02
to
Hyte News wrote:

> What I see is, a DOS window opens and tons of code flies by, then the
> window closes. The Browser home page does not even change.
>
> I had to manually go into the Registry to set PHP as the associated app to
> handle .php because our printing software registered .php already. I tried
> a google search of this news group and couldn't narrow it enough to find
> anything helpful.
>

Windows thinks that you want the .php file to open using the php app, rather
than displaying it in the browser...maybe...

Are you sure you're accessing the file as http://somehost/test.php, rather than
c:\webroot\test.php (or similar)?

Hyte News

unread,
Nov 15, 2002, 10:45:19 AM11/15/02
to
Your emphasis on accessing the file from http://host/test.php made me think
that I should move the script into the webroot, which I did and then enabled
permissions on webroot. It now works.

I thought enabling executing rights on webroot is a security problem.
Shouldn't I be able to access all scripts from c:\inetpub\scripts\*

Thank You for your help, can people really learn this in just a week, like
another recent post said?

Any other suggestions for learning resources? I just bought PHP and MySQL
web development by SAMS and I will be working section by section through the
PHP documentation now that you helped me verify that it is working.

Rand

"Matt Mitchell" <ma...@askmenoquestions.co.uk> wrote in message
news:n90B9.6138$dz2.695698@stones...

Mark Tomlinson

unread,
Nov 15, 2002, 11:46:52 AM11/15/02
to
dont know about a week but you're not the only one!!!
I have started with the SAMS and its limited (especially seeing as I'm not a
programmer) but theres plenty of resource on these newsgroups...good luck!

Mark

"Hyte News" <firstnam...@myisp.net> wrote in message
news:uta52rm...@corp.supernews.com...

0 new messages