Warning: Declaration of description_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = NULL, $id = 0) in /home/12studio/vps-tora.com/public_html/wp-content/themes/biz-vektor/functions.php on line 0
WEBサーバ | VPS設定のつぼ | VPS虎の巻 -VPS比較&設定のつぼ-

VPS設定のつぼ 使えるねっと WEBサーバ

[root@vps ~]# yum -y install httpd php php-mbstring php-pgsql php-mysql php-gd php-pear php-ldap php-odbc php-domxml php-imap php-ncurses php-snmp php-xmlrpc mod_ssl php-mcrypt
[root@vps ~]# vi /etc/httpd/conf/httpd.conf

ServerTokens OS
ServerTokens Prod

KeepAlive Off
KeepAlive On

262行目 管理者のメールアドレスを変更
ServerAdmin root@localhost
ServerAdmin webmaster@vps-tora.com

276行目 コメントを解除してサーバ名を変更
#ServerName www.example.com:80
ServerName vps-tora.com:80

292行目 ドキュメントルート指定(必要なら)
DocumentRoot “/var/www/html”
DocumentRoot “/home/web/public_html”

317行目 ドキュメントルート・ディレクティブ(必要なら)
<Directory “/var/www/html”>
<Directory “/home/web/public_html”>

331行目 indexesを削除
Options Indexes FollowSymLinks
Options FollowSymLinks

338行目 NoneをAllに変更
AllowOverride None
AllowOverride All

402行目 ディレクトリ名でアクセスできるファイル名
DirectoryIndex index.html index.html.var
DirectoryIndex index.html index.php

536行目 OnをOffに変更
ServerSignature On
ServerSignature Off

LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
LanguagePriority ja en ca cs da de el eo es et fr he hr it ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW

AddDefaultCharset UTF-8
#AddDefaultCharset UTF-8

[root@vps ~]# vi /etc/php.ini

432行 OnをOffに変更
expose_php = On
expose_php = Off

error_reporting = E_ALL & ~E_DEPRECATED
error_reporting = E_ALL & ~E_NOTICE

530行 OffをOnに変更
display_errors = Off
display_errors = On

[root@vps ~]# /etc/rc.d/init.d/httpd start
Starting httpd: [ OK ]
[root@vps ~]# chkconfig httpd on

Fatal error: Uncaught Error: Call to undefined function spliti() in /home/12studio/vps-tora.com/public_html/wp-content/themes/biz-vektor/inc/theme-options.php:877 Stack trace: #0 /home/12studio/vps-tora.com/public_html/wp-content/themes/biz-vektor/page.php(100): biz_vektor_snsBtns() #1 /home/12studio/vps-tora.com/public_html/wp-includes/template-loader.php(106): include('/home/12studio/...') #2 /home/12studio/vps-tora.com/public_html/wp-blog-header.php(19): require_once('/home/12studio/...') #3 /home/12studio/vps-tora.com/public_html/index.php(17): require('/home/12studio/...') #4 {main} thrown in /home/12studio/vps-tora.com/public_html/wp-content/themes/biz-vektor/inc/theme-options.php on line 877