Entry
How do I compile php
Dec 5th, 2003 06:37
Pascal Philogene,
The easiest way of compiling php if you are using windows is to use
the Windows Installer version of php. The most of the process is done
automatically; it configures automatically popular servers like IIS,
Apache, Unix…etc. Once this is done, you will have to configure the
php.ini text file. Follow the instructions, and edit only the part
which concerns your case, i.e, your server, platform(where should be
the php folders, what is the database password(e.g mysql/msql), what
is its socket name…. Etc. Let us say you are using Mysql, IIS and Php.
You will get all the database details in winmysqladmin.exe front tab,
the server address is also easy to find in iis admin(normally
localhost/127.0.0.1). You will also have to edit this file if you use
php applications which require special setting, such as php safe mode,
follow the instructions provided with these php applications(e.g when
installing readymade database driven websites/ php portals or
discussion boards). Remember to save this file after editing and
that’s all, php should be working now. (you can create the file
phpinfo as directed on the php website www.php.net to be informed of
the specs of the server and settings.)
If you are using another platform than windows, such as unix, you
should compile the files manually, it is very easy to do as it has
very clear instructions, don’t forget to configure the server finally
(to register the php default extentions .php, .php3, .phtml) to get
all the thing working.