Run your own "test" server under windows ⇒ Frequently Asked Questions ⇒ CPG Dragonfly™ CMS

Apache works now what ?

Download the following PHP 4.3.6 (or newer) packages
  • PHP 4.3.6 installer
  • PHP 4.3.6 zip package
Install php-4.3.6-installer.exe and don't forget to choose Apache.
Ignore the error when the installer says it can't modify Apache.

Extract the php4apache.dll from the zip package and copy that into your c:\php directory

Cool everything works now what ?

You need a database !!
Download Mysql 4.0.18 installer and execute the installer afterwards.

Execute c:\mysql\bin\winmysqladmin.exe to start the service

You can use something like MySQL-Front 2.5 to control your databases fast and easy locally
hostname: localhost
user: root
pass: <empty>
port: 3306

How do i check if PHP works

Restart the Apache server if you didn't do that already.
Then create a file named index.php into "C:\Program Files\Apache Group\Apache\htdocs" or if you modified the 'DocumentRoot' in httpd.conf then put it in the new path.
And index.php should contain<?php phpinfo(); ?>
Go to localhost/index.php and check if it works

How install DragonflyCMS locally now server works ?

Extract cpgnuke package into "C:\Program Files\Apache Group\Apache\htdocs" or if you modified the 'DocumentRoot' in httpd.conf then put it in the new path.

Thru MySQL-Front create a new database named 'dragonfly' or just something else.
Modify in your documentroot 'html/config.php' so that$dbname = "nuke"; reflects your new databasename.

Surf to your browser localhost/html/install.php and if everything is correct it should install DragonflyCMS and you can run it locally to test it out.


IIS or Apache ?

Definitely Apache since your already doing unsecure things never activate IIS of windows is preferable.

When you want to make your local server active for the www we advice you to NOT do that, only use it as test server.

Install Apache

Start with download the following Apache 1.3 packages
  • apache_1.3.29-win32-x86-no_src.exe
  • apache_1.3.29.tar.gz
You can also download the Apache 2.x packages but these docs are written for 1.3

Then install apache_1.3.29-win32-x86-no_src.exe

After install start Apache and go to your browser and surf to localhost to check if server works

PHP installed but not working in Apache

open the httpd.conf from Apache and start editing.

find AddModule mod_setenvif.creplace withAddModule mod_setenvif.c LoadModule php4_module c:/php/php4apache.dll

find <IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule>replace with<IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule>

find AddType application/x-tar .tgzreplace with AddType application/x-tar .tgz AddType application/x-httpd-php .php

Save and close the file.
Then open c:\windows\php.ini and read all info in there carefully and modify if needed. for example finderror_reporting = E_ALL; display all errors, warnings and noticesand replace with;error_reporting = E_ALL; display all errors, warnings and notices error_reporting = E_WARNING & ~E_NOTICE

Don't forget to activate the GD2 extension so the graphics processor works!
;extension=php_filepro.dll ;extension=php_gd2.dll ;extension=php_gettext.dllreplace with;extension=php_filepro.dll extension=extensions\php_gd2.dll ;extension=php_gettext.dllIt could be possible you need to extract php_gd2.dll from the zip
User Info

Welcome Anonymous


Support for DragonflyCMS in a other languages: