Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Frequently Asked Questions


Main | Search

Question
Sort: Ascending / Descending
Apache works now what ?
Cool everything works now what ?
How do i check if PHP works
How install DragonflyCMS locally now server works ?
IIS or Apache ?
Install Apache
PHP installed but not working in Apache

Answer
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 mysqlfront.phpsoft.it/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:
<?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
PHP:
$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.

GOOD LUCK !!!!


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
Code::
AddModule mod_setenvif.c
replace with
Code::
AddModule mod_setenvif.c

LoadModule php4_module c:/php/php4apache.dll

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

find
Code::
    AddType application/x-tar .tgz
replace with
Code::
    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 find
Code::
error_reporting  = E_ALL; display all errors, warnings and notices
and replace with
Code::
;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!
find
Code::
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
replace with
Code::
;extension=php_filepro.dll
extension=extensions\php_gd2.dll
;extension=php_gettext.dll
It could be possible you need to extract php_gd2.dll from the zip


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy