Installation Issue (PHP allow_url_fopen)

Sal Colascione III Posted in Technical Support 7 years ago

Hey. I'm trying to get passed the validation process and I'm stuck on "PHP allowurlfopen is required". My phpinfo.php file shows my settings are correct:

Directive, Local Value, Master Value
allowurlfopen, On, On

Am I missing something?

Replies
German Michael Zülsdorff Replied 6 years ago

Okay, so turn it on or ask your provider (how) to do it.

Allow_url_fopen 

is a necessary server side pre-requisite to allow content upload (pics, components, etc.) to your community.

us Allen Prince Replied 6 years ago

Received the error - PHP allowurlfopen is required -
followed all of the recommendations. still cannot get past the validate phase.
PHP 7.0.32, MySQL - 5.6.41

German Michael Zülsdorff Replied 6 years ago
  1. create a file named my.php with the following lines

    <?php
    phpinfo ();
    ?>

    in your Ossn installation directory.

  2. tell us the Url of your Ossn site

in Sathya Charana SM Replied 6 years ago

Even today, the same problem exists...
Any solution?

Software Installer : Softaculuous
Cpanel

> " The following errors were found :
>
> PHP allowurlfopen is required Installation Failed"

php.ini (Reading)
; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)

allow_url_fopen = on
allow_url_include = On
display_errors = Off
enable_dl = off
file_uploads = On
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 32M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php71"
upload_max_filesize = 2M
zlib.output_compression = Off
asp_tags = On
us Sal Colascione III Replied 7 years ago

I figured out the issue. Apache 4 seems to give the ability to set these options on a site by site basis but it turns out that it still needs to be done server-wide for it to work. Once set server-wide, it worked...

Thank you for all the replies...

Sal C.

German Michael Zülsdorff Replied 7 years ago

Of course, updating to a more current version of PHP is no bad idea in general but has nothing to do with the allow_url_fopen setting.

Have in mind that these kind of settings may be configured differently for each subdirectory of your webspace. (So: Did you really run the phpinfo from the Ossn installation directory?) In doubt please ask your provider how to handle the required settings for your Ossn installation directory.

ve Aaron Albarran Replied 7 years ago

The problem is the php system because you need to update it, if you use a local server I suggest you download the latest version of XAMPP, if you use a server on the network, I recommend that you go to the cpanel of your site and configures the php version to the latest.

us Sal Colascione III Replied 7 years ago

Thank you, Aaron. Do I need to use an older version of PHP?

Sal C.

ve Aaron Albarran Replied 7 years ago

Friend that is a problem with the server updates to the latest version of PHP

us Sal Colascione III Replied 7 years ago

I'm using PHP Version 7.1.7...

Sal C.