Styles not working after Window 2016 Installation

Styles not working after Window 2016 Installation

- Claudionir Queiroz の投稿
返信数: 5

Hi friends, I tried to install Moodle more than 5 times in different ways on our Windows Server 2016, but at the end the same issue is happening.  The styles is not loading or working (see image below):

Error after installation

As you can see, some errors were thrown in console, but I'm new in PHP development and I don't know how to fix them.

Any help will be appreciated.

Thanks, 

Claudionir Queiroz

Ps.: The red marks represent the domain address

Claudionir Queiroz への返信

Re: Styles not working after Window 2016 Installation

- Claudionir Queiroz の投稿
I fix the issue. For those facing the same issue, see what I did: On IIS Default Website, O converted the moodle folder to an Application, then in Application Pools node set the True value to the "Enable 32-Bit Applications" option and finally on Server node on FastCGI Settings I encrease the Intance MaxReques to 300.

Hope these settings help others.

Thanks,

Claudionir
Claudionir Queiroz への返信

Re: Styles not working after Window 2016 Installation

- Ken Task の投稿
画像 Particularly helpful Moodlers

Got your PM.  Really can't help ... don't run Windows anything anymore.   Maybe Usman can confirm, but from past experience, Moodle should have 64 Bit PHP.   You will have problems with course backups/restores and anything that gets to a 4 Gig limit (if I re-call correctly).

Any Windows experts ... please confirm my feeble memory! 笑顔

'SoS', Ken

Ken Task への返信

Re: Styles not working after Window 2016 Installation

- Claudionir Queiroz の投稿

Thanks for you fast response.

I finally fixed the issue and apparently it is working as a charm, but I'll monitor its behavior and move to another server if we have others issues in the future.

One more time, thank you for your collaboration in the forum and have a nice day.

Claudionir 


Claudionir Queiroz への返信

Re: Styles not working after Window 2016 Installation

- Usman Asar の投稿
画像 Plugin developers 画像 Testers
Claudionir, which version of PHP have you downloaded? 32-bit or 64-bit? also Thread Safe or Non-Thread safe? ken has mentioned using 64-bit, and he's right not just in terms of memory limit, but PHP application performance as well. I had created a tutorial in past on 2012R2, but still applies on server 2019, you can have a look here. You may want to have a look at it before using it in production environment.
Usman Asar への返信

Re: Styles not working after Window 2016 Installation

- Claudionir Queiroz の投稿

Hi Asar, all is well now. I followed your tutoria to install Moodle, but the issue happened after the installation.

My PHP version is 7.3.3 Non-Thread safety. 

Thanks,

Claudionir