|
Using Windows and Apache to develop PHP3
Setting Up PHP3
There is a readme that comes with PHP3 on doing this. I will however
walk through it here as well. There is a file called php3.ini-dist that
came in the zip file. Copy that file to your 'windows' or 'winnt'
folder. Rename it php3.ini. You will need to edit this file.
The main thing is to load any modules that you want to use in PHP3 such as
mysql. To do this, find the section in the .ini file that reads like:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
; if you wish to have an extension loaded automatically, use the
; following syntax: extension=modulename.extension
; for example, on windows,
; extension=msql.dll
; or under UNIX,
; extension=msql.so
Following that will be several commented out lines. For example:
;Windows Extensions
;extension=php3_mysql.dll
;extension=php3_nsmail.dll
;extension=php3_calendar.dll
;extension=php3_dbase.dll


