ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Связка Php, MySql, Apache. Ошибки.
Date: Tue, 23 Nov 2004 17:52:32 +0300
Message-ID: <41A34EB0.2070907@ricom.ru> (raw)
In-Reply-To: <41A34D0E.000011.03762@camay.yandex.ru>


unix9 wrote:

> Приветствую всех!
> Написал скрипт на пхп для работы с базой (MySql). Ввод и вывод данных идет через браузер. Установил следующие пакеты:
> rpm -q php
> php-4.3.9-alt0.cvs20040802
> 
> rpm -q php-mysql
> php-mysql-4.3.9-alt0.cvs20040802
> 
> rpm -q mod_php
> mod_php-4.3.9-alt0.cvs20040802
> 
> апач и мускул из поставки дистрибутива, сам дистрибутив - Мастер 2.4.
> 
> Теперь проблема, при попытке через броузер вызвать страницу выходит сообщение об ошибке
> Warning: Unknown(/var/www/html/site/sklad/index.php): failed to open stream: Permission denied in Unknown on line 0
> 
> Warning: (null)(): Failed opening '/var/www/html/site/sklad/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/lib/php/4.3.9:/usr/lib/php/pear:/usr/lib/php/4.3.9/pear') in Unknown on line 0
> 
> Какие права на каталог и на файлы нужно поставить что бы скрипт начал работать?
> Может какой пакет я забыл установить?
Проверьте на простом php (ну просто пусть Hello выведет print-ом)
Проверьте файл httpd.conf - включен ли там mod_php
Насчет прав - по хорошему должны быть самого апача (user apache 
или nobody)

-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
ICQ: 196766290
Jabber: Samurai@jabber.pibhe.com
http://www.ricom.ru
http://www.fondmarket.ru


  reply	other threads:[~2004-11-23 14:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-23 14:45 unix9
2004-11-23 14:52 ` Alexey Morsov [this message]
2004-11-23 15:04   ` [Comm]Связка " unix9
2004-11-23 15:20     ` Alexey Morsov
2004-11-23 18:05       ` dm
2004-11-24 23:20         ` Arsen Kirillov
2004-11-25 19:48           ` dm
2004-11-23 17:10     ` Arsen Kirillov
2004-11-24  4:56       ` Alexandr R. Ogurtzoff
2004-11-24 23:18         ` Arsen Kirillov
2004-11-25  5:36           ` Alexandr R. Ogurtzoff
2004-11-23 17:30 ` [Comm] Связка " Mikhael Korneev
2004-11-24  5:30 ` Mike Lykov
2004-11-24 12:06   ` [Comm]СвязкаPhp, MySql, Apache.Ошибки unix9
2004-11-24 12:18     ` Mike Lykov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41A34EB0.2070907@ricom.ru \
    --to=samurai@ricom.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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