Monday, June 1, 2009

installing apache php APC vmware tools

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:
^^^ -> Default value

^^^^ -> 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
===> 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:

- install vmware tools
Do not forget to add COMPAT_FREEBSD6 into *
* your kernel configuration (enabled by default). *
* *
* To configure and recompile your kernel see: *
* *

please remember to configure your network by adding:
to the /etc/rc.conf file and start the network with:
to use the vmxnet interface using DHCP

No comments: