SteveB Posted March 5, 2016 Share Posted March 5, 2016 I'm installing brand new 3.0.10 from this morning with a site profile. Server has PHP 5.4.29, MySQL 5.1.73 and there's a site on the same server running 2.7.3 just fine. Edit: Tried this with both 3.0.10 and 3.0.8 with identical results. Seems like some general 3.x requirement not being met by my server but the install script doesn't find anything to complain about. I tried this a couple different ways, first with a profile saved from a 3.0.8 site and then after removing everything, with the "blank" profile that comes with 3.0.10. In both cases after the step where you enter passwords I get a mostly blank screen with a "Connection Reset" message. The install did happen though. The database is populated. The first time I did it there was an error_log file containing this: [05-Mar-2016 10:35:52 America/New_York] PHP Warning: register_shutdown_function(): Invalid shutdown callback '' passed in /home/test/public_html/v3010/wire/core/ProcessWire.php on line 176 Here's that code: // If script is being called externally, add an extra shutdown function if(!$config->internal) register_shutdown_function(function() { if(error_get_last()) return; $process = $this->wire('process'); if($process == 'ProcessPageView') $process->finished(); }); $this->setStatus(self::statusBoot); } Any ideas? I tried commenting out that block of code but that didn't make any difference. Edit: It gets as far as this line in index.php and fails there: $wire = new ProcessWire($config); Edit: It's not the install process. I FTPd the site up there, copied the data to the database, had the same problem. Apache error log says Segmentation fault Link to comment Share on other sites More sharing options...
SteveB Posted March 6, 2016 Author Share Posted March 6, 2016 I keep coming back to the fact that the installer didn't complain about anything but a freshly installed "blank" profile immediately segfaults. I've not seen an explicit set of server requirements for PW 3 and it's too early to know the edge cases well, so I'll suppose it's possible that something about PHP 5.4.29 doesn't work with the new Namespaces and PSR2 techniques in PW 3. It's a flimsy theory though. On Monday I'll upgrade the PHP to 5.6 and see what happens. Link to comment Share on other sites More sharing options...
SteveB Posted March 7, 2016 Author Share Posted March 7, 2016 Upgrading PHP from 5.4.29 to 5.6.18 solved the problem. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now