file_get_contents is not working
Hi, In my Cpanel Server file_get_contents & file_put_contents is not working..., what the problem ?
)':
-
Hi @maxmizban Do you have any specific errors that you're receiving in the PHP error log when attempting to use file_get_contents and file_put_contents? The PHP documentation on this may be helpful as well PHP: file_get_contents - Manual Thanks! 0 -
I have same problem, file_get_contents and curl not working without error and my allow_url_fopen enabled. This happens after i updated my cpanel. How can i fix it ? 0 -
Where are you checking to see if file_get_contents is enabled, cPanel or the specific PHP version within WHM's MultiPHP Manager? 0 -
Where are you checking to see if file_get_contents is enabled, cPanel or the specific PHP version within WHM's MultiPHP Manager?
WHM's Multi PHP INI Editor.. There I can see no php extension is disabled.. In addition to it, just wanna mention that it's fresh installation (maybe that's why there is nothing disabled)0 -
Hello, I'm sorry, I should have been more clear. This is controlled by allow_url_fopen in WHM>>Software>>MultiPHP INI Manager. Select the PHP version you want to modify and toggle that to on, this is disabled by default. 0 -
Greatness begins from here!! Thanks alot man @cPanelLauren !! I hope this will help other cPanel users as well :):):) 0
Please sign in to leave a comment.
Comments
8 comments