Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

LimeSurvey on Windows 11 - up an running !

  • wkorosec
  • wkorosec's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 weeks 1 day ago - 4 weeks 1 day ago #268745 by wkorosec
LimeSurvey version: LimeSurvey Community Edition Version 6.10.1+250120 
Own server or LimeSurvey Cloud: Own server, Windows NT 10.0 build 26100 (Windows 11) AMD64
==================
I was able to get LimeSurvey running on my Windows 11 Laptop 

Products:
dlm.mariadb.com/3964468/MariaDB/mariadb-...db-11.4.4-winx64.zip
windows.php.net/download/#php-8.3-nts-vs16-x64
caddyserver.com/download

Components:
mariadb-11.4.4-winx64
php-8.3.16-nts-Win32-vs16-x64
caddy_windows_amd64.exe

Cookbook:
1. Download the components, copy it into C:\Apps\limesurvey and unzip. 
2. Init the Database: open CMD windows and  change to  "c:\Apps\limesurvey\mariadb-11.4.4-winx64\bin" run "mariadb-install-db.exe"
3. Start the database: "mariadbd.exe --console"
4. Open another CMD window run "c:\Apps\limesurvey\mariadb-11.4.4-winx64\bin\mysql -u root" to connect to the DB
5. create a new database: "CREATE DATABASE lime; "
6. Exit the DB shell: "exit"
7. Copy the attached php.ini file to "C:\Apps\limesurvey\php-8.3.16-nts-Win32-vs16-x64\" 
8. Unzip LimeSurvey to: C:/Apps/limesurvey/limesurvey
9. Start PHP as local server - slow, but you see, what is going on
C:\Apps\limesurvey\php-8.3.16-nts-Win32-vs16-x64\php.exe -S 127.0.0.1:8888 -t C:\Apps\limesurvey\limesurvey -c C:\Apps\limesurvey\php-8.3.16-nts-Win32-vs16-x64
10. Open http://127.0.0.1:8888/ in your browser and install LimeSurvey this may take a while, login with the chosen credentials to make sure that everything is OK
11. After the installation is completed, stop php.exe
12. In "c:\Apps\limesurvey" create a file "Caddyfile.ini" containing:
:8888 {
        root * C:/Apps/limesurvey/limesurvey
        php_fastcgi 127.0.0.1:9000
        file_server
}
13.Start php in FastCGI mode, which will give you a performance boost  
"C:\Apps\limesurvey\php-8.3.16-nts-Win32-vs16-x64\php-cgi -b 127.0.0.1:9000 -i C:\Apps\limesurvey\php-8.3.16-nts-Win32-vs16-x64\php.ini"
14. Start Caddy: "caddy_windows_amd64.exe run --config Caddyfile.ini" 
15. Go back to you browser and open http://127.0.0.1:8888/ again. Performance should be much better now.

Good luck, Wolfgang

 
Attachments:
Last edit: 4 weeks 1 day ago by wkorosec.
The following user(s) said Thank You: DenisChenu, holch

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 weeks 1 day ago #268747 by holch
Replied by holch on topic LimeSurvey on Windows 11 - up an running !
Probably the easiest way to get Limesurvey running as a test and development environment on Windows is www.apachefriends.org/download.html .

But nice write up for those that want to use a more hands on approach and have more control.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 weeks 13 hours ago #268767 by DenisChenu
Replied by DenisChenu on topic LimeSurvey on Windows 11 - up an running !
Great, i need to compare with a IIS system, maybe better !

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose