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

We are running PHP on a Windows server (a source of many problems indeed,
I am doing some maintenance work on an older system that is running PHP
I'm running a php script from the command line against SQL server 2005 using
server is a DV4 from mediatemple running centos. $DOC_ROOT/index.php - 777 has perms .
I'm running Windows XP with the precompiled PHP binaries available from windows.php.net . I
I'm porting a piece of code from PHP to c/objective-c, and I'm running into
I have now tried for hours getting xDebug (2.0.5 compiled from source) to work
I'm developing a long running php script that compiles scraped information from multiple sources,
I've recently installed phc, the php compiler. I started out installing LAMP from source
Running PHP under IIS on my Win XP Pro system. I cannot debug my

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.