Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php_mod not working?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
glurps
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 292

PostPosted: Sat Nov 20, 2004 5:35 pm    Post subject: php_mod not working? Reply with quote

i have installed apache and php using these https://forums.gentoo.org/viewtopic.php?t=104806&postdays=0&postorder=asc&highlight=apache+php&start=25
instructions.

i can access html files but when i try to access php i get a 404.

error_log:
Code:
[Sat Nov 20 20:37:22 2004] [error] [client 10.0.0.10] File does not exist: /var/www/localhost/htdocs/phpbb
[Sat Nov 20 20:37:22 2004] [error] [client 10.0.0.10] File does not exist: /var/www/localhost/htdocs/favicon.ico


access_log:
Code:
10.0.0.10 - - [20/Nov/2004:20:37:22 +0100] "GET /phpbb/index.php HTTP/1.1" 404 338 "-" "Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041118 Firefox/0.10.1"
10.0.0.10 - - [20/Nov/2004:20:37:22 +0100] "GET /favicon.ico HTTP/1.1" 404 334 "-" "Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041118 Firefox/0.10.1"


thx
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Nov 20, 2004 5:46 pm    Post subject: Reply with quote

i think you have a setup problem with phpbb and not a problem with php.

could you create a file called phpinfo.php in your root www directory (/var/www/localhost/htdocs/) with the following content and try to open it:
Code:
<?php
phpinfo();
?>


for the test (and only for the test), change the permission to 777 (chmod 777 /var/www/localhost/htdocs/phpinfo.php).

if you get a screen with info about your php installation, then your php is working. let us know if this is the case.


cheers

SteveB
Back to top
View user's profile Send private message
glurps
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 292

PostPosted: Sat Nov 20, 2004 6:11 pm    Post subject: Reply with quote

you are right

just i dont feel so stupid anymore (or better even more).

at the same time i have also installed another webapp which also did not work. but as it turned out now for a different reason that has to do with nameresolution.

thx
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Nov 20, 2004 6:13 pm    Post subject: Reply with quote

;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
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