ソフトウエアは機能や性能面の向上だけでなくセキュリティーの面からもアップデートは頻繁に行いたいものだ。昨日から本日にかけて当サーバにていくつかのアップデートを実施したのでその内容を書き留めておく。
PHP
php4-4.4.2_1→php4-4.4.4_1(FreeBSD)アップグレード後Apacheが上がらない
公開 日, 2006-12-03 15:27
Tags: Apache | FreeBSD | PHP
Placing the contents of a block in any location
公開 土, 2006-11-04 01:36
Tags: PHPPlacing the contents of a block in any location
$output = module_invoke('search', 'block', 'view', 0);
print $output;
?>
Including another page in your node (or another page)
公開 土, 2006-11-04 01:20
Tags: PHPIncluding another page in your node (or another page)
This is the leading text before the calendar
// We save and restore the real path for the page
$q = $_GET['q'];
// Change event to the path you want, this is the part after q= (or after the base path if you have clean URLs enabled)
// The call to drupal_get_normal() allows for using path aliases.
$_GET['q'] = drupal_get_normal_path('event');
// Get and print the output for just the content associated with the path
// If you see the complete page within a page it means the path callback is probably calling theme('page', ....)
PHPの高速化(eAccelerator+ZendOptimizer3)
公開 木, 2006-10-19 21:16
Tags: PHP PHPを多用しているこのサイトにとってPHPの高速化は必然である。
以前Turck MMCacheを導入して対処してあったがAPCの導入に失敗しているためなんとなく満足できてなかった。





