visit online pharmacy and buy norvasc online, after that buy cheap wellbutrin online no prescription, and cheapest valtrex no prescription. Get your discount in pharmacy when buy arimidex online, and buy lasix without prescription. Make sure your are secure when you buy neurontin online without prescription, and buying cheap retin-a no prescription online. Best place to order flagyl online without prescription, and order cheap zovirax online no prescription, and order cheap zovirax no prescription. Go to the best pharmacy online to buy baclofen online, and purchase clomid online with no prescription, and buy diflucan without a prescription online, and purchase with no prescription premarin 15 mg online. Get a discount when buy doxycycline online no prescription, and buy cheap acyclovir online no prescription
buy online retin-a overnight without rx, and buy cheap amoxil purchased online without prescription, and buying cheap premarin with free fedex overnight, and buying cheap diflucan (fluconazole) cod saturday delivery, and buy online taking too much synthroid medication, and cheap pharmacy clomid twin, and purchase with no prescription order zovirax (acyclovir) creditcard, and order online buy generic wellbutrin cheap no membership, and cheap online will generic available valtrex in toronto, and cheap pharmacy order cheap order propecia online, and order online no prescription hydrochlorothiazide online pharmacy, and pharmacy cheapest accutane ultrum, and pharmacy cheapest cheap doxycycline without rx, and ordering online where to buy norvasc, and buy cheapest prozac for sale cod, and buy online where can i buy flagyl online, and buying cheap acyclovir xr purchase online cheap, and purchase with no prescription forum paxil, and ordering online best buy lipitor, and buy cheapest arimidex buy without a prescription, and pharmacy cheapest bactrim overnight delivery cheap, and generic medications buy neurontin online no membership, and order cheap baclofen side effects, and order online price zithromax, and pharmacy cheapest where to buy lasix without a prescription, and

存档

‘PHP’ 分类的存档

PHP,Rails,Java 比较: Java 可伸缩性低于 PHP

2006年11月13日 没有评论

Tim Bray 对流行的开发框架 : PHP, Rails, Java 在可伸缩性、开发速度、开发工具、可维护性四个方面进行了比较,得出的结论是:

PHP 的可伸缩性最高,Rails 的可维护性最好,Java在开发工具上获胜。

对此,你有怎样的看法,欢迎参与评论。

下载幻灯片(PDF)

分类: Java, PHP, Ruby & Rails 标签:

PHP 5.2.0 正式发布

2006年11月4日 没有评论

PHPChina讯】11月3日消息:php开发小组宣布PHP5.2.0版发布。PHP5.2.0版修正了一些bug并且增强了安全性,增加了关于large Number的特性等。PHP开发小组建议,PHP5早期版本的使用者,应该及时更新最新版本的PHP5.2.0。

Php5.2.0主要特性介绍:

  • 应用于zend引擎的新的内存管理,增强了性能并且更正确的内存应用跟踪。
  • 增加了过滤器扩展并且默认激活
  • 增加了JSON扩展并且默认激活;
  • 引入了能够创建并编辑ZIP文件的ZIP扩展;
  • 引入了追踪文件上载过程的HOOKS钩子;
  • 增加了E_RECOVERABLE_ERROR的错误模式;
  • 增加了DateTime和DateTimeZone对象方法用于操作DATE/TIME信息;
  • 更新了SQLite, PCRE库;
  • 更新了OpenSSL, MySQL和 PostgreSQL的windows安装模块;
  • 改进了性能;
  • 修改了超过200个bug.;

Php5.2.0安全更新和修复:

  • 增加了PostgreSQL 和 PDO扩展中的PostgreSQL转义函数能够随时明了字符集编码的类型;
  • 增加了allow_url_include默认设置为OFF用于禁止include和require 的URLS;
  • 使用open_basedir 和 safe_mode时禁止真实路径缓存;
  • 改良了error_log()函数用于safe_mode的情况;
  • 修正了htmlspecialchars() 和htmlentities()函数,代码的潜在可能的缓冲溢出;
  • 在Curl扩展中缺少的safe_mode 和 open_basedir检查;
  • 修正了64位系统下str_repeat() & wordwrap()函数得溢出;
  • 修正了tempnam()函数对于长路径的处理;
  • 修正了safe_mode/open_basedir下对于session.save_path的检查允许他们声明额外的参数;
  • 修正了ini_restore()函数ini设置的超载;

PHP5.2对PHP5.0、PHP5.1的功能升级更新列表:http://www.php.net/UPDATE_5_2.txt

下载 PHP 5.2.0

分类: PHP 标签:

PHP Drives Business: Zend Customer Clips

2006年10月1日 没有评论






分类: PHP 标签:

在 FreeBSD 5.5, 6.1 上安装 Lighttpd,PHP,MySQL

2006年6月22日 没有评论

今天在一台跑 FreeBSD 5.5 的 Intel 至强服务器上成功安装 MySQL,PHP,Lighttpd等软件包, 现整理如下与大家分享. 随后还有在FreeBSD 上 Java 系统的安装等. (注意: 在FreeBSD下有 Packages , Ports 两种安装软件包的方式供用户选择)
1. install mysql 4.1 mysql41-client // version is 4.1.18

pkg_add -r mysql41-server
pkg_add -r mysql41-client

/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe -user=mysql &
/usr/local/bin/mysqladmin -u root password ‘newpassword’

2. install php4,并support fastcgi
cd /usr/ports/distfiles
fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/php-4.4.2.tar.bz2
or http://download.freelamp.com/LAMP/
bunzip2 php-4.4.2.tar.bz2
tar xvf php-4.4.2.tar
./configure –enable-fastcgi –enable-force-cgi-redirect
make
make install

php -v
PHP 4.4.2 (cgi-fcgi) (built: Jun 23 2006 01:26:36)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

3. bind php4 and mysql (这步有问题,mysql的库总加载不上)
cd /usr/ports/databases/php4-mysql
make
make install

The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
extension=mysql.so

4. install lighttpd
pkg_add -r lighttpd

touch /var/log/lighttpd.error.log
touch /var/log/lighttpd.access.log
chown www:www /var/log/lighttpd.*

config php.ini, lighttpd.conf
# cd /usr/local/etc/
# cp lighttpd.conf.sample lighttpd.conf
# cp php.ini-recommended php.ini
修改 lighttpd.conf
server.modules = (
“mod_access”,
“mod_fastcgi”,
“mod_accesslog” )

server.document-root = “/usr/local/www/demo/”

fastcgi.server = ( “.php” =>
( “localhost” =>
(
“socket” => “/tmp/php-fastcgi.socket”,
“bin-path” => “/usr/local/bin” )))

测试:
touch test.php
phpinfo();
?>

# /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf
或者
Usage: /usr/local/etc/rc.d/lighttpd [fast|force|one](start|stop|restart|rcvar|status|poll)
http://localhost/test.php
OK :)

————————————
在 FreeBSD 6.1 上安装 Lightttpd,PHP, MySQL 过程异常简单
1. install mysql 5
# cd /usr/ports/databases/mysql5-server
# make install
后面步骤同上
2. install php5
下载ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/php-5.1.2.tar.bz2
后面步骤同上
3. bind php5 and mysql (mysql的库加载成功)
cd /usr/ports/databases/php5-mysql
make
make install
4. install lighttpd (同上)

FreeBSD 下安装 lighttpd+php+mysql+openssl

2006年6月18日 1 条评论

从16hot的播客上装载了这篇文章, 最近也将继续完善 FreeBSD 下Web环境的构建.

1 安装MySQL
这里是自己使用源码编译安装。
需要下载MySQL-4.0.25源码包。

cd /opt/distfiles
wget xxx
tar -zxvf mysql-4.0.25.tar.gz -C src
cd src/mysql-4.0.25/
./configure –prefix=/opt/modules/mysql
–enable-assembler
–with-mysqld-ldflags=-all-static
–with-charset=gb2312
–without-debug

make
make install
/opt/modules/mysql/bin/mysql_install_db
chown -R mysql.mysql /opt/modules/mysql/var
chgrp mysql /opt/modules/mysql

2 安装PHP
./configure
–prefix=/opt/modules/phpcgi
–enable-fastcgi
–enable-force-cgi-redirect
–enable-bcmath
–enable-inline-optimization
–enable-magic-quotes
–enable-wddx–disable-debug
–enable-sysvmsg
–enable-sockets
–enable-mbstring
–enable-calendar
–with-trans-sid
–with-ldap
–with-ldap-sasl
–with-mysql=/opt/modulels/mysql

3 安装lighttpd

cd /usr/ports/www/lighttpd/
make install clean

执行后,将会提示一些选项只要选中OPENSSL 就可以了,其他的不用选。

4 整合配置

4.1 修改默认网站文件路径
server.document-root = “/opt/data/www/”

4.2 打开fastcgi模块支持
将 #”mod_fastcgi”, 的#去掉

4.3 设定PHP支持
#### fastcgi module
## read fastcgi.txt for more info
fastcgi.server = ( “.php” =>
( “localhost” =>
(
“socket” => “/tmp/php-fastcgi.socket”,
“bin-path” => “/opt/modules/phpcgi/bin/php”,
# 如果你的网站很繁忙,可以加入如下设置
#”bin-environment” => (
# “PHP_FCGI_CHILDREN” => “16”,
# “PHP_FCGI_MAX_REQUESTS” => “10000”
#)

#”bin-path” => “/usr/local/bin/php”
)))

4.4 创建日志文件及设置权限

touch /var/log/lighttpd.error.log
touch /var/log/lighttpd.access.log
chown www:www /var/log/lighttpd.*

4.5 设置SSL支持
4.5.1 创建证书
cd /opt/etc/
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
4.5.2 打开SSL支持
#### SSL engine
ssl.engine = “enable”
ssl.pemfile = “/opt/etc/server.pem”

4.6 设置监听端口
默认的监听端口是 80,如果需要更改端口,可以修改配置设定。
## bind to port (default: 80)
#server.port = 81

5 启动
5.1 设置自动启动
vi /etc/rc.conf
lighttpd_enable=”YES”
5.2 手工启动
/usr/local/etc/rc.d/lighttpd.sh start
注意,如果没有在/etc/rc.conf添加 /etc/rc.conf ,是不能启动的。所以需要先添加。

PHPeclipse 1.1.8 发布

2006年6月1日 没有评论

PHPEclipse 是一个 Eclipse 插件,它为 PHP 开发人员提供一个集成的开发环境.

使用PHPEclipse 之前, 需要安装以下软件:

目前还不太清楚PHPEclipse项目与Eclipse官方的PHP IDE项目有什么区别与联系。

Eclipse PHP IDE 项目由 zend 和 IBM 共同领导,目前还没有发布正式产品。

下面是 Eclipse PHP IDE 的结构示意图:

分类: NetBeans & Eclipse, PHP 标签: ,