ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexandre Redko" <Mandrake@zlkz.spnet.ru>
To: <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] PHP4 with MySQL support
Date: Fri Aug 10 15:13:13 2001
Message-ID: <000801c12190$00d5e6b0$0500000a@sasha> (raw)
In-Reply-To: <027201c120a9$f3105420$4401a8c0@muc.beamgate.de>

Добрый день!

> Пакет php-mysql-4.0.5RC1-ipl1.i586.rpm

> И учтите, что в Весне есть два php.ini. Один - для исполняемого php,
другой - для php как модуля Апачи.

Установил я php-mysql и php_mod. Тем не менее программа не заработала. В
режиме диагностики она выдает все опции компиляции имеющегося PHP - так там
четко стоит "without-mysql-support"

При попытке запустить ее она выдает:

Fatal error: Call to undefined function: mysql_pconnect()

> И учтите, что в Весне есть два php.ini. Один - для исполняемого php,
> другой - для php как модуля Апачи.

Второго я не нашел, но если функция не вкомпилирована, то, наверное, .ini
тут не поможет.
В программе написано, что она именно использует PHP как модуль Apache.

Regards to All
Alexandr Redko
LU # 178842
ICQ # 75828152


----- Original Message -----
From: "Alexandre Redko" <Mandrake@zlkz.spnet.ru>
To: "Mandrake" <mandrake-russian@altlinux.ru>
Sent: Thursday, August 09, 2001 8:46 AM
Subject: [mdk-re] PHP4 with MySQL support

> столкнулся с тем, что она требует PHP с поддержкой MySQL, а вариант в
> Spring2001 ее не имеет.
Имеет.

> Можно ли установить PHP c поддержкой MySQL из source RPM на дистрибутиве
> Spring2001 или надо скачивать исходник и самому копилировать?

Пакет
php-mysql-4.0.5RC1-ipl1.i586.rpm


И учтите, что в Весне есть два php.ini. Один - для исполняемого php,
другой - для php как модуля Апачи.
Так вот, один из них после инсталляции пакета php-mysql... модифицируется и
включает поддержку MySQL, а другой -- нет.

(По крайней мере у меня так было... Впрочем, похоже, не только у меня)

WBR,
    Vlad Vostrykh





  reply	other threads:[~2001-08-10 15:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 10:42 Alexandre Redko
2001-08-09 11:46 ` Vlad Vostrykh
2001-08-10 15:13   ` Alexandre Redko [this message]
2001-08-10 15:51     ` Vlad Vostrykh
2001-08-11  3:43     ` Albert R.Valiev
2001-08-13 16:16       ` [mdk-re] PHP4 with MySQL support + tool for MySQL admin' Alexandre Redko

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='000801c12190$00d5e6b0$0500000a@sasha' \
    --to=mandrake@zlkz.spnet.ru \
    --cc=mandrake-russian@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