0% found this document useful (0 votes)
13 views3 pages

How To Install RosarioSIS On Windows

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 3

How to install RosarioSIS on Windows

Note: Below we are going to open INI and PHP files. You may want to install Notepad++ first to
get syntax highlighting.

Install XAMPP
XAMPP will install Apache (web server), MariaDB (MySQL database server), and PHP.

1. Download XAMPP 8.1 for Windows (x64)

Note: if your computer is 32bit, please download this XAMPP 7.3 instead. This is the latest
available 32bit version of XAMPP.

2. Open the XAMPP installer


3. On the "Select Components" screen, uncheck FileZilla FTP Server, Mercury Mail Server,
TomCat, Perl and Fake Sendmail. Click "Next"
4. On the "Installation folder" screen, enter C:\xampp. Click "Next"
5. On the "Language" screen, select your preferred language. Click "Next"
6. Click "Next" and wait for XAMPP to install
7. On the "Completing the XAMPP Setup Wizard" screen, check "Do you want to start the
Control Panel now?". Click "Finish"

Configure PHP
1. Open the XAMPP Control Panel
2. Click "Config" next to Apache. Select "PHP (php.ini)"
3. Edit the php.ini file as follows, search with CTRL + F

extension=gd
;extension=gettext
extension=intl

; Maximum time in seconds a PHP script is allowed to run


max_execution_time = 240

; Maximum accepted input variables ($_GET, $_POST)


; 4000 allows submitting lists of up to 1000 elements, each with multiple
inputs
max_input_vars = 4000

; Maximum memory (RAM) allocated to a PHP script


memory_limit = 512M

; Session timeout: 1 hour


session.gc_maxlifetime = 3600

; Maximum allowed size for uploaded files


upload_max_filesize = 50M

; Must be greater than or equal to upload_max_filesize


post_max_size = 51M

9. Save the php.ini file


10. Go back to the XAMPP Control Panel
11. Restart Apache: click "Stop" and then click "Start" next to Apache

Create a MySQL database


1. Open the XAMPP Control Panel
2. Click "Start" next to Apache and MySQL
3. Click "Admin" next to MySQL. phpMyAdmin should open in the browser.
4. Click the "Databases" tab
5. Enter rosariosis in the "Database name" field
6. Select utf8mb4_unicode_520_ci from the "Collation" dropdown
7. Click the "Create" button

Install wkhtmltopdf
1. Download wkhtmltopdf
2. Open the wkhtmltopdf installer
3. On the "Choose Install Location" screen, enter C:\wkhtmltopdf. Click "Next"

Install RosarioSIS
1. Download RosarioSIS
2. Extract the zip files to C:\xampp\htdocs
3. Right-click on the rosariosis-vXXX folder and rename it to rosariosis
4. Enter the C:\xampp\htdocs\rosariosis folder
5. Right-click on the config.inc.sample.php file and rename it to config.inc.php
6. Right-click on the config.inc.php file and select "Edit with Notepad++"
7. Edit the config.inc.php file as follows

$DatabaseType = 'mysql';

$DatabaseUsername = 'root';

$DatabasePassword = '';

$DatabaseName = 'rosariosis';

// Note: we use slashes "/" instead of antislashes as directory separators.


$DatabaseDumpPath = 'C:/xampp/mysql/bin/mysqldump.exe';

$wkhtmltopdfPath = 'C:/wkhtmltopdf/bin/wkhtmltopdf.exe';
// Optional: activate other languages; here, for Spanish & French:
$RosarioLocales = [ 'en_US.utf8', 'fr_FR.utf8', 'es_ES.utf8' ];

8. Save the config.inc.php file

Note: For other configuration options, you may refer to the INSTALL.md file.

Install RosarioSIS database


1. Go to http://localhost/rosariosis/InstallDatabase.php
2. Eventually choose to translate the database

Access RosarioSIS
1. Go to http://localhost/rosariosis/
2. Login with username admin and password admin.

Troubleshooting
Go to http://localhost/rosariosis/diagnostic.php

Email
RosarioSIS cannot send emails from Windows. Install and configure the Email SMTP plugin so
RosarioSIS can use your email account to relay emails.

You might also like