Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9021005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:09:17+00:00 2026-06-16T05:09:17+00:00

The file_put_contents() function is disabled for some reason on my server. How do I

  • 0

The file_put_contents() function is disabled for some reason on my server. How do I enable it? And how do I enable/disable PHP functions in general?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:09:18+00:00Added an answer on June 16, 2026 at 5:09 am

    if your on webhosting then it’s disabled for a reason’; you could message their help desk for assistance on this matter. They could help you further, perhaps not enabling this option. But explain why this is disabled.

    If you have access to your php.ini then you can enable the function through that.

    Else, you COULD (not saying it will 100% work) try the following:
    http://php.net/manual/en/function.ini-set.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to PHP and I am practicing the file_put_contents() function, and I
I'm experiencing some problems with ob_* function when it runs as a cronjob: <?php
On a Windows machine, the following script: <?php mkdir(c:\\[test]); file_put_contents(c:\\[test]\\test.txt, some content); chdir(c:\\[test]); echo
When I make a growing file in php, I usually use the _file_put_contents_ function
Possible Duplicate: file_put_contents permission denied I have recently transferred server, and it seems that
Here is the code I used to post the bitmapdata to server side( PHP
Hi' i have permission denied when using write to text function like file_put_contents. i'm
I'm getting the following error message: Warning: file_get_contents( http://localhost/sample_pie.php ) [function.file-get-contents]: failed to open
I am trying to write a php function that goes to my database and
I'm using a bookmarklet to send the current page source to a server function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.