* [Comm] Apache + php
@ 2004-08-03 14:56 Grigory Soloviov
2004-08-03 15:24 ` Yuri N. Glibovetz
2004-08-06 7:45 ` [Comm] " Michael Shigorin
0 siblings, 2 replies; 6+ messages in thread
From: Grigory Soloviov @ 2004-08-03 14:56 UTC (permalink / raw)
To: community
Подскажите что надо сделать что бы работала связка Apache + php после
установки их из сизифа?
В конфиге Apache /etc/httpd/conf/httpd.conf в разделе <IfModule
mod_mime.c> разкоментарил строчки AddType для php.
Apache перегрузил.
А он всеравно упорно показывает мне *.php файлы как plain text.
AltLinux Compact 2.3
Apache/1.3.31 (ALT Linux/alt8)
PHP 4.3.7RC2-dev/ALT (cli)
Зарание спасибо.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Apache + php
2004-08-03 14:56 [Comm] Apache + php Grigory Soloviov
@ 2004-08-03 15:24 ` Yuri N. Glibovetz
2004-08-04 10:46 ` Grigory Soloviov
2004-08-06 7:45 ` [Comm] " Michael Shigorin
1 sibling, 1 reply; 6+ messages in thread
From: Yuri N. Glibovetz @ 2004-08-03 15:24 UTC (permalink / raw)
To: community
Grigory Soloviov пишет:
> Подскажите что надо сделать что бы работала связка Apache + php после
> установки их из сизифа?
>
> В конфиге Apache /etc/httpd/conf/httpd.conf в разделе <IfModule
> mod_mime.c> разкоментарил строчки AddType для php.
>
> Apache перегрузил.
>
> А он всеравно упорно показывает мне *.php файлы как plain text.
>
> AltLinux Compact 2.3
> Apache/1.3.31 (ALT Linux/alt8)
> PHP 4.3.7RC2-dev/ALT (cli)
У меня вот так работает:
<IfModule mod_alias.c>
...................
ScriptAlias /forum/ "/var/www/phpBB2/"
<Directory "/var/www/phpBB2">
AllowOverride None
Options -Indexes
Order allow,deny
Allow from all
</Directory>
...................
</IfModule>
Правда, у меня установлено mod_php-4.3.5
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Apache + php
2004-08-03 15:24 ` Yuri N. Glibovetz
@ 2004-08-04 10:46 ` Grigory Soloviov
0 siblings, 0 replies; 6+ messages in thread
From: Grigory Soloviov @ 2004-08-04 10:46 UTC (permalink / raw)
To: community
Yuri N. Glibovetz wrote:
> Grigory Soloviov пишет:
>
>> Подскажите что надо сделать что бы работала связка Apache + php после
>> установки их из сизифа?
>>
>> В конфиге Apache /etc/httpd/conf/httpd.conf в разделе <IfModule
>> mod_mime.c> разкоментарил строчки AddType для php.
>>
>> Apache перегрузил.
>>
>> А он всеравно упорно показывает мне *.php файлы как plain text.
>>
>> AltLinux Compact 2.3
>> Apache/1.3.31 (ALT Linux/alt8)
>> PHP 4.3.7RC2-dev/ALT (cli)
>
> У меня вот так работает:
>
> <IfModule mod_alias.c>
> ...................
> ScriptAlias /forum/ "/var/www/phpBB2/"
> <Directory "/var/www/phpBB2">
> AllowOverride None
> Options -Indexes
> Order allow,deny
> Allow from all
> </Directory>
> ...................
> </IfModule>
>
> Правда, у меня установлено mod_php-4.3.5
Да, все дело в перце, ой в mod_php...
Поставил и все сразу заработало.
Спасибо за наводку.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Comm] Re: Apache + php
2004-08-03 14:56 [Comm] Apache + php Grigory Soloviov
2004-08-03 15:24 ` Yuri N. Glibovetz
@ 2004-08-06 7:45 ` Michael Shigorin
2004-08-06 8:04 ` Artem K. Jouravsky
1 sibling, 1 reply; 6+ messages in thread
From: Michael Shigorin @ 2004-08-06 7:45 UTC (permalink / raw)
To: community
On Tue, Aug 03, 2004 at 06:56:14PM +0400, Grigory Soloviov wrote:
> Подскажите что надо сделать что бы работала связка Apache + php
> после установки их из сизифа?
php или mod_php?
mod_php включается автоматом и ничего курочить не надо.
Если применяете именно php (видимо, с suexec) -- наверное,
знаете, с какой целью...
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Re: Apache + php
2004-08-06 7:45 ` [Comm] " Michael Shigorin
@ 2004-08-06 8:04 ` Artem K. Jouravsky
2004-08-06 8:30 ` Michael Shigorin
0 siblings, 1 reply; 6+ messages in thread
From: Artem K. Jouravsky @ 2004-08-06 8:04 UTC (permalink / raw)
To: community
On Fri, Aug 06, 2004 at 10:45:39AM +0300, Michael Shigorin wrote:
> On Tue, Aug 03, 2004 at 06:56:14PM +0400, Grigory Soloviov wrote:
> > Подскажите что надо сделать что бы работала связка Apache + php
> > после установки их из сизифа?
>
> php или mod_php?
>
> mod_php включается автоматом и ничего курочить не надо.
Всё таки надо, если использовать виртуальники. Строчки для php включаются
в httpd.conf после включения виртуальников -- приходится менять их
местами. Или уже исправлено?
>
> Если применяете именно php (видимо, с suexec) -- наверное,
> знаете, с какой целью...
>
--
С уважением,
Артём.
ЗАО "СЕМА.РУ"
************
Marvelous! The super-user's going to boot me!
What a finely tuned response to the situation!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Comm] Re: Apache + php
2004-08-06 8:04 ` Artem K. Jouravsky
@ 2004-08-06 8:30 ` Michael Shigorin
0 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2004-08-06 8:30 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
On Fri, Aug 06, 2004 at 12:04:39PM +0400, Artem K. Jouravsky wrote:
> > mod_php включается автоматом и ничего курочить не надо.
> Всё таки надо, если использовать виртуальники. Строчки для php
> включаются в httpd.conf после включения виртуальников --
> приходится менять их местами. Или уже исправлено?
Нет, еще не исправлено.
Это имеет отношение к #1735 и web packaging policy, костяк
которой на фесте был вчерне размечен и после выпуска ALM2.4 будет
обсуждаться.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-08-06 8:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-03 14:56 [Comm] Apache + php Grigory Soloviov
2004-08-03 15:24 ` Yuri N. Glibovetz
2004-08-04 10:46 ` Grigory Soloviov
2004-08-06 7:45 ` [Comm] " Michael Shigorin
2004-08-06 8:04 ` Artem K. Jouravsky
2004-08-06 8:30 ` Michael Shigorin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git