RE: Error 404 configuring php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Try adding this string to httpd.conf ( you can put it right after the LoadModule directive for PHP4)

 

AddType application/x-httpd-php php

 

Restart Apache and let me know if anything changes – I can’t find this line in your httpd.conf file and it’s required so Apache knows what should be classified as a PHP script…

 

--

Andy Stratton, ZCE

Software/Network Engineer

COMPASS Information Systems, Inc.

www.compassinfo.net

(410) 923-6300 office

(410) 923-2820 fax

(443) 623-6835 mobile

 

--------------------------------------------------------------------------------

IT Support When and Where You Need It.

Professional IT Services for configuration management,

networking, database, security, and website services.

www.compassinfo.net

--------------------------------------------------------------------------------

Learn and Grow.

Professional IT Training and Prepaid Courseware / CBT.

Onsite and offsite classes available.

training.compassinfo.net

--------------------------------------------------------------------------------

 

From: Oscar Giron [mailto:oscrene.g@xxxxxxxxx]
Sent: Friday, November 23, 2007 12:18 PM
To: astratton@xxxxxxxxxxxxxxx
Subject: Re: Error 404 configuring php

 

I'm new on this and not sure what you are asking for.  Do you think that i should rather use the newest versions on this testing?

 

This is where i placed the PHP files, actually its default settings: C:\php-4.3.3-Win32

 

This is where my phpinfo.php file is located:  C:\Program Files\Apache Group\Apache2\htdocs\phpinfo.php

 

Also attached is a copy of my httdp.conf file and the phpinfo.php file....

 

Thanks!!!!

 

On 11/21/07, astratton@xxxxxxxxxxxxxxx <astratton@xxxxxxxxxxxxxxx > wrote:

Oscar,

Can you send your PHP install path, the path of the phpinfo() file, and attach your httpd.conf?

Thanks,

Andy Stratton, ZCE
COMPASS Information Systems, Inc.
1756 Belle Court

Millersville, MD 21108
(410) 923-6300 Office
(410) 923-2820 Fax
(443) 623-6835 Mobile

 

-------- Original Message --------
Subject: Error 404 configuring php
From: "Oscar Giron" < oscrene.g@xxxxxxxxx>
Date: Wed, November 21, 2007 5:25 pm
To: php-install@xxxxxxxxxxxxx

I am trying to get a touch of PHP, MySQL and Apache on my Windows XP Machine before i use it on Linux but i got stuck with PHP.  I using php 4.3.3 to work with Apache 2.0.47, and MySQL 4.0.15, Actually im using a CD and a Book: "SAMS Teach yourself"... Apache and MySQL are both working fine but when i unzip php and configure it to work with Apache and i go to test it, i don't get the results of phpinfo().  I get an Error HTTP 404 - File Not Found page.   I've tried many things to get it working but i have no idea what is the problem.  I've re-installed all three programs but i still get the same thing.  I've followed the exact same instruction on the book cause i thought that i was doing something wrong but nothing works..

Any help will be greatly appreciated

Thanks In Advance!!!!!!


--
Oscar Rene Giron
#28 St. Luke st.
Belmopan, Cayo District
Belize C.A.




--
Oscar Rene Giron
#28 St. Luke st.
Belmopan, Cayo District
Belize C.A.


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux