Use Gallery3 without php_flag
|
hausbaer
Joined: 2012-08-10
Posts: 2 |
Posted: Fri, 2012-08-10 07:52
|
|
Hi I found this gallery and it´s looks quite nice. Sadly I am not allowed to use php_flag on my webserver. Can I install it without?? /Henrik |
|
| Login or register to post comments |

Posts: 25961
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: 25961
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.