History: Windows Local Install EasyPhp
Source of version: 27 (current)
Copy to clipboard
! Windows Local Install EasyPhp This is a section of ((Windows Desktop Install)). TikiWiki relies on three major external applications to run. * PHP (scripting language) * Web server (usually Apache) * Database (usually MySQL) These three applications are needed to run Tiki. The nice folks at EasyPHP have bundled these three plus phpMyAdmin (to administer your database via a browser) Once these applications installed, a Tiki database must be created and a Tiki mysql user must be created with appropriate priviledges. -=OK, I'm ready to go. What do I need?=- These instructions are designed to be used as a step-by-step guide. You can print them out and/or just keep this browser window open. They explain how to install EasyPHP (which provides in a quick way PHP, Apache, MySQL and more) and then setup Tiki. They were tested on: *Windows XP machine with EasyPHP 1.7 and TikiWiki 1.8 *Windows 2000 machine with EasyPHP 1.6 and TikiWiki 1.7.1.1. *Windows XP SP3 with EasyPHP 5.3.0 & Tikiwiki 2.2 They should work with few differences on similar environments. Requirements: *A Windows PC with a .zip decompression utility. Windows XP, Windows 2000, Windows ME, Windows 98, Windows95?? (please confirm anyone?) *20 minutes (excluding download time for about 30 MB) *A decompression utility, as 7-Zip (see __Useful Links__ section at bottom of this page). *Disk space: 60 Megs {Keep in mind you will have Tiki + EasyPHP (PHP + Apache + MySQL + PhpMyAdmin)} !! Step 1: Download EasyPHP and TikiWiki See the links at the bottom of this page. For TikiWiki, you can choose between different compression formats, you most probably want the .zip, or the .7z if you have 7-Zip. !! Step 2: Setup EasyPHP # After the file has downloaded, double-clicking the easyPHP file setup file. +{img src="img/wiki_up/easyphpsetupexe.png" alt="Easy PHP setup file."} # Select your interface language. +{img src="img/wiki_up/easyphp_language.png" } %%% +Note: Be sure to specify your language. The default language is French. #The Welcome page appears. Click __Next__. #The License Agreement page appears. Select __I accept__ and click __Next__. #Read the warnings on the Information page and click __Next__. #On the Setup page, select your installation directory and click __Next__. +The default installation directory is: -+ C:\Program Files\EasyPHP 2.0b1 +- #Select a Start Menu folder and click __Next__. +The default Start menu folder is: -+ EasyPHP 2.0b1 +- #On the Ready to Install page, verify your installation information and click __Install__. + Easy PHP will install all the necessary files to your PC. # After all files are installed, the Complete page appears. Click __Finish__. +You may be prompted to restart your PC (Win 98 and earlier, only). # To start EasyPHP, select __Start > Program Files > EasyPHP > EasyPHP__. +EasyPHP will start. The EasyPHP logo should appear in the notification area of your task bar. +{img src="img/wiki_up/easyphp_taskbar.png" alt="EasyPHP in taskbar."} +The EasyPHP status window appears. Verify that both Apache and MySQL are running. +{img src="img/wiki_up/easyphp_main.png" } +If the window does not appear, double-click the EasyPHP icon in the task bar. To have EasyPHP start automatically when your PC boots, right-click the EasyPHP logo in the task bar and select __Configuration > EasyPHP__. Note: For more information, [http://www.canowhoopass.com/guides/easyphp/] is an excellent guide on installation of EasyPHP. !! Step 3: Create a database for Tiki # Open a web browser to: [http://127.0.0.1/home/mysql/]. The default phpMyAdmin page appears. +{img src="img/wiki_up/easyphp_phpmyadmin_1.png" } # In the field __Create new database__ type ''tiki'' (or some other name) and click __Create__. +This is the name of your MySQL database that Tiki will use. Write down the name of this database -- you will need it later. # Click __Create__. +phpMyAdmin creates the database and displays the message: __Database tiki has been created__ !! Step 4: Create a MySQL user # Point your browser to [http://127.0.0.1/home/mysql/] # Click __Privileges__. # Click __Add a new User__. +This will create a new ''database'' user -- this is __not__ a Tiki user. # On the Add a New User page, complete the Login information: ** __User name:__ Enter ''tikiadmin '' or another name if you wish. ** __Host:__ Leave this field as the default. If you encounter problems, try using __localhost__ or __127.0.0.1__ instead. ** __Password:__ Put a safe password here, you will need it later. ** __Re-type:__ Re-enter the password. +Write down the user name and password -- you will need them later. #In the Global Privileges area, click __Check All__. #Click __Go__ to create the database user. +MySQL creates the database user and displays the message: %%% __You have added a new user.__ !! Step 5: Reload MySQL *Note: This step MIGHT be optional. *Always remember to do this step when you make changes to the database. *point your browser to: [http://127.0.0.1/mysql/] click Reload MySQL !! Step 6: Decompress Tiki files #Uncompress the Tiki file that you downloaded. Uncompress the files into: +__ C:\Program Files\EasyPHP\www\tiki__ + %%% Note: Be sure to uncompress the files into a __tiki__ directory -- not directly in the __www__ directory. #Verify that the following file exists: +__C:\Program Files\EasyPHP\www\tiki\tiki-index.php__ !! Step 7: Run the install script # Point your browser to: [http://127.0.0.1/tiki/tiki-install.php] + You can then just follow the script's instructions or follow the rest of this step. # Fill the informations : ## __Database type__: MySQL __4__.x (depends on your version of EasyPHP) ## __Host__: localhost (leave as is) ## __User__: Enter ''tikiadmin'' or whatever database username you entered in {ALINK(aname="Step_4_Create_a_MySQL_user")}Step 4{ALINK}. ## __Password__: Enter the password you entered in {ALINK(aname="Step_4_Create_a_MySQL_user")}Step 4{ALINK}. ## __Database name__: Enter ''tiki'' or whatever database name you entered in {ALINK(aname="Step_3_Create_a_database_for_Tiki")}Step 3{ALINK}. # Click __Submit Query__. + If your browser offers to "remember values" say no. # Choose the profile that will determine initial settings. ''BasicEnabled'' is recommended for quick testing but you may want ''Default'' instead. Detailed descriptions can be read using the link. # Click __create__. + You should see __Your database has been configured and Tiki is ready to run, if this is your first install your admin password is 'admin'.__ # Click __Login as the administrator and lock installer (Recommended)__ (Note: in previous versions of Tiki, it said: __Click here to remove the install script and proceed into tiki__). You should finally enter the Tiki interface and see __Permission denied you cannot view this page__. If you get a timeout error, you need to change your php.ini to (: max_execution_time = 120) and restart Apache. The first time a page is called, Tiki generates a template. The next time, the page is generated much faster. !!!- If you get a timeout error, You need to change your php.ini to max_execution_time= 120 and restart apache. While you are there, you can modify memory_limit = 16M The first time a page is called, Tiki generates a template. The next time, the page is generated much faster. ! !!!- If you get a Parse error: (...) templates_c\preferences.php on line 94 If you get: Parse error: parse error, unexpected T_STRING in c:\program files\easyphp1-7 \www\templates_c\preferences.php on line 94 You need to go to "temp directory" here: [http://127.0.0.1/tiki/tiki-admin.php?page=general] and clear of any content ! !!!- Possible bug if you install at C:\Program Files\EasyPHP\www\ instead of C:\Program Files\EasyPHP\www\tiki [http://tikiwiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=4652] !! Step 8: Log in for the first time Log in using the login box in the right-hand column. You will get an permission error (you cannot view the request page, or something similar). Ignore this and log in using the login box in the right-hand column. Use the following information: # Enter those informations : ## __user:__ Enter ''admin''. ## __pass:__ Enter ''admin''. # Click __login__. !!Step 9: Change default password *new password: (use a secure password) !!Step 10: Congrats!!! It is recommended to create a new user and give him/her admin privileges instead of regularly using the admin account. You can now explore the interface but you should check the extra steps before to get you started. !!Step 11: Initial setup/configuration Please visit ((Initial Configuration)) -=Useful Links=- * EasyPHP + [http://www.easyphp.org] ** Download EasyPHP (8-11 MB) ++ [http://easyphp.org/download.php] ++ [http://sourceforge.net/project/showfiles.php?group_id=14045] * Download Tiki (6-10 MB) + [http://doc.tikiwiki.org/download] * Decompression utilities ** 7-Zip (Open Source, 41 languages, recommended) ++ [http://www.7-zip.org] ** WinZip (Free evaluation version available) ++ [http://www.winzip.com] ** PowerArchiver ++ [http://www.powerarchiver.com]