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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:23:29+00:00 2026-05-19T01:23:29+00:00

I am running PHP 5.3.4 compiled from source with pcntl and posix. I did

  • 0

I am running PHP 5.3.4 compiled from source with pcntl and posix.

I did update and some packages including php-process and php-cli were updated.

Then I ran my PHP daemon and it threw error –

PHP Warning: dl(): Dynamically loaded
extensions aren’t enabled in
/var/www/html/includes/init.php on
line 27 PHP Fatal error: Class
‘Mongo’ not found in
/var/www/html/includes/init.php on
line 29

The daemon ran fine before the update.

I searched a bit and changed the first line of the file to #!/usr/bin/php -d enable_dl=On -q from #!/usr/bin/php -q

Now, doing this throws this error

PHP: syntax error, unexpected
TC_STRING in Unknown on line 7

But the daemon works fine except the warning.

And it isn’t making any sense to me. The 7th line of my script is just fine. What might this be?

Thank you all.

  • 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-19T01:23:29+00:00Added an answer on May 19, 2026 at 1:23 am

    function dl() is deprecated from 5.3 onwards

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

Sidebar

Related Questions

When running PHP in CLI mode, most of the time (not always), the script
I'm running PHP on Windows/IIS. My session variables don't seem to be preserved from
I have been having some problems trying to get my PHP running. When I
I have the following setup: An endless running PHP process that looks at a
I'm running PHP 5.2.3 on Windows 2000 Server with IIS 5. I'm trying to
I'm running PHP 5.2.6 on a Windows Server 2003 Enterprise box. IIS is set
I'm running PHP 5.2.8 on Apache 2.2.11 on Windows XP SP 3. In php.ini,
I am running following PHP code to interact with a MS Access database. $odbc_con
We're currently running with php 5.2.5. We have now encountered a bug that creates
I have an existing site in php running on Apache using the mod_rewrite plug-in.

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.