Project

General

Profile

Actions

Bug #58316

closed

6.2.1 and Curl

Added by Paul A. Auwehla over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-04-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The new install of "Get preconfigured distribution" is brilliant!

But it needs
curlUse = 1 for installation.

But default of
curlUse = 0
when first running installation.

Actions #1

Updated by Markus Klein over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (next-patchlevel)

Why does it need curl??

Actions #2

Updated by Philipp Gampe over 10 years ago

It works without curl if your server setup supports that.

Actions #3

Updated by Paul A. Auwehla over 10 years ago

Thats what I tried to say:
Of course I will work if sa server is available and its curl is set.

BUT:
typo3 is running on lots and lots and lots of hosted webspace.
That what it is made for, too, do you remember?

So in lots and lots and lots of cases
the new and hopefully easy to install
typo3 6.2 LTS WILL OT WORK!!
as long as curl is OFF during installation.

Thats the point.

I guess it would be a very small and easy feature
to allow curl during the process of installing
a new preconfigured distribution.

typo3 is on its best way to become an easy to install CMS.
Up and running in minutes - with real content pages and los of demos of its features.

Dont disturb this user-friendly process by
this simple and user-unfriendly curl = off
;-))

Actions #4

Updated by Markus Klein over 10 years ago

Still I don't get the problem.

Please describe what problem actually appears for you when curl is off?

I'm running 6.2 on several shared hostings already and never had a problem with this.

Actually you run into problems if you enable curl and it is not available on the server!

Actions #5

Updated by Paul A. Auwehla over 10 years ago

When curl is off you wont get not Extensions.
But more important: You wont get the
very fine new IntroductionPackages for 6.2

Imagine install a new Windows or Linux.
But before you can run any software you have to set a registry-field.
But you dont know for what registry-field you have to search for ...

Actions #6

Updated by Markus Klein over 10 years ago

I understand your point, but your first sentence is not true.
I never had any server having a problem to retrieve the list with default configuration. (curl is off by default)

So I wonder what is so strange on your server. Must be some PHP configuration issue.

Actions #7

Updated by Paul A. Auwehla over 10 years ago

Is it possible that curl depends on
the php setting "allow_url_fopen = off".
Dont secure settings for php do use this value?

If allow_url_fopen = off then curl has to be on?
If allow_url_fopen = on then curl does not matter?

Then setting
allow_url_fopen = on
inside php directly (or php.ini) or checking from install-tool if set
would be a solution?

Should or could there be a notice to the
user when installing typo3 with FIRST_INSTALL?

Actions #8

Updated by Markus Klein over 10 years ago

  • Status changed from Needs Feedback to Accepted

This is a very good finding. Thanks a lot Paula.
Indeed this might be a reason, I'll check on that soon.

Actions #9

Updated by Markus Klein over 10 years ago

According to http://at2.php.net/manual/en/filesystem.configuration.php 'allow_url_fopen' is enabled by default.
But I'll try to come up with a patch that issues a warning during installation.

Actions #10

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30486

Actions #11

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30486

Actions #12

Updated by Markus Klein over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF