Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php2 & apache2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
sfx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 92

PostPosted: Mon May 01, 2006 1:30 pm    Post subject: php2 & apache2 Reply with quote

Обновляю систему, PHP перекинули в dev-lang. Старые версии конфликтовали, так что само собой удалил. за ним и php_mod. А где его теперь взять?
в ЮЗАХ apache2 есть, php с ним собран. в конфиге апача -D PHP5 тоже указано.. Но все равно не пашет.
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Mon May 01, 2006 3:10 pm    Post subject: Re: php2 & apache2 Reply with quote

sfx wrote:
Обновляю систему, PHP перекинули в dev-lang. Старые версии конфликтовали, так что само собой удалил. за ним и php_mod. А где его теперь взять?
в ЮЗАХ apache2 есть, php с ним собран. в конфиге апача -D PHP5 тоже указано.. Но все равно не пашет.

А что пишет?
Back to top
View user's profile Send private message
sfx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 92

PostPosted: Mon May 01, 2006 4:39 pm    Post subject: Reply with quote

Просто не обрабатуваються php файлы. Браузер выводит их содержимое, как без php_mod
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Mon May 01, 2006 4:46 pm    Post subject: Reply with quote

sfx wrote:
Просто не обрабатуваються php файлы. Браузер выводит их содержимое, как без php_mod

Делал dispatch-conf?

Quote:
cat /etc/apache2/modules.d/70_mod_php5.conf

что говорит?
Back to top
View user's profile Send private message
sfx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 92

PostPosted: Mon May 01, 2006 5:01 pm    Post subject: Reply with quote

Code:
f1rez0ne modules # cat /etc/apache2/modules.d/70_mod_php5.conf
<IfDefine PHP5>

        # Load the module first
        <IfModule !mod_php5.c>
                LoadModule php5_module    modules/libphp5.so
        </IfModule>

        # Set it to handle the files
        <IfModule mod_mime.c>
                AddType application/x-httpd-php .php
                AddType application/x-httpd-php .phtml
                AddType application/x-httpd-php .php3
                AddType application/x-httpd-php .php4
                AddType application/x-httpd-php .php5
                AddType application/x-httpd-php-source .phps
        </IfModule>

        AddDirectoryIndex index.php index.phtml
</IfDefine>


modules/libphp5.so есть. доступ есть.. не могу понять в чем дело..
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Mon May 01, 2006 5:08 pm    Post subject: Reply with quote

sfx wrote:
modules/libphp5.so есть. доступ есть.. не могу понять в чем дело..

Что в логах при запуске /останове апача?
Back to top
View user's profile Send private message
sfx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 92

PostPosted: Mon May 01, 2006 5:19 pm    Post subject: Reply with quote

Ошибок нет...

[Mon May 01 21:17:26 2006] [notice] caught SIGTERM, shutting down
[Mon May 01 21:17:40 2006] [notice] Digest: generating secret for digest authentication ...
[Mon May 01 21:17:40 2006] [notice] Digest: done
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Mon May 01, 2006 5:26 pm    Post subject: Reply with quote

sfx wrote:
Ошибок нет...

[Mon May 01 21:17:26 2006] [notice] caught SIGTERM, shutting down
[Mon May 01 21:17:40 2006] [notice] Digest: generating secret for digest authentication ...
[Mon May 01 21:17:40 2006] [notice] Digest: done

Пропиши код из 70_mod_php5.conf без <IfDefine> в httpd.conf
Back to top
View user's profile Send private message
sfx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 92

PostPosted: Mon May 01, 2006 5:35 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 Russian 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