Changes between Version 25 and Version 26 of GetStartedWithTheCode


Ignore:
Timestamp:
Nov 2, 2007 5:05:53 PM (10 years ago)
Author:
lemon-head
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GetStartedWithTheCode

    v25 v26  
    8080== Current, old style: Steps to take == 
    8181=== Install Apache, PHP, MySQL === 
    82 <small>Apache is webserver software, PHP is a programming languages used to create websites, and MySQL is a database server. You need all three to run BeWelcome on your own machine. Fortunately there are convenient ways to get all 3 at once.</small> 
    83  * <small>Do NOT use XAMPP on Windows - you end up with strange problems and nobody can help. (And on GNU/Linux you need root access to use XAMPP, in which case you better properly install the stuff.)</small> 
     82 
     83 * Apache is webserver software, which can turn your local machine into a web server. 
     84 * PHP means both a programming language, and the interpreter engine used to run any code in this language. With php, you can dynamically create a new webpage on the server, and then send it as html to the browser. 
     85 * MySQL is a database server. The central concepts are databases and users. A database consists of tables. And a user can have different read/write permissions on different databases. Usually when you install a new software on the server (like a blog, or a wiki, or whatever) you will have to create one new database, and one new user, and connect them. You can do all of this with phpMyAdmin. MySQL users are not the same as the users who will finally use your software!!! (for instance, one mediawiki can have thousands of registered web users, but need only one mysql user! 
     86 * phpMyAdmin is a tool to manage your MySQL databases, included in WAMP. You can create new databases directly from the main page. To create a new user or manage access rights, you need to click "privileges". 
     87 
     88You need to have all three installed, to run BeWelcome on your own machine. Fortunately there are convenient ways to get all 3 at once. 
     89 * Do NOT use XAMPP on Windows - you end up with strange problems and nobody can help. (And on GNU/Linux you need root access to use XAMPP, in which case you better properly install the stuff.) 
    8490 * Try '''[http://www.wampserver.com WAMPSERVER]''' on Windows before digging deeper or asking questions. Additional steps needed for WAMP: 
    8591  *enable gd lib in <tt>php\php.ini</tt> in the directory where wamp was installed (just remove the ";" comment symbol): 
    8692 extension=php_gd2.dll 
    8793 * '''[http://www.easyphp.org easyPHP]''' is also a good option. You'll need to: 
    88  ** download at least v2.0beta 
    89  ** set <tt>DocumentRoot</tt> in <tt>easyPHP/conf_files/http.conf</tt> to the htdocs directory of your repository 
    90  ** don't forget to update the Directory directive some lines below to the same path! 
    91  ** alter <tt>conf_files/php.ini</tt> and set  
     94  * download at least v2.0beta 
     95  * set <tt>DocumentRoot</tt> in <tt>easyPHP/conf_files/http.conf</tt> to the htdocs directory of your repository 
     96  * don't forget to update the Directory directive some lines below to the same path! 
     97  * alter <tt>conf_files/php.ini</tt> and set  
    9298 short_open_tag = on 
    93  ** restart Apache afterwards 
    94  ** create a DB and fill the tables with phpMyAdmin, accessible via <tt>http://localhost/home</tt> 
     99  * restart Apache afterwards 
     100  * create a DB and fill the tables with phpMyAdmin, accessible via <tt>http://localhost/home</tt> 
    95101 
    96102=== Install Subversion, Get the Code ===