質問箱/2440
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
**[[質問箱/2440]] [#v3d10e40]
|RIGHT:100|LEFT:410|c
|~カテゴリ||
|~サマリ| [FreeBSD] Fatal error: Call to undefined functi...
|~バージョン|1.4.4|
|~投稿者|[[某hiro]]|
|~状態|完了|
|~投稿日|&new{2004-11-16 (火) 21:48:03};|
***質問 [#aa9600fa]
apache1.3.33
PHP4.3.8
FreeBSD4.10において
Fatal error: Call to undefined function: preg_match() in ...
がでて動作してくれません。質問箱に92行というのはなかった...
どうしたらよいのでしょうか。
***回答 [#aa3958cc]
-PHPのPCREが有効になっているか確かめる。 -- &new{2004-11...
-cd /usr/ports/devel/php4-pcre/ && make install -- &new{...
-推測ですが、phpinfo.php のページを表示させてみて、mbstri...
なければ、phpがmbstringのオプション付きでコンパイルされて...
もし、ports では php4.3.8は、オプションなしです。
php4.3.8に加えて、 lang/php4-extensions 入れる必要があり...
# cd /usr/ports/lang/php4-extensions
# make install clean
とすると、コンパイルオプションを選択する画面がでてきます。
ここで、mbstringを選びます。 -- [[iketomo]] &new{2004-11-...
-私もはまりました。最近の PHP の FreeBSD ports は、php(4|...
-php(4|5)-extensionを既に make install clean しているので...
-やはり、/usr/ports/UPDATINGをみないといけませんね。20040...
20040719:
AFFECTS: users of PHP
AUTHOR: ale@FreeBSD.org
The old lang/php4 and lang/php5 ports have been splitted ...
PEAR, and shared extensions to allow more flexibility and...
Upgrading your current PHP installation will result in a ...
installation (no PEAR and no extensions).
PEAR can be found in the new devel/php4-pear and devel/ph...
the set of PHP extensions to install can be choosen via t...
lang/php4-extensions and lang/php5-extensions, or install...
extensions individually.
If you have a previous php.ini configuration file, be sur...
the extension_dir parameter, since the correct path is st...
into the PHP binary.
For an overview of the modules used with the old PHP bina...
the command "php -m".-- [[iketomo]] &new{2004-11-16 (火) ...
-php4-extensionsをmakeしなおすことでOKでした。自分ではmbs...
-細かいことですが、誤った情報がPukiWikiの公式サイトに残る...
好ましくないと思いますので、敢えて補足しておきます。~
Fatal error: Call to undefined function: preg_match()
の原因は、''mbstringが入っていない為ではありません''。
先に指摘された方もおられますが、pcreが有効になっていない...
php4-extensionsでmbstringを有効にしてmakeしなおすことで
問題が解決されたのは、php4-extensions/Makefileで~
WITH_PCRE= yes
になっている為、意識してPCREのチェックを外さない限り、dev...
がインストールされるせいでしょう。 -- &new{2004-11-21 (...
-皆さん補足ありがとうございます :) -- [[henoheno]] &new{2...
-pukiwiki/lib/func.php on line 40のエラーではまってました...
- OS: FreeBSD 6.0-release、Apache/1.3.34 (Unix) PHP/4.4.1...
- extensions(pcre)の設定後のApache再起動を忘れている。と...
- [[質問箱/3560]] -- &new{2006-12-17 (日) 11:31:48};
- [[質問箱/4459]], [[質問箱/4551]] -- &new{2010-01-23 (...
//#comment
終了行:
**[[質問箱/2440]] [#v3d10e40]
|RIGHT:100|LEFT:410|c
|~カテゴリ||
|~サマリ| [FreeBSD] Fatal error: Call to undefined functi...
|~バージョン|1.4.4|
|~投稿者|[[某hiro]]|
|~状態|完了|
|~投稿日|&new{2004-11-16 (火) 21:48:03};|
***質問 [#aa9600fa]
apache1.3.33
PHP4.3.8
FreeBSD4.10において
Fatal error: Call to undefined function: preg_match() in ...
がでて動作してくれません。質問箱に92行というのはなかった...
どうしたらよいのでしょうか。
***回答 [#aa3958cc]
-PHPのPCREが有効になっているか確かめる。 -- &new{2004-11...
-cd /usr/ports/devel/php4-pcre/ && make install -- &new{...
-推測ですが、phpinfo.php のページを表示させてみて、mbstri...
なければ、phpがmbstringのオプション付きでコンパイルされて...
もし、ports では php4.3.8は、オプションなしです。
php4.3.8に加えて、 lang/php4-extensions 入れる必要があり...
# cd /usr/ports/lang/php4-extensions
# make install clean
とすると、コンパイルオプションを選択する画面がでてきます。
ここで、mbstringを選びます。 -- [[iketomo]] &new{2004-11-...
-私もはまりました。最近の PHP の FreeBSD ports は、php(4|...
-php(4|5)-extensionを既に make install clean しているので...
-やはり、/usr/ports/UPDATINGをみないといけませんね。20040...
20040719:
AFFECTS: users of PHP
AUTHOR: ale@FreeBSD.org
The old lang/php4 and lang/php5 ports have been splitted ...
PEAR, and shared extensions to allow more flexibility and...
Upgrading your current PHP installation will result in a ...
installation (no PEAR and no extensions).
PEAR can be found in the new devel/php4-pear and devel/ph...
the set of PHP extensions to install can be choosen via t...
lang/php4-extensions and lang/php5-extensions, or install...
extensions individually.
If you have a previous php.ini configuration file, be sur...
the extension_dir parameter, since the correct path is st...
into the PHP binary.
For an overview of the modules used with the old PHP bina...
the command "php -m".-- [[iketomo]] &new{2004-11-16 (火) ...
-php4-extensionsをmakeしなおすことでOKでした。自分ではmbs...
-細かいことですが、誤った情報がPukiWikiの公式サイトに残る...
好ましくないと思いますので、敢えて補足しておきます。~
Fatal error: Call to undefined function: preg_match()
の原因は、''mbstringが入っていない為ではありません''。
先に指摘された方もおられますが、pcreが有効になっていない...
php4-extensionsでmbstringを有効にしてmakeしなおすことで
問題が解決されたのは、php4-extensions/Makefileで~
WITH_PCRE= yes
になっている為、意識してPCREのチェックを外さない限り、dev...
がインストールされるせいでしょう。 -- &new{2004-11-21 (...
-皆さん補足ありがとうございます :) -- [[henoheno]] &new{2...
-pukiwiki/lib/func.php on line 40のエラーではまってました...
- OS: FreeBSD 6.0-release、Apache/1.3.34 (Unix) PHP/4.4.1...
- extensions(pcre)の設定後のApache再起動を忘れている。と...
- [[質問箱/3560]] -- &new{2006-12-17 (日) 11:31:48};
- [[質問箱/4459]], [[質問箱/4551]] -- &new{2010-01-23 (...
//#comment
ページ名: