fedor サーバ にvnc-server のインストール
fedor サーバ にvnc-server のインストール
yum install -y vnc-server
fedor サーバ にvnc-server のインストール
yum install -y vnc-server
hostsファイルの設定を変えた場合は、
# /etc/rc.d/init.d/network resatart
または、
# /etc/rc.d/init.d/network reload
で反映させる。
ページランク取得のプログラムをMODxやWordpress内で動かそうとすると以下のエラーが出る。
Error: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known
CMSの内部ではなく、以下のようにphpファイルを直接動かすと正常に動く。
http://tools.yamazon.org/b.php
この辺の違いはなんなんだろうか・・・今のところ未確認。
以下のようにfopenを使う?
http://oshiete1.goo.ne.jp/qa1276136.html
htmlファイルでphpを動かすための.htaccessファイルの設定
.htaccessファイル内に以下の行を記述します。
AddType application/x-httpd-php .htm .html
当然の前提条件として、htaccessの動作が許可されているサーバに限ります。
最近のコメント