Re: Error 404 configuring php

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



Hi.

2007/11/22, astratton@xxxxxxxxxxxxxxx <astratton@xxxxxxxxxxxxxxx>:
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.

Error 404: Means file not found.
Probably your Document Root (or if using vhosts the vhosts Document Root) point to the wrong directory.

Just don't overdo your first time setting up an apache. Normally it runs out of the box.

Just make it's "Document Root" and "Server Root" point to the right place.
Adjust: ServerAdmin, ServerName and Listen (usually Listen *:80 for a home setup)

Just about your software.
- Apache 2.0 is still up to date (well there were some bugfixes till now).
- Apache 2.2 got released (added features and changed interna - only relevant if you want to modify Apache itself, not work with it).
- MySQL4 is still alive, but you might want to switch to MySQL 5 sooner or later (now a lot of things actually work in practise that
were only working on paper ...)
- PHP 4 will die soon. PHP 5 is the way to go (download "basics" for just 5MB at php.net. The manual is another times that much).
The most visible changes in PHP 5 is their Class-Stuff-related-Syntax and "feeling". It became more convenient and looks and behaves more like what other Object Oriented Languages do. Official Documentation on php.net is pretty good, so just print out those 4 or 5 pages and you're ready to go.

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