For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > June 2004 > Almost installed BUT . . .









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Almost installed BUT . . .
Rich Sias

2004-05-12, 11:44 am

I installed apache 2.0 and PHP5 (and MySQL). All the checks seem to indicate
that all is working fine but for the following that I may be
misunderstanding.

I winexplore to where I have made 1. today.php and 2. welcome.php. When I
double click on them I get a windows popup saying that windows cannot open
this file, what do you wannto do? And wants to set up extension directive.
If I click open with "Internet Explorer" then I get the non-php stuff to
display but the php parts are not showing up.

A. Am I really using the server on my XP machine to play things by clicking
on abc.html files ? How about abc.php files?

B. If something is incorrectly set up, where would I look to check it out
and fix it up ?

I have run many checks and all check out ok. Like php -i, shows all is well
at running. i.e. no errors. I can start and stop apache.

Rich Sias
Amit Arora

2004-06-24, 1:22 am

Did you integrate php into apache by modifying the httpd.conf file ?

If not check http://www.digitalamit.com/article/apache_php_mysql.phtml

else ...

Crate a file named phpinfo.php with the following content

<?php phpinfo(); ?>

Save it in the Document Root folder of apache ....

First start Apache
Then got to the browser and type localhost or ip address of your machine
If a page comes up, then type

localhost/phpinfo.php

and you should see lots of information regarding the php ...

Amit

Rich Sias wrote:

> I installed apache 2.0 and PHP5 (and MySQL). All the checks seem to indicate
> that all is working fine but for the following that I may be
> misunderstanding.
>
> I winexplore to where I have made 1. today.php and 2. welcome.php. When I
> double click on them I get a windows popup saying that windows cannot open
> this file, what do you wannto do? And wants to set up extension directive.
> If I click open with "Internet Explorer" then I get the non-php stuff to
> display but the php parts are not showing up.
>
> A. Am I really using the server on my XP machine to play things by clicking
> on abc.html files ? How about abc.php files?
>
> B. If something is incorrectly set up, where would I look to check it out
> and fix it up ?
>
> I have run many checks and all check out ok. Like php -i, shows all is well
> at running. i.e. no errors. I can start and stop apache.
>
> Rich Sias

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com