HTTP 404 Not Found after installing php

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
digitalwicked
-


Joined: 01 Oct 2004
Posts: 2

PostPosted: Fri Oct 01, 2004 1:47 pm    Post subject: HTTP 404 Not Found after installing php Reply with quote

I have installed php on my abyss server. I'm positive i have installed it correctly but when ever i try and open a .php document it says

" The page cannot be found and therefore gives me a 404 error"

I have tried reinstalling php using both 5 and 4 but still i get the same output. The box is running xp pro.

Any help would be great!
Back to top View user's profile Send private message
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Fri Oct 01, 2004 4:47 pm    Post subject: Reply with quote

Maybe there isn't this .php document.
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Fri Oct 01, 2004 5:01 pm    Post subject: Reply with quote

are the *.php scripts located in your htdocs dir

if not then abyss cannot access them...
_________________
Olly
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Oct 01, 2004 9:06 pm    Post subject: Reply with quote

Go to your htdocs and click on Tools -> Folder Options -> View and uncheck the box
for "Hide extensions for known file types" and you should see .php.txt like a double
extension instead , I really do believe thats the problem your having. Later!
Back to top View user's profile Send private message Visit poster's website
digitalwicked
-


Joined: 01 Oct 2004
Posts: 2

PostPosted: Fri Oct 01, 2004 11:43 pm    Post subject: nope Reply with quote

I can say there are no double extensions. The problem occurs with all php documents. Yes it is in my root directory.

Thanks :-)
Back to top View user's profile Send private message
ndkk
-


Joined: 24 Dec 2004
Posts: 2

PostPosted: Fri Dec 24, 2004 7:14 am    Post subject: Reply with quote

I have the same problem. I according to the every approachs in Help. It seems not work neither in htdoc nor in other visual path. I can see all php file in "cgi-bin" like follow:
“/cgi-bin/” Index:
......
test.php 593 b 23/12/2004 13:50:38 application/octet-stream
......
and my visual path:
"test" Index:
......
test.php 593 b 23/12/2004 13:50:38 application/octet-stream
......

anyone can help me?
Back to top View user's profile Send private message
ndkk
-


Joined: 24 Dec 2004
Posts: 2

PostPosted: Fri Dec 24, 2004 7:31 am    Post subject: Reply with quote

forget to say my environment:
Abyss Web Server X1 (version 1.2.3.0)
os: win2000
php:4.3.10
Back to top View user's profile Send private message
Coolie
-


Joined: 16 Jan 2005
Posts: 9

PostPosted: Thu Jan 27, 2005 12:51 pm    Post subject: Reply with quote

a moment ago it was working fine, then later it began to show 404 errors... -_-" i only touched php.ini in the PHP/BACKUP folder... any help? =D

BTW, i installed phpbb/myadmin/nuke, now all 3 have 404 error -_-"
Back to top View user's profile Send private message
Coolie
-


Joined: 16 Jan 2005
Posts: 9

PostPosted: Thu Jan 27, 2005 12:58 pm    Post subject: Reply with quote

OMG, now i just solved it lol?

Code:
The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
;     environment variables, you can use getenv() instead.
; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]


must remove the ~E_NOTICE if there is. =D
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Thu Jan 27, 2005 6:03 pm    Post subject: Re: HTTP 404 Not Found after installing php Reply with quote

digitalwicked,

Please send your abyss.conf and php.ini files to support@aprelium.com . Of course, write a line or two to remind us of the problem you have.
Back to top View user's profile Send private message
Chatline
-


Joined: 14 Jul 2004
Posts: 39

PostPosted: Sat Jan 29, 2005 7:54 pm    Post subject: Reply with quote

If it's index, you need to make it reconise index.php it's preset to only .htm .html
_________________
Allways and needing help ;)
Back to top View user's profile Send private message
danny
-


Joined: 29 Jan 2005
Posts: 2

PostPosted: Sun Jan 30, 2005 1:31 am    Post subject: Reply with quote

Allright, lets see ;). If You want to install PHP then you have to start the install. If you have an installer, it is all become right. So when PHP is installed by the installer, your server won't see it because the index.PHP is not there. So go to the server and choose Server Configuration --> Advanced --> Server parameters and add below index.PHP. Restart the server and you are done. In order to test you configuration you should create an info.PHP file like this:

Code:
 
<html>
<head>
<title>PHP info</title>
</head>
<body>
<h1>Information about PHP</h1>
<?php
phpinfo();
?>
</body>
</html>


Note: SAVE THIS FILE AS .PHP AND NOT AS .HTM(L)!!!

If you go to http://localhost/info.php you should see info about your php installation ;)

For the manual installation.....I can't help you.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group