Welcome to the LimeSurvey Community Forum

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

Modifying config.php results in Internal Server 500

  • mhladun
  • mhladun's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 2 months ago - 1 year 2 months ago #239708 by mhladun
What is happening is:
  1. I visit my limesurvey site, it works.
  2. I modify config.php. Note: privileges do not change when this is done, they remain drwxrwx--- that is, 770.
  3. Now, I go to visit my site, and I get an Internal Server 500 error response.
How could this be?

If I follow the steps in the post I made here  (also shown below), then the site works again. Is this a result of caching and doing a cache check of some sort?

1. Run
Code:
sudo chmod -R 775 /var/www/html/limesurvey && \
sudo chmod -R 777 /var/www/html/limesurvey/tmp && \
sudo chmod -R 777 /var/www/html/limesurvey/upload

2. Visit the site.

3. Run
Code:
sudo chmod 770 /var/www/html/limesurvey/application/config/security.php && \
sudo chmod 770 /var/www/html/limesurvey/application/config/config.php
Last edit: 1 year 2 months ago by mhladun. Reason: formatting

Please Log in to join the conversation.

More
1 year 2 months ago #239710 by jelo
You didn't mention what you changed in config.php and what version of LimeSurvey is used. Your last thread about that topic is nine months old. What changed?

We know nothing about the webserver and the php handler (dso, php-fcgi, php-fpm etc.). A plain CentOS distribution or is a controlpanel installed?
Is SELinux active?

When having 500er errors you usually take a look at logfiles of webserver and php handler. Currently this looks like an issue unrelated to LimeSurvey.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose