Checking for packages with security vulnerabilities: Affected package: php5-5.3.8 Type of problem: php -- multiple vulnerabilities. Reference: <http://portaudit.FreeBSD.org/d3921810-3c80-11e1-97e8-00215c6a37bb.html> Affected package: php5-exif-5.3.6 Type of problem: php -- multiple vulnerabilities. Reference: <http://portaudit.FreeBSD.org/d3921810-3c80-11e1-97e8-00215c6a37bb.html> 2 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. -- End of security output --
ちうことなので、2012/01/15 portupgrade した。
*************************************************************** Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps *************************************************************** ===> Compressing manual pages for php5-5.3.9 ===> Registering installation for php5-5.3.9 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/libexec/apache22/libphp5.so /usr/local/bin/php /usr/local/bin/php-cgi If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.php.net/ ===> Cleaning for php5-5.3.9 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 148 packages found (-0 +1) . done]
で、まぁ、こうなったわけだけど・・・どうもおかしい。
のよ。(´д`) しかも全部が全部という訳では無く、もともと、このウィキがあった、
http://piano2nd.smb.net/~kuji/pukiwiki-1.4.7/
<?php // PukiWiki - Yet another WikiWikiWeb clone. // $Id: index.php,v 1.9 2006/05/13 07:39:49 henoheno Exp $ // Copyright (C) 2001-2006 PukiWiki Developers Team // License: GPL v2 or (at your option) any later version // Error reporting //error_reporting(0); // Nothing error_reporting(E_ERROR | E_PARSE); // Avoid E_WARNING, E_NOTICE, etc //error_reporting(E_ALL); // Debug purpose // Special //define('PKWK_READONLY', 1); //define('PKWK_SAFE_MODE', 1); //define('PKWK_OPTIMISE', 1); //define('TDIARY_THEME', 'digital_gadgets'); // Directory definition // (Ended with a slash like '../path/to/pkwk/', or '') define('DATA_HOME', ''); define('LIB_DIR', 'lib/'); require(LIB_DIR . 'pukiwiki.php'); ?>
とか、
http://piano2nd.smb.net/wordpress
<?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.smb.net/wordpress/"); ?>
がダウンロードとなっているが、
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?>
とか
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?>
はアクセスできる。