500 Internal Server Error

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
mattiasv
Posts: 1
Joined: Sat Jan 21, 2012 3:40 pm

500 Internal Server Error

Post by mattiasv »

500 Internal Server Error after a new installation - TE3.

I removed this file and now its works - do i need it ?

/public_html/te3
.htaccess
php_value magic_quotes_gpc 0
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: 500 Internal Server Error

Post by texpert »

A lot of shared hosts will have magic quotes turned on by default. This can create some extra overhead depending on your application. Symfony apps prefer to have this turned off. Here’s how you can do it using either an .htaccess or php.ini file in your web root directory.

#.htaccess
php_flag magic_quotes_gpc off
or
php_flag magic_quotes_gpc 0
or
php_value magic_quotes_gpc 0

You can test if perhaps php_flag would work for you...


If you will want to disable it in php.ini:

# php.ini
magic_quotes_gpc=off


Might be a good idea to consult your host as well!

kind regards,
Jim
yogiza
Posts: 4
Joined: Wed Dec 26, 2012 7:44 am

Re: 500 Internal Server Error

Post by yogiza »

I'm having the same issue. If I create a php.ini file with the line magic_quotes_gpc=off where does it need to be placed? For example public_html/examplesite.com/te3 Does it go into folder /te3 or just public_html/examplesite.com/?
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: 500 Internal Server Error

Post by texpert »

Hi, you already have a php.ini file, but for the location of it you will have to ask your host, it cannot be putted into html dir and also not into TE3 dir. If you need anything else let me know.


best regards,
Alex
Post Reply