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 987877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:33:11+00:00 2026-05-16T05:33:11+00:00

Even though I’ve set safe_mode = Off in php.ini, restarted apache, and even rebooted

  • 0

Even though I’ve set

safe_mode = Off

in php.ini, restarted apache, and even rebooted the system…

when I try to execute set_time_limit(0) in my application, it throws the warning that set_time_limit cannot be st in safe mode.

This has been erratic behavior; earlier when I set safe_mode to Off, the system worked fine. But later on, seemingly autonomously, safe_mode has returned, and my application breaks due to the time_limit.

Is there anything I can check? I fear that my system has been compromised.

  • 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-05-16T05:33:11+00:00Added an answer on May 16, 2026 at 5:33 am

    PHP settings can appear in a number of different locations – it’s likely that the setting in php.ini is being overridden by a setting elsewhere.

    You might want to check:

    • Your Apache configuration, such as httpd.conf/apache.conf or virtual host configuration.
    • An .htaccess file

    Given that phpinfo is talking about a “Local setting” that sounds a little bit like a .htaccess setting to me but it could be in another part of Apache’s config.

    It’s not usual for PHP to be placed in safe mode on a ‘default install’, indeed it will be deprecated in future PHP versions if it isn’t already. It’s strange then that you have safe mode enabled without knowing it – perhaps some other app enabled it as part of its install script or maybe you copy-pasted some example configuration from somewhere? I dunno.

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

Sidebar

Related Questions

even though php page's header set to UTF-8 i get this error here is
I've heard of GAE and even though it doesn't support PHP, people have gotten
Even though my #tbr div align is set to right , sprites keep aligning
Even though I've set the transparency of the image to 'True', I am still
Even though my phpinfo() shows my DOM as enabled, when I try to call
Using ExtJS 4.1.1 even though in Ext.util.KeyMap i have set the defaultEventAction: 'preventDefault' and
Even though we don't import System Name-space , its possible to access various items
Even though I set all values to 2147483647 Client side : <binding name=BasicHttpBinding_IPortfolioBALService closeTimeout=00:10:00
Even though I have got the TestCase class included? <?php require_once(PHPUnit/Autoload.php); require_once(PHPUnit/Framework/TestCase.php); require_once(PHPUnit/Framework/TestSuite.php); class
Even though I'm not a native English speaker, I try to keep my code

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.