You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Charlotte Barker <cl...@btinternet.com> on 2002/03/28 14:47:08 UTC
ahhhh help
Hi everyone
I have just installed apache and PHP on my win 98 machine, everything seems to have worked until i try using php.
I have placed the test.php file which I have created in the C:\Program Files\Apache Group\Apache\htdocs directory. Is this right?
When I try opening it in the browser i get a blank page but using right click-view source the code is there.
I have read in the FAQ that it could be a server config problem but I cant find it anywhere.
Please help, someone
Charlotte
Re: ahhhh help
Posted by DownUnder Dan <da...@image.dk>.
When I try opening it in the browser i get a blank page but using right click-view source the code is there.
WHAT CODE DO YOU SEE? HTML CODE OR PHP CODE?
RE: ahhhh help
Posted by "James - TheyWill.com, Inc." <ja...@theywill.com>.
> i get the page cannot be found:
Never mind then. I was barking up the wrong tree.
-James
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: ahhhh help
Posted by Charlotte Barker <cl...@btinternet.com>.
i get the page cannot be found:
The page cannot be found
The page you are looking for might have been removed, had its name changed,
or is temporarily unavailable.
----------------------------------------------------------------------------
----
Please try the following:
If you typed the page address in the Address bar, make sure that it is
spelled correctly.
Open the localhost home page, and then look for links to the information you
want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 404 - File not found
Internet Explorer
----- Original Message -----
From: "James - TheyWill.com, Inc." <ja...@theywill.com>
To: <us...@httpd.apache.org>
Sent: Thursday, March 28, 2002 3:13 PM
Subject: Re: ahhhh help
> What happens when you type this into the address bar?
>
> http://localhost/php4/php.exe
>
>
> -James
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: ahhhh help
Posted by "James - TheyWill.com, Inc." <ja...@theywill.com>.
What happens when you type this into the address bar?
http://localhost/php4/php.exe
-James
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Neil
Posted by Charlotte Barker <cl...@btinternet.com>.
I do yes.
----- Original Message -----
From: Neil Freeman
To: users@httpd.apache.org
Sent: Thursday, March 28, 2002 2:51 PM
Subject: Re: Neil
I presume that Apache is running ok. Do you get the standard apache page
when you start Apache server and type http://localhost into your
browser?
--------------------------------
Email: neil.freeman@asa.co.uk
neil@curvedvision.com
--------------------------------
--------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Search
Stamp powered by www.mailround.com
Re: Neil
Posted by Neil Freeman <ne...@asa.co.uk>.
I presume that Apache is running ok. Do you get the standard apache page
when you start Apache server and type http://localhost into your
browser?
--------------------------------
Email: neil.freeman@asa.co.uk
neil@curvedvision.com
--------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Neil
Posted by Charlotte Barker <cl...@btinternet.com>.
Hi Neil
Thanks for spotting that. Unfortunatly still that same thing happens :-(
Charlotte
----- Original Message -----
From: Neil Freeman
To: users@httpd.apache.org
Sent: Thursday, March 28, 2002 2:32 PM
Subject: Re: ahhhh help
> ScriptAlias /php/ "c:/php"
Shouldn't you have a trailing slash, ie "c:/php/"
Neil
--------------------------------
Email: neil.freeman@asa.co.uk
neil@curvedvision.com
--------------------------------
--------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Search
Stamp powered by www.mailround.com
Re: ahhhh help
Posted by Neil Freeman <ne...@asa.co.uk>.
> ScriptAlias /php/ "c:/php"
Shouldn't you have a trailing slash, ie "c:/php/"
Neil
--------------------------------
Email: neil.freeman@asa.co.uk
neil@curvedvision.com
--------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: ahhhh help
Posted by Lee Fellows <lf...@4lane.com>.
Just on a hunch, have you tried
Action application/x-httpd-php "c:/php/php.exe"
instead of
Action application/x-httpd-php "/php/php.exe" ?
On Thu, 2002-03-28 at 11:40, Charlotte Barker wrote:
> I did indeed :-(
> ----- Original Message -----
> From: James - TheyWill.com, Inc.
> To: users@httpd.apache.org
> Sent: Thursday, March 28, 2002 4:10 PM
> Subject: RE: ahhhh help
>
>
> > ScriptAlias /php/ "c:/php"
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php .phtml
> > Action application/x-httpd-php "/php/php.exe"
>
> These lines look OK.
>
> Did you restart Apache after adding them?
>
> -James
>
> --------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> Search
>
>
>
>
> Stamp powered by www.mailround.com
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: ahhhh help
Posted by Charlotte Barker <cl...@btinternet.com>.
I did indeed :-(
----- Original Message -----
From: James - TheyWill.com, Inc.
To: users@httpd.apache.org
Sent: Thursday, March 28, 2002 4:10 PM
Subject: RE: ahhhh help
> ScriptAlias /php/ "c:/php"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> Action application/x-httpd-php "/php/php.exe"
These lines look OK.
Did you restart Apache after adding them?
-James
--------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Search
Stamp powered by www.mailround.com
RE: ahhhh help
Posted by "James - TheyWill.com, Inc." <ja...@theywill.com>.
> ScriptAlias /php/ "c:/php"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> Action application/x-httpd-php "/php/php.exe"
These lines look OK.
Did you restart Apache after adding them?
-James
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
AW: ahhhh help
Posted by Peter Thomassen <Pe...@gmx.de>.
Hi,
PLEASE, DON'T USE HTML!
> yes it is in there.
Hmm .... do you open the page via C:\... or http://localhost/...?
Bye,
Peter
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: ahhhh help
Posted by Charlotte Barker <cl...@btinternet.com>.
Hi
yes it is in there.
Charlotte
----- Original Message -----
From: Peter Thomassen
To: users@httpd.apache.org
Sent: Thursday, March 28, 2002 2:05 PM
Subject: AW: ahhhh help
Hi,
> Do you mean these lines:
>
> ScriptAlias /php/ "c:/php"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> Action application/x-httpd-php "/php/php.exe"
>
>
> if so yes I have :-(
Yes, I do ... Have you installed PHP in C:\PHP\?
> Ps what do u mean by using text/plain only?
You souldn't use HTML formatted e-mail. In Extras | Options |
Write (or Create, I have the German OE) you can choose text
format.
Bye,
Peter
--------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Search
Stamp powered by www.mailround.com
AW: ahhhh help
Posted by Peter Thomassen <Pe...@gmx.de>.
Hi,
> Do you mean these lines:
>
> ScriptAlias /php/ "c:/php"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> Action application/x-httpd-php "/php/php.exe"
>
>
> if so yes I have :-(
Yes, I do ... Have you installed PHP in C:\PHP\?
> Ps what do u mean by using text/plain only?
You souldn't use HTML formatted e-mail. In Extras | Options |
Write (or Create, I have the German OE) you can choose text
format.
Bye,
Peter
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: ahhhh help
Posted by Charlotte Barker <cl...@btinternet.com>.
Hi Peter
Do you mean these lines:
ScriptAlias /php/ "c:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php.exe"
if so yes I have :-(
Charlotte
Ps what do u mean by using text/plain only?
----- Original Message -----
From: Peter Thomassen
To: users@httpd.apache.org
Sent: Thursday, March 28, 2002 1:51 PM
Subject: AW: ahhhh help
Hi,
please use text/plain only.
> I have placed the test.php file which I have created in the
> C:\Program Files\Apache Group\Apache\htdocs directory.
> Is this right?
Yes, if you didn't change the DocumentRoot in httpd.conf.
> When I try opening it in the browser i get a blank page but
> using right click-view source the code is there.
Have you written the lines which say Apache, where it can find
PHP, into httpd.conf?
Bye,
Peter
--------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Search
Stamp powered by www.mailround.com
AW: ahhhh help
Posted by Peter Thomassen <Pe...@gmx.de>.
Hi,
please use text/plain only.
> I have placed the test.php file which I have created in the
> C:\Program Files\Apache Group\Apache\htdocs directory.
> Is this right?
Yes, if you didn't change the DocumentRoot in httpd.conf.
> When I try opening it in the browser i get a blank page but
> using right click-view source the code is there.
Have you written the lines which say Apache, where it can find
PHP, into httpd.conf?
Bye,
Peter
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org