Adding PHP to Apache

Created 08 May 2003 00:00

To get Apache to load mod_php at startup time, httpd.conf must be edited and the following must be typed in:

LoadModule php4_module        libexec/

underneath the Dynamic Shared Object (DSO) Support section. PHP may have already done this for you. Also, Apache must know when to use the mod_php module, therefore you will need to add this in the relevant section:

AddType application/x-httpd-php .php .phtml

You may also wish to edit the DirectoryIndex directive in httpd.conf to:

DirectoryIndex index.html index.php index.phtml

Restart apache to view PHP scripts through your web browser:

apachectl restart

Linux network messages (net send equivalent)

Created 19 May 2003 00:00
In Windows, you can use
net send <machinename> <message>
to send instant messages to another machine.

You can do this using samba from a Linux machine too with:

  smbclient -M <machinename>