[PHP-users 34632] Re: phpinfo.phpをするとeditor(bluefish)を開くかと聞かれてしまう

Zen Kato zenkato @ zm.commufa.jp
2009年 6月 30日 (火) 17:03:43 JST


> 
>  環境がわからないので憶測ですが、
> ファイルを開くための関連付けが変更されたのでしょう。

Fedora7でphp-5.2.6-2.fc7,httpd-2.2.8-1.fc7を使用しています.
/etc/httpd/conf.d/php.confは以下のように変更された気配はないです。

#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#

LoadModule php5_module modules/libphp5.so

#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php

#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php

#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps

>  Linuxならファイルの種類で.phpをPHPで開くように
> 修正してみてください。
すみませんどこを修正したらいいのか分かりません.
--
Zen


PHP-users メーリングリストの案内