
In the past months I was able to handle a LAMP server, this is my second time to handle a UNIX based web server but this time its a lot different because I will will be the one to install and configure the web server. Our System administrator was the one who installed the latest version of slackware which is 13.1 on the machine, so all I need to do is have the web server up and running.
Our system administrator did include the x packages when he installed slackware and this caused me a problem in running PHP because it gave me several errors in GD support. The error I get was,
I was able to solve the problem with the following steps taken and was based from a linux forum I really loved.
Download the packages by entering the following commands,
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/xtrans-1.0.3-noarch-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXdmcp-1.0.2-i486-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXau-1.0.3-i486-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libX11-1.1.1-i486-4.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXt-1.0.5-i486-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libSM-1.0.3-i486-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libICE-1.0.3-i486-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libXpm-3.5.6-i486-1.tgz
- root@icpep:~# wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/slackware/x/libxcb-1.0-i486-2.tgz
After downloading the files I installed them using pkgtool and select install packages from current directory and by there it will display the packages downloaded. Here is a sample of how to install it using pkgtool,

After installing the packages restart your apache and PHP GD support should be working. To check type this command,
