Build The php Envirement to Study Ogame

Build The php Envirement to Study Ogame

step 1
download the eclipse for php from http://www.eclipse.org/downloads

step 2
install the WAMP(Windows Apache Mysql PHP) envirement from http://www.wampserver.com/en/
So I download the version WampServer 2.0i, and the version of the features are as follows:
Apache 2.2.11
MySQL 5.1.36
PHP 5.3.0
Phpmyadmin

install the WampServer 2.0i in location c:/wamp as my friend said so.

find the php.ini file and modify it C:\wamp\bin\apache\Apache2.2.11\bin\php.ini
according to my friend's blog:
error_reporting settings:
; error_reporting = E_ALL
error_reporting = E_ALL & ~E_NOTICE

register_globals settings:
; register_globals = Off
register_globals = On

step3 download the ogame source code from my friend's svn  repository http://wgame.3322.org:88/svn/xnova

step4 config and run

create a conf file in c:\wamp\alias\ogame.conf:

Alias /ogame/ "e:/work/xnova/"
<Directory "e:/work/xnova/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order allow,deny
    Allow from all
</Directory>

run all services and visite URL http://localhost/ogame/install

so, there are some problem because I install mysql before and give it a password, so something is different here.

I install this in my clear system in virtual box, everything goes well.


reference:
my friend's blog
http://coder9527.appspot.com
blog from internet
http://blog.csdn.net/lanphaday/category/493714.aspx

你可能感兴趣的:(apache,eclipse,mysql,PHP,SVN)