# yum --enablerepo=fc6extras install mod_suphp
[global]
logfile=/var/log/suphp.log
loglevel=info
webserver_user=apache
docroot=/
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false
check_vhost_docroot=true
errors_to_browser=true
env_path=/bin:/usr/bin
umask=0077
min_uid=500
min_gid=500
handle_userdir=true
[handlers]
; ここを変更する
;x-httpd-php=php:/usr/bin/php
x-httpd-php="php:/usr/bin/php-cgi"
x-suphp-cgi=execute:!self
LoadModule suphp_module modules/mod_suphp.so
# mod_suphp を有効にするときは、頭の#を消す
#suPHP_AddHandler x-httpd-php
suPHP_AddHandler x-httpd-php
suPHP_Engine on
# 下記を php.conf から転記する
AddHandler x-httpd-php .php
DirectoryIndex index.php
chmod 777 /var/lib/php/session
# /etc/init.d/httpd restart
<?php phpinfo(); ?>
Server API: CGI/FastCGI
# tail /var/log/suphp.log
-----
Executing "/xxx/phpinfo.php" as UID 501, GID 501
# yum install bind bind-chroot
# yum install caching-nameserver
# cd /var/named/chroot/etc/
# cp -p named.caching-nameserver.conf named.conf
options {
// 外部にポートを開ける
// listen-on port 53 { 127.0.0.1; };
// listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
// 外部からの問合せを許可する
allow-query { any; };
allow-query-cache { localhost; };
// スレーブへのゾーン転送を許可する
allow-transfer {
xxx.xxx.xxx.xxx;
};
};
// rndc key を指定する
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/rndc.key";
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
// view 指定を外す
//view localhost_resolver {
// match-clients { localhost; };
// match-destinations { localhost; };
// recursion yes;
// include "/etc/named.rfc1912.zones";
//};
include "/etc/named.rfc1912.zones";
// マスターのソーンファイルを指定する
include "/etc/named.master.zones";
zone "exsample.com"{
type master;
file "masters/exsample.com.zone";
allow-update { none; };
};
$TTL 86400
@ IN SOA host.exsample.com. postmaster.exsample.com. (
2010010101 ; serial
86400 ; refresh
3600 ; retry
3600000 ; expire
1200 ; Negative Cache TTL
)
@ IN A xxx.xxx.xxx.xxx
@ IN NS ns1.exsample.com.
@ IN NS ns4.exsample.com.
@ IN MX 10 mail.exsample.com.
localhost IN A 127.0.0.1
host IN A xxx.xxx.xxx.xxx
ns1 IN A xxx.xxx.xxx.xxx
ns2 IN A xxx.xxx.xxx.xxx
mail IN A xxx.xxx.xxx.xxx
# chmod g+w /var/named/chroot/var/named
# /etc/init.d/named start
# dig exsample.com @localhost
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> exsample.com @localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2075
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;exsample.com. IN A
;; ANSWER SECTION:
exsample.com. 86400 IN A xxx.xxx.xxx.xxx
;; AUTHORITY SECTION:
exsample.com. 86400 IN NS ns1.exsample.com.
exsample.com. 86400 IN NS ns2.exsample.com.
;; ADDITIONAL SECTION:
ns1.exsample.com. 86400 IN A xxx.xxx.xxx.xxx
ns2.exsample.com. 86400 IN A xxx.xxx.xxx.xxx
host.exsample.com. 86400 IN A xxx.xxx.xxx.xxx
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Mar 7 00:44:17 2010
;; MSG SIZE rcvd: 147
解決できました(汗)
「主催者」という項目名に変わっています。
define("_WLS_PROMOTER","主催者");
QRコードが黒い小さな点で表示されるだけでうまく生成されません。
その新規投稿と編集にかかわるPHPファイルを教えて頂きませんか?
ところで、d3imgtagはイメージマネージャ統合機能として使っていますが、PHPモードでImageMagick処理には問題ないようです、
テンプレートファイルの「liaise_form.html」にタグの閉じ漏れがあったことが原因でした。
6行目あたりですが、
投稿文の一部修正時には更新日を変えないようにできないでしょうか?

FATAL: emalloc(): Unable to allocate 16 bytes,
Premature end of script headers: index.php
memory_limitは 256Mとしておりますが、
ここを上げてみても状況は変わりませんでした。
具体的には、登録時にURLの初期値として、
ユーザ名.example.comといったURLがあらかじめ入力されて
いるようにしたいと考えております。

$GPGGA,111029.000,3533.661,N,13935.656,E,0,00,0.0,20.187,M,0.0,M,,*54
$GPRMC,111034.000,V,3533.664,N,13935.658,E,0.00,0.00,141009,,*1B
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes) in /.../kernel/object.php on line 232
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 26 bytes) in /.../xoops_trust_path/wizin/src/cache/File.class.php on line 74
Warning: exif_read_data(xxxx.jpg) [exif_read_data]: Illegal IFD size: 2 + x0005*12 = x003E > x002A in /.../xoops_trust_path/modules/webphoto/class/lib/exif.php on line 63