主要的变化参考这里:
http://www.openbsd.org/faq/current.html
oamp环境设置的php部分发生了变化,正在学习。欢迎来
这里探讨。
2011/07/14 - [ports] PHP: support for multiple versions
Multiple PHP versions are now supported in packages.
php.ini moved
The directory layout of the PHP port has been adjusted. /var/www/conf/php.ini has been replaced by /etc/php-$VERSION.ini. If you have made changes to /var/www/conf/php.ini file, make sure they are carried across to the relevant file for whichever version you will be running (/etc/php-5.2.ini or /etc/php-5.3.ini).
php5.conf renamed to php-5.2.conf
If you are currently using PHP with the web server in base, you will need to adjust your configuration:
cd /var/www/conf/modules
rm php5.conf
ln -s /var/www/conf/modules.sample/php-5.2.conf /var/www/conf/modules/php.conf
php module changes
The various PHP modules (for example gd, mysql, postgresql, xcache, and various other modules which are part of PHP or from PECL) had their configuration files in /var/www/conf/php5.sample; symbolic links for active modules were placed in /var/www/conf/php5. These have moved to /etc/php-5.2.sample and /etc/php-5.2 respectively. You will need to check for existing links in /var/www/conf/php5 and create equivalent links in /etc/php-5.2. Note that mbstring is now part of the main php-5.2 package so an existing mbstring.ini symbolic link can be ignored.