Skip to content
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

Try to install with HHVM and nginx #12

Open
jrborbars opened this issue Dec 22, 2014 · 2 comments
Open

Try to install with HHVM and nginx #12

jrborbars opened this issue Dec 22, 2014 · 2 comments

Comments

@jrborbars
Copy link

I tried this four times, and all I gave is a “checking connection” at the install.php script. I have HHVM 3.4.1 (tested with 3.3.0 and 3.0.1 too), nginx 1.6.0 and MariaDB 10.0. Double checked the parameters and all is fine (it works well with slim solo and PDO). Maybe the whole install (I mean .htaccess) works with Apache only. 8-( Bad deal.

@ikhsan017
Copy link
Member

Hi @jrborbars

I am trying to reproduce the installation process using nginx 1.1.9, mariaDB 10, php-fpm and installation was done without error

here is my nginx config

server {
    listen 80 default_server;
    listen [::]:80 default_server ipv6only=on;

    root /usr/share/nginx/www/slim/public;
    index index.php index.html index.htm;

    server_name localhost;

    location / {
        try_files $uri /index.php$is_args$args;
    }

    location ~ ^/install\.php(/|$) {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param HTTPS off;
    }

    location ~ ^/index\.php$ {
        try_files $uri /index.php =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}

@ikhsan017
Copy link
Member

will try to reproduce using hhvm soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants