When installing Apache:
- op-code cache: APC, eAccelerator and XCache compared
- HTTP Compression. Apache2 內建 的 mod_deflate(gzip) 來壓縮網頁提高傳輸效能
- httpd.conf: server name.
- vhosts
When installing PHP:
- the differences between setting up php to run through an apache module or through the cgi processor?
- php.ini: magic quote, memory, error log On, error log file path,
- to use the pecl, pear, or phpize commands
# cd /usr/ports/www/pecl-APC; make install
You may edit /usr/local/etc/php.ini to change this variables:
apc.enabled="1"
^^^ -> Default value
apc.shm_size="30"
^^^^ -> Default value
* More information on /usr/local/share/doc/APC/INSTALL
Then restart your web server and consult the output of phpinfo().
If there is an informational section for APC, the installation was
successful.
************************************************************************
===> Registering installation for pecl-APC-3.0.19
****************************************************************************
The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
extension=apc.so
- install vmware tools
Do not forget to add COMPAT_FREEBSD6 into *
* your kernel configuration (enabled by default). *
* *
* To configure and recompile your kernel see: *
* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html *
please remember to configure your network by adding:
ifconfig_vxn0="dhcp"
to the /etc/rc.conf file and start the network with:
/etc/netstart
to use the vmxnet interface using DHCP
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment