I’m using a cpanel based installation on a 3rd party shared-host server. One of its functions is MultiPHP INI Editor. I’ve changed all the environments it shows to have this variable set on. I’ve also gone into the Joomla root folder and made sure that there are no php.ini files there… What am I missing/what php.ini file is this referencing
some additional details:
joomla is installed in x/x/public_html/j30
wordpress is installed in x/x/public_html/wp on the same server instance
Using a file system connection since they are on the same server .. it tests OK
Using the same mySQL server for both but in different schema. that link tests OK
Log contents:
=== START import 2025-11-07 18:23:51 === Connected with success to the Joomla database Joomla data found: 3 categories 361 articles WordPress content removed [ERROR] The PHP variable “allow_url_fopen” must be set to “On” in the php.ini file. === END import 2025-11-07 18:23:51 ===
@kerfred I have tried to do that, and I’ve viewed every php.ini file I can find. All of them start with this:
; 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
I have even duplicated the php.ini that includes the above directive and added it to the xxx/xxx/wp folder, but I continue to get the message.
@kerfred thanks for the suggestion! I have run the phpinfo script. Highlights as follows
Loaded Configuration File /xxx/xxx/xxx/wp/php.ini. <<- the copy of the php.ini
Core
PHP Version 8.3.25 Directive Local Value Master Value allow_url_fopen On On <<- agrees with the value in php.ini
Rerun of import attempt:
=== START import 2025-11-12 17:52:55 === Connected with success to the Joomla database Joomla data found: 3 categories 397 articles
[WARNING] Your Joomla database contains several users. You need the Premium version to import them. [WARNING] Your Joomla database contains some PhocaGallery galleries. You need the Premium version and the PhocaGallery add-on to import them. WordPress content removed [ERROR] The PHP variable "allow_url_fopen" must be set to "On" in the php.ini file. === END import 2025-11-12 17:52:55 ===
That means that allow_url_fopen is not enabled on your WordPress server. You should ask your provider. Or try on another server. You can even install WordPress on your computer and run the migration in local.