Page 1 of 1

PHAR installer just shows home page

Posted: Fri Sep 30, 2016 9:57 pm
by bbardon
Same as this thread: viewtopic.php?f=3&t=75027&hilit=PHAR but that thread is locked. Upgrading from 1.12.1 to 2.1.5. I've followed the same steps, renamed .htaccess, still same result: I never see the installer page.

Host is GoDaddy (not my choice) Linux shared host, PHP is 5.4.19, phpinfo() gives this about Phar:

Phar EXT version 2.0.1
Phar API version 1.1.1
SVN revision $Id: c5042cc34acebcc0926625b57dff03deebbe6472 $
Phar-based phar archives enabled
Tar-based phar archives enabled
ZIP-based phar archives enabled
gzip compression enabled
bzip2 compression disabled (install pecl/bz2)
Native OpenSSL support enabled

GoDaddy is showing nothing in the logs.

Re: PHAR installer just shows home page

Posted: Thu Oct 06, 2016 8:09 pm
by DIGI3
Possibly an htaccess further up the directory path, they cascade.
You can also try the expanded installer in a subdirectory, see if you get the same issue.

Re: PHAR installer just shows home page

Posted: Thu Oct 06, 2016 8:36 pm
by bbardon
Thanks for the reply. That's what I did, once I learned what the expanded download was for. That method worked without error and the site is now upgraded.

Would like to understand what keeps the PHAR from working on GoDaddy, just for my own education. I know, get off GD, but this is for a client who plans to stay with them for now. Without shell access, debugging is difficult.

Thank you for the help!

Bill

Re: PHAR installer just shows home page

Posted: Thu Oct 06, 2016 8:44 pm
by DIGI3
It could be related to this (from the readme included in the installer):
Q: I Get a redirection loop, what can I do?
A: Some hosting environments (nginx, and litespeed) particularly can cause redirection loops when executing even the simplest of phar archives. This is due to one or more bugs in php. Specifically: https://bugs.php.net/bug.php?id=71465 and https://bugs.php.net/bug.php?id=67587 (though more may exist). For these environments we recommend that you use the expanded installer. Be sure you read it's README file in it's entirety.