Sorry I forgot to write the error. Yes it´s an 500 error I get when I´m trying to install.
I have read the link you have posted... 2 questions...
1. edit your php.ini file and set "short_open_tag" to 1
in my php.ini file is says:
short_open_tag = On do i have to change it to : short_open_tag = 1 ???
2. edit your apache configuration file to allow per-directory overriding of Options or All (note that this has implications to broad to discuss here):
Where should I place this?? in the htaccess file?? And if so where??
3. Also, check to ensure that mbstrings are enabled within your php.ini file. Edit your php.ini file and ensure that "extension=php_mbstring.dll" is uncommented.
I don´t have that line in my ph.ini file
I hope this gives you a clue what happens.
Regards
Henrik
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-08-10 19:20
Quote:
short_open_tag = On do i have to change it to : short_open_tag = 1 ???
Try both I guess.
Quote:
Where should I place this?? in the htaccess file?? And if so where??
I guess you apache config file would be the php.ini file, not the .htaccess file.
Quote:
Yes it´s an 500 error I get when I´m trying to install.
The Apache error logs should yield a clue to the error.
I'm no server guy, the hosts I have G3 just works out of the box no need to config server settings.
1. edit your php.ini file and set "short_open_tag" to 1
in my php.ini file is says:
short_open_tag = On do i have to change it to : short_open_tag = 1 ???
No. These are synonymous.
hausbaer wrote:
2. edit your apache configuration file to allow per-directory overriding of Options or All (note that this has implications to broad to discuss here):
Where should I place this?? in the htaccess file?? And if so where??
Depends on your system. It may be /etc/httpd/conf/httpd.conf. This is the Apache HTTPD setting that allows htaccess files to work. It's not a PHP thing.
hausbaer wrote:
3. Also, check to ensure that mbstrings are enabled within your php.ini file. Edit your php.ini file and ensure that "extension=php_mbstring.dll" is uncommented.
I don´t have that line in my ph.ini file
Mine doesn't either, but it's enabled. This advice may be obsolete.
Posts: 27300
What is the actual error?
http://codex.gallery2.org/Gallery3:FAQ#I_get_an_error_500_when_I_visit_my_Gallery_3_install_for_the_first_time
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
Hi
Sorry I forgot to write the error. Yes it´s an 500 error I get when I´m trying to install.
I have read the link you have posted... 2 questions...
1. edit your php.ini file and set "short_open_tag" to 1
in my php.ini file is says:
short_open_tag = On do i have to change it to : short_open_tag = 1 ???
2. edit your apache configuration file to allow per-directory overriding of Options or All (note that this has implications to broad to discuss here):
Where should I place this?? in the htaccess file?? And if so where??
3. Also, check to ensure that mbstrings are enabled within your php.ini file. Edit your php.ini file and ensure that "extension=php_mbstring.dll" is uncommented.
I don´t have that line in my ph.ini file
I hope this gives you a clue what happens.
Regards
Henrik
Posts: 27300
Try both I guess.
I guess you apache config file would be the php.ini file, not the .htaccess file.
The Apache error logs should yield a clue to the error.
I'm no server guy, the hosts I have G3 just works out of the box no need to config server settings.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 181
No. These are synonymous.
Depends on your system. It may be /etc/httpd/conf/httpd.conf. This is the Apache HTTPD setting that allows htaccess files to work. It's not a PHP thing.
Mine doesn't either, but it's enabled. This advice may be obsolete.