Use Gallery3 without php_flag
hausbaer
Joined: 2012-08-10
Posts: 2 |
![]() |
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 |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
What is the actual error? Dave |
|
hausbaer
Joined: 2012-08-10
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 |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
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. Dave |
|
mattdm
Joined: 2005-07-22
Posts: 181 |
![]() |
hausbaer wrote:
1. edit your php.ini file and set "short_open_tag" to 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): 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. Mine doesn't either, but it's enabled. This advice may be obsolete. |
|