View previous topic :: View next topic |
Author |
Message |
digitalwicked -
Joined: 01 Oct 2004 Posts: 2
|
Posted: Fri Oct 01, 2004 1:47 pm Post subject: HTTP 404 Not Found after installing php |
|
|
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 |
|
 |
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Fri Oct 01, 2004 4:47 pm Post subject: |
|
|
Maybe there isn't this .php document. |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Fri Oct 01, 2004 5:01 pm Post subject: |
|
|
are the *.php scripts located in your htdocs dir
if not then abyss cannot access them... _________________ Olly |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Oct 01, 2004 9:06 pm Post subject: |
|
|
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 |
|
 |
digitalwicked -
Joined: 01 Oct 2004 Posts: 2
|
Posted: Fri Oct 01, 2004 11:43 pm Post subject: nope |
|
|
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 |
|
 |
ndkk -
Joined: 24 Dec 2004 Posts: 2
|
Posted: Fri Dec 24, 2004 7:14 am Post subject: |
|
|
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 |
|
 |
ndkk -
Joined: 24 Dec 2004 Posts: 2
|
Posted: Fri Dec 24, 2004 7:31 am Post subject: |
|
|
forget to say my environment:
Abyss Web Server X1 (version 1.2.3.0)
os: win2000
php:4.3.10 |
|
Back to top |
|
 |
Coolie -
Joined: 16 Jan 2005 Posts: 9
|
Posted: Thu Jan 27, 2005 12:51 pm Post subject: |
|
|
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 |
|
 |
Coolie -
Joined: 16 Jan 2005 Posts: 9
|
Posted: Thu Jan 27, 2005 12:58 pm Post subject: |
|
|
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 |
|
 |
admin Site Admin
Joined: 03 Mar 2002 Posts: 1332
|
Posted: Thu Jan 27, 2005 6:03 pm Post subject: Re: HTTP 404 Not Found after installing php |
|
|
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 |
|
 |
Chatline -
Joined: 14 Jul 2004 Posts: 39
|
Posted: Sat Jan 29, 2005 7:54 pm Post subject: |
|
|
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 |
|
 |
danny -
Joined: 29 Jan 2005 Posts: 2
|
Posted: Sun Jan 30, 2005 1:31 am Post subject: |
|
|
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 |
|
 |
|