Re: phpinfo.php File Not Found
| From: | Titus Cheung | Date: | Mon, 21 Jan 2002 09:49:49 +0000 |
| Subject: | Re: phpinfo.php File Not Found | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5652@lists.php.net to get a copy of this message | ||
Hello,
Okay, this is what I've done,
1) remove the doc_root line in the file php.ini
2) Use a separate line for each AddType in the file httpd.conf
It still doesn't work. Any ideas?
Thanks
Titus
----- Original Message -----
From: <mark.broad@st.com>
To: <titus@ieee.org>
Cc: <CChrist@CSAS.CZ>; <php-install@lists.php.net>
Sent: Monday, January 21, 2002 1:27 AM
Subject: Re: [PHP-INST] phpinfo.php File Not Found
> It's quite simple really - NEVER list more than one AddType on a line.
> i.e.
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> AddType application/x-httpd-php-source .phps
>
> This should sort it out..
> Rgds,
> Mark.
>
>
>
>
> >>>>Hello,
> >>>>
> >>>>I just tried taking that line out, but it still gives me Error 404.
Any
> >>>>ideas?
> >>>>
> >>>>Titus
> >>>>----- Original Message -----
> >>>>From: "Christ Christoph (Erste)" <CChrist@CSAS.CZ>
> >>>>To: "'Titus Cheung'" <titus@ieee.org>
> >>>>Sent: Monday, January 21, 2002 1:12 AM
> >>>>Subject: RE: [PHP-INST] phpinfo.php File Not Found
> >>>>
> >>>>
> >>>>> try not to set the doc-root. it works without that pretty nice on my
> >>>>> server....
> >>>>>
> >>>>> -----Original Message-----
> >>>>> From: Titus Cheung [mailto:titus@ieee.org]
> >>>>> Sent: 21. ledna 2002 8:55
> >>>>> To: php-install@lists.php.net
> >>>>> Subject: [PHP-INST] phpinfo.php File Not Found
> >>>>>
> >>>>>
> >>>>> Hello,
> >>>>>
> >>>>> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
> >>>>someone
> >>>>> tell me what I have done wrong?
> >>>>> When I use my browser to see
> >>>>> http://localhost/phpinfo.php, it says
File
> >>>>Not
> >>>>> Found with Error 404.
> >>>>> The file is there and contains the code <? phpinfo() ?>
> >>>>>
> >>>>> I installed PHP4 in d:\php4, and set the following lines in my
php.ini
> >>>>file,
> >>>>> which resides in d:\winnt\:
> >>>>> doc_root =d:\program files\apache\htdocs
> >>>>> user_dir =
> >>>>> extension_dir = d:\php4\extensions
> >>>>>
> >>>>> The Apache is installed in d:\program files\apache group\apache\,
and I've
> >>>>> set the following lines in my conf\httpd.conf file:
> >>>>> ScriptAlias /cgi-bin/ "D:/Program Files/Apache
Group/Apache/cgi-bin/"
> >>>>> ScriptAlias /php4/ "D:/php4/"
> >>>>> AddType application/x-httpd-php .php .phtml
> >>>>> AddType application/x-httpd-php-source .phps
> >>>>> Action application/x-httpd-php /php/php.exe
> >>>>>
> >>>>> And yes, I did start the Apache server. I can see
> >>>>> http://localhost
> >>>>>
> >>>>> Thanks
> >>>>> Titus
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>--
> >>>>PHP Install Mailing List (http://www.php.net/)
> >>>>To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> >>>>For additional commands, e-mail: php-install-help@lists.php.net
> >>>>To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> >>>>
>
----------------------------------------------------------------------------
----
Hello,
I just tried taking that line out, but it still gives me Error 404. Any
ideas?
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <CChrist@CSAS.CZ>
To: "'Titus Cheung'" <titus@ieee.org>
Sent: Monday, January 21, 2002 1:12 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> try not to set the doc-root. it works without that pretty nice on my
> server....
>
> -----Original Message-----
> From: Titus Cheung [mailto:titus@ieee.org]
> Sent: 21. ledna 2002 8:55
> To: php-install@lists.php.net
> Subject: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
someone
> tell me what I have done wrong?
> When I use my browser to see http://localhost/phpinfo.php, it
> says File
Not
> Found with Error 404.
> The file is there and contains the code <? phpinfo() ?>
>
> I installed PHP4 in d:\php4, and set the following lines in my php.ini
file,
> which resides in d:\winnt\:
> doc_root =d:\program files\apache\htdocs
> user_dir =
> extension_dir = d:\php4\extensions
>
> The Apache is installed in d:\program files\apache group\apache\, and I've
> set the following lines in my conf\httpd.conf file:
> ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> ScriptAlias /php4/ "D:/php4/"
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
> Action application/x-httpd-php /php/php.exe
>
> And yes, I did start the Apache server. I can see
> http://localhost
>
> Thanks
> Titus
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net