Menu

how to install PhpSgeX

Raffaele Aldrigo

What you need

A web host like altervista or xampp for local testing
php 5.3.2 minimum or greater version
mysqli database

How to install - standard installation

If your host is linux you need to follow manual installation first.

Just download the latest version of PhpSgeX, extract the files in a folder (eg: phpsge)
Upload the folder on your host directory (or drag it in C:\xampp\htdocs if you are installing locally)
open your browser and surf to http://yoursite.com/phpsge (or http://localhost/phpsge if on xampp)

The installation page appears, just choose your language (can be changed by each user!)
Fill in the fields for mysqli connection details, usually you receive this details by the web host and they are used to connect to your mysql database trought phpmyadmin

For local use (or standard configuration of the webhosts)
Host is: localhost
Username is: root
Password leave blank
Database... you must know the name if it exist or enter a new name and phpsgex will create a new database! (the mysql user must have the rights)

Press ok, and if phpsgex can connect to database you can proceed and fill the data and choose the type of your game!

Insert game information and template (can be changed later)

there are currently 2 city systems:

1) ogame type (standard)
2) travian type (beta, it requires a templates that supports it)

same for the maps:

1) ogame map (standard)
2) travian map (stable, it requires a template that supports it)

you can combine as you want you can freely choose (for example) ogame city sys and travian city sys
City System and Map System CAN'T BE CHANGED LATER

after this press install! and you phpsge will populate the database (requires some time)
remember to delete install directory.

Manual installation (need to do this on linux)

Just set chmod to 777 on install folder and subdirectorys, now follow standard installation

Creating an admin account

After installation just register, the first user will be admin for default


Related

Wiki: Home

Discussion

  • Barbara Wu

    Barbara Wu - 2025-10-20
    Post awaiting moderation.
  • Barbara Wu

    Barbara Wu - 2025-10-20

    I really like the feature to automatically create a database if it doesn't exist yet.
    block blast

     

    Last edit: Barbara Wu 2025-10-20

Log in to post a comment.