Active
Project:
Drupal core
Version:
main
Component:
install system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Oct 2008 at 19:44 UTC
Updated:
7 Aug 2023 at 07:33 UTC
Jump to comment: Most recent

Comments
Comment #1
Anonymous (not verified) commentedNote, this other file (prerequisites.php or whatever) needs to be PHP 4 compatible and the very first requirement check is the PHP version. Error should give a link to the documentation for Drupal 7 requirements.
Comment #2
dave reidThis would be a big plus for newbie install usability. Fun issue to patch with moving everything around, but I'll try and help test the best I can!
Comment #3
catchBig +1 to this. If you get to this screen, and you don't have some level of server access (or at least a reasonable amount of knowledge), then you're unlikely to get an install happening - so the screenshot, plus a link to drupal.org/requirements would do loads. Like dropcube I see this screen being skipped completely if these requirements are met - so it's likely that in both scenarios, you wouldn't see the same screen twice.
While we document requirements clearly on drupal.org, Drupal 7 is going to raise the bar in terms of random hosting environments, so getting this information up front is going to be important - so bumping to critical.
Comment #4
drewish commentedwould this still be after you select your language? it would kind of suck if you're trying to install in another language and get hung up by errors that you can't read...
Comment #5
catchI was going to open another issue, but this is pretty much the same thing.
Ideal workflow for me would be:
1. Select language
2. This server requirements page (probably including file permissions)
3. Choose profile
4. Database
5. Profile requirements (modules etc.)
6. 'Proceed with install' when everything is green
7. Install and configure like now
Comment #6
yoroy commentedI keep forgetting stuff that is explained in the install textfiles, I'd love to see a 'server requirements checklist' in step two indeed. Subscribing.
Comment #7
dropcube commented@catch: yes, that seems a good workflow for the installer. Will post an initial patch soon.
Comment #8
dropcube commentedTo achieve this we require to organize and modularize better the installer code: #316916: Create install directory with multiple files and modularized code
Let's mark this postponed until we get something like that.
Comment #9
alexanderpas commented+1, subscribing
Comment #10
yoroy commentedIf this gets worked on again, ux-team was wondering if this step would become visible even if all requirements are met?
It would be best to do all the work behind the scenes here and only show stuff in the UI if problems are found. If not, don't stop to tell the user everything is ok so far, just move on.
Comment #11
catchCurrently we skip the requirements page if everything is met, I think the workflow for this would probably be the same.
Comment #12
alexanderpas commented+1
this also means lang selecction must be php4 compatible!
Comment #13
dropcube commentedWe also should check if the Tokenizer PHP extension is loaded, it's required by the registry.
Comment #14
Freso commented+1 and subscribing. I keep being surprised by all the new requirements to Drupal's HEAD when I update my test install. :x
Comment #15
gpk commented[corrected] #668136: Cant reach the requirements page without php5 enabled was marked as duplicate.
Un-postponing since it ain't going to happen for 7.x otherwise.
Actually not sure how realistic it is for 7.x since bootstrap.inc is not parseable in PHP4.
Comment #16
catchWe have a nice requirements status report as the first thing you see in the installer if requirements aren't met. I think we should postpone this to D8, given that #299308: Installing Drupal by visiting index.php (rather than install.php) leads to a fatal error when PDO is not enabled and others have separate issues open.
Comment #17
gpk commentedI've now fixed the link to the issue at #15 ... in PHP4 the first thing you see is "Parse error: syntax error, unexpected '{' in [...]/drupal7/includes/bootstrap.inc on line ...".
Comment #18
catchI think we have to deal with PHP4 in INSTALL.txt and Drupal.org, and by naming and shaming hosts which still run on it.
Comment #19
David_Rothstein commentedThere might not be much we can do for PHP 4, but I wonder about PHP 5.1? There's a related issue for that here: #722974: Install script returns a blank page for PHP4, PHP 5.1 (should display *something* instead)
Comment #21
kenorb commented#17 related to #720742: try/catch in bootstrap.inc leads to fatal error with PHP 4 in installer
Comment #22
mitchell commenteduntagging 'revision'. Is this still an issue?
Comment #35
quietone commentedJust make the image visible.