View previous topic :: View next topic |
Author |
Message |
glurps Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/12231118741da5e312d520.gif)
Joined: 11 Mar 2004 Posts: 292
|
Posted: Sat Nov 20, 2004 5:35 pm Post subject: php_mod not working? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
steveb Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1198140199438f3db8ee800.gif)
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sat Nov 20, 2004 5:46 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
glurps Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/12231118741da5e312d520.gif)
Joined: 11 Mar 2004 Posts: 292
|
Posted: Sat Nov 20, 2004 6:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
steveb Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1198140199438f3db8ee800.gif)
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sat Nov 20, 2004 6:13 pm Post subject: |
|
|
![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|