New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5ai doesn't work on fresh Ubuntu 13.10 install #227

Closed
MechMK1 opened this Issue Oct 22, 2013 · 6 comments

Comments

3 participants
@MechMK1

MechMK1 commented Oct 22, 2013

Due to configuration changes, h5ai no longer works out-of-the-box with Ubuntu 13.10 and the shipped LAMP server. This is not directly an issue within h5ai, but should be addressed in the README or similar.

Here are the steps required to get it to work:
1.) Install php5-json, as this is no longer installed by default when installing php5.
2.) Enable mod-rewrite in apache (sudo a2enmod rewrite)
3.) Add a new <Directory /var/www> tag within the default-sites config file in /etc/apache to set the config to AllowOverride. This gets apache to listen to your .htaccess again.

I am not very experienced with Apache configurations, so please correct me if I did anything wrong.

@lrsjng

This comment has been minimized.

Owner

lrsjng commented Oct 24, 2013

I think to make it work you should only need your 1.) point (php-json).

mod-rewrite is not used by h5ai. And the .htaccess file should only be needed for caching purposes.

@MechMK1

This comment has been minimized.

MechMK1 commented Oct 24, 2013

I needed mod-rewrite to get the correct information about the installed PHP versions and such.

Next, I needed .htaccess to give apache the DirectoryIndex information

@lrsjng

This comment has been minimized.

Owner

lrsjng commented Oct 25, 2013

Okay, I see.

@MechMK1

This comment has been minimized.

MechMK1 commented Oct 25, 2013

Maybe you could try this within a VM and tell us how it worked for you. It's surely possible I made a mistake

@deg0nz

This comment has been minimized.

deg0nz commented Feb 15, 2014

Thanks! This worked for me, i had the same issue with a fresh Ubuntu 13.10 Server. The missing php5-json package did it! (mod-rewrite was already enabled)

@lrsjng lrsjng added the Docs label Jun 4, 2014

@lrsjng

This comment has been minimized.

Owner

lrsjng commented Jun 21, 2014

Added the need to install the extra JSON package to the homepage. Couldn't reproduce the other issues. Thanks for sharing this!

@lrsjng lrsjng closed this Jun 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment