No announcement yet.

Php7 + nginx + vb 5.3

  • Filter
  • Time
  • Show
Clear All
new posts

  • Php7 + nginx + vb 5.3


    PHP version: 7.0.18
    nginx 1.10.3
    Ubuntu 16.04
    VB 5.3.1

    I cannot get the installer to run. Bascially index.php tells me

    Configuration: includes/config.php does not exist. For a new install click here to create a new
    but it reloads the page and adds the same path to the URL infinitely.

    so for instance I click that
    and the URL goes to

    click it again and it goes

    and so on

    Here is my vhost config, it's basically the php7.vhost file that came with the download package.
    # VB Forum
    server {
        server_name mydomain; 
        listen 8070;
        root /var/www/mydomain/www;
        access_log /var/www/mydomain/logs/access.log combined;
        error_log /var/www/mydomain/logs/error.log warn;
        index index.html index.htm index.nginx-debian.html;
        # VB configuration rules
            # legacy css being handled separate for performance
            location = /css\.php {
                    rewrite ^ /core/css.php break;
            # make install available from presentation
            location ^~ /install {
                    rewrite ^/install/ /core/install/ break;
            # any request to not existing item gets redirected through routestring
            location / {
                    if (!-f $request_filename) {
                            rewrite ^/(.*)$ /index.php?routestring=$1 last;
            # make admincp available from presentation
            location ^~ /admincp {
                    if (!-f $request_filename) {
                            rewrite ^/admincp/(.*)$ /index.php?routestring=admincp/$1 last;
            # process any php scripts, not found gets redirected through routestring
            location ~ \.php$ {
                    # handles legacy scripts
                    if (!-f $request_filename) {
                            rewrite ^/(.*)$ /index.php?routestring=$1 break;
                    fastcgi_split_path_info ^(.+\.php)(.*)$;
                    fastcgi_pass phpfastcgi;
                    fastcgi_index index.php;
                    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                    include fastcgi_params;
                    fastcgi_param QUERY_STRING $query_string;
                    fastcgi_param REQUEST_METHOD $request_method;
                    fastcgi_param CONTENT_TYPE $content_type;
                    fastcgi_param CONTENT_LENGTH $content_length;
                    fastcgi_intercept_errors on;
                    fastcgi_ignore_client_abort off;
                    fastcgi_connect_timeout 60;
                    fastcgi_send_timeout 180;
                    fastcgi_read_timeout 180;
                    fastcgi_buffers 256 16k;
                    fastcgi_buffer_size 32k;
                    fastcgi_temp_file_write_size 256k;
    upstream phpfastcgi {
        # address to accept FastCGI requests. Make sure you set the right value under your fast cgi conf.
        server    unix:/var/run/php/php7.0-fpm.sock;
    Attached Files

  • #2
    I installed Apache and tested it there, seemed to be doing the same behavior so I blew away the
    /var/www/mydomain/www folder and reuploaded everything. seems to have fixed it.


    • #3
      If you have a problem with makeconfig.php, the best thing to do is manually edit the config.php files as stated in the vb5readme.html file.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API


      Related Topics