php-windows Digest 15 Oct 2007 20:02:57 -0000 Issue 3350

Topics (messages 28560 through 28561):

Solved-[PHP-WIN] phpinfo.php file not opening in the browser
        28560 by: Anand Pandey

PHP Install problems
        28561 by: rjdani

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Thanx Viola,
Actually I added one more environment variable named PHPRC and restarted my
system and now all the things are happening in expected manner.

On 10/13/07, Viola Holownia <[EMAIL PROTECTED]> wrote:
>
> Hi Anand,
>
> Have you looked at your apache server log? You can find if whenever
> you installed your server I assume it is under C:/Program Files/Apache
> Software Foundation/Apache2.2/logs/error.log - it will help you to
> debug where the problem might be.
>
> hope that might help,
> all the best
> viola
>
> On 10/12/07, Anand Pandey <[EMAIL PROTECTED]> wrote:
> > I'm a newbie to PHP world. I have installed Apache 2.2.4 and PHP 5.2.4and I
> > have made necessary changes in apache configuration file as well as
> php.ini
> > file. I tested apache by opening http://localhost in the browser and it
> > shows the message that "it works" and I also tested to php by issuing
> the
> > command php -v in command prompt and its showing the version information
> of
> > PHP. But when I'm trying to run phinfo.php file, which I kept in
> document
> > root, browser is not displaying any thing.
> > Please help me to trace-out the problem.
> >
> > I'm attaching the apache conf file as well as php.ini file.
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>



-- 
Anand Kumar Pandey

--- End Message ---
--- Begin Message ---
I'm trying to work my way through the "Beginning PHP5, Apache, MySql Web
Development" book by Elizabeth Naramore, et. al. -- i.e. a newbie. I'm
having trouble getting Apache to recognize my php code files on my HP
Windows XP machine.  It has service pack 2 and is current with updates.

I followed the examples in the book and added a documentroot line and a
directory line to the httpd.conf file.  The index.html file worked witn IE7
but not with Fire Fox when I used the http://localhost URL.  Next I created
the second check which had me create a php testing file phptest.php in the
same directory as the index.html file. Which included the following code: --

<HTML>
<HEAD>
<TITLE>PHP Testing</TITLE>
</HEAD>
<BODY>
<?php
echo "If this works, we <i>really<-i> did it!";
?>
</BODY>
</HTML>

When I used the http://localhost/phptest.php a 404 url not found message
resulted.
was when I unzipped the httpd-2.2.6-win32-src-r2.zip file I do not see the
MSI file mentioned in Appendix I of the book.  Can any one help me.

RJD (bob daniels)

--- End Message ---

Reply via email to