ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] не запускается php
@ 2003-01-25  8:45 all-yvg
  2003-01-25  9:38 ` Peter V. Saveliev
  0 siblings, 1 reply; 2+ messages in thread
From: all-yvg @ 2003-01-25  8:45 UTC (permalink / raw)
  To: sisyphus

Здравствуйте,

Детский вопрос:

Через апт поставил себе апачи и php (с Сизифа cистема - Junior 2.0).

Апач работает, но php скрипты не запускаются (в броузере отображается всё содержимое php файлов).

в /etc/httpd/conf/httpd.conf раскомментировал строки 
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

Что ещё нужно сделать?

P.S. Да, ещё не могу открыть страницы на своём компе (подключён к сетке, на другом компе набираю http://192.168.0.92 - и апачи страницы показывает. А у себя на компе набираю http://localhost, http://192.168.0.92 - в любом случае броузер говорит что ищет этот адрес и так всё и остаётся...)

-- 
С уважением,
Юрий Гоменюк.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] не запускается php
  2003-01-25  8:45 [sisyphus] не запускается php all-yvg
@ 2003-01-25  9:38 ` Peter V. Saveliev
  0 siblings, 0 replies; 2+ messages in thread
From: Peter V. Saveliev @ 2003-01-25  9:38 UTC (permalink / raw)
  To: sisyphus

On Sat, 25 Jan 2003 10:45:50 +0200
all-yvg@ukr.net wrote:

> Здравствуйте,
> 
> Детский вопрос:
<skip />

Детский ответ:
AddHandler application/x-httpd-php .php .php4 .php3 .phtml

а еше LoadModule нужно соответствующий. Вообще-то, все это есть в 
[peet@ap001 peet]$ rpm -qf /etc/httpd/conf/addon-modules/mod_php4.conf
mod_php-4.1.2-alt5

Итого - sudo apt-get install mod_php

> P.S. Да, ещё не могу открыть страницы на своём компе (подключён к сетке,
> на другом компе набираю http://192.168.0.92 - и апачи страницы
> показывает. А у себя на компе набираю http://localhost,
> http://192.168.0.92 - в любом случае броузер говорит что ищет этот адрес
> и так всё и остаётся...)

Стук подземный... rtfm, по ходу, 1) про настройку сети и ее диагностику
(netstat, ping, nmap, hping, telnet и т.п.); 2) про настройку apache
(документация в пакете apache-manual).

И, если честно, это тема, скорее, для канала на community@altlinux.ru.

-- 
Sincerely, Peter V. Saveliev

E-mail: peet@eltel.net
Jabber: peet@jabber.ru



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-25  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-25  8:45 [sisyphus] не запускается php all-yvg
2003-01-25  9:38 ` Peter V. Saveliev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git