Hosting Articles Technical Articles

Warning:Expects parameter 1 to be resource, boolean given in

Warning: fwrite() expects parameter 1 to be resource, boolean given in

Description:

After upgrade php version in cpanel server some of the websites which have the backend admin control panel  is giving Warning: fwrite() expects parameter 1 to be resource, boolean error.

 

expects parameter 1 to be resource, boolean given in

 

Solution:

STEP 1:

– Log in to the whm with root password.

– Select PHP Configuration Editor.

– Choose Advanced mode.

– Disable the below options.

Error Handling and Logging   display_errors

Error Handling and Logging   display_startup_errors

– Click on save.

STEP 2:

– Log in to the server with root credentials.

– Go to the below mention path.

/etc/local/lib

– Open php.ini file and off the Error Handling and Logging.

– save the file and restart the services.

Tags:php,php version,easy apache,linus,Centos server,Hosting articles,f_open,php settings,phpmyadmin,mysql.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.