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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:31:13+00:00 2026-05-17T00:31:13+00:00

I have enabled PHP 5.3.2 and Apache 2.2.14 on my install of Mac OS

  • 0

I have enabled PHP 5.3.2 and Apache 2.2.14 on my install of Mac OS X Snow Leopard and have confirmed that I am connecting to it with a call to phpinfo();

On inital startup, it appears that ALL possible extensions are being loaded, as the call to print_r(get_loaded_extensions()) implies:

Array
(
    [0] => Core
    [1] => date
    [2] => ereg
    [3] => libxml
    [4] => openssl
    [5] => pcre
    [6] => sqlite3
    [7] => zlib
    [8] => bcmath
    [9] => bz2
    [10] => calendar
    [11] => ctype
    [12] => curl
    [13] => dom
    [14] => hash
    [15] => fileinfo
    [16] => filter
    [17] => ftp
    [18] => gd
    [19] => session
    [20] => iconv
    [21] => json
    [22] => ldap
    [23] => mbstring
    [24] => standard
    [25] => mysqlnd
    [26] => SPL
    [27] => odbc
    [28] => mysqli
    [29] => PDO
    [30] => pdo_mysql
    [31] => pdo_sqlite
    [32] => Phar
    [33] => posix
    [34] => Reflection
    [35] => mysql
    [36] => shmop
    [37] => SimpleXML
    [38] => snmp
    [39] => soap
    [40] => sockets
    [41] => SQLite
    [42] => exif
    [43] => sysvmsg
    [44] => sysvsem
    [45] => sysvshm
    [46] => tokenizer
    [47] => xml
    [48] => xmlreader
    [49] => xmlrpc
    [50] => xmlwriter
    [51] => xsl
    [52] => zip
    [53] => apache2handler
)

When I edited the php.ini.default and created the /private/etc/php.ini, I commented out all of the extensions available to prevent loading (for now I was just trying to get a baseline). Even after restarting Apache with the new php.ini info, all of the extensions are still loading. My guess is that since NO extensions are being explicitly loaded, PHP is reacting the same way it would if I had no php.ini.

What perplexes me is that when I attempt to find the library files associated with the “loaded” extensions, I can find NONE! I have searched my entire hard drive as root user looking for any trace of the *.so library files and have found none (ex: call to find / -name ‘mysql‘ returns no files that are php extension libraries). And there is only one *.so file in the /usr/lib/php/extensions/no-debug-non-zts-20090626 directory listed as the extension_dir for php. Why would php say that is is successfully loading them then?

Here is the gd extension result from phpinfo() as an example: http://www.concentricsoft.com/downloads/phpinfo_sc1.jpg

I confirmed that the changes I made to the php.ini file took effect: I set the error_log= to a file and am able to write to it using a call to error_log($string, 0);

I have not tried to run code yet that would attempt to use any of the extensions that php says are loaded, so I guess that is my next move, but I just wanted to see if anyone else out there solved this issue and if so how.

  • 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-17T00:31:13+00:00Added an answer on May 17, 2026 at 12:31 am

    Many PHP extensions can be built statically, as part of the php executable instead of as shared object files.

    You can even build PECL extensions statically.

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

Sidebar

Related Questions

I keep getting this error on my apache install. I have php module enabled
I have enabled mod_rewrite in my Xampp Apache. When I run my phpinfo() page,
I have followed all the instructions here: http://www.tonyspencer.com/2003/10/22/curl-with-php-and-apache-on-windows/ to install & config apache get
I have installed WAMP and running PHP scripts on localhost. I have enabled cURL.
I am trying to use PHP session without using cookies. I have enabled session.use_trans_sid
I have PHP 5.1.6 running with a ton of mods and extensions enabled, is
I have enabled the Web Server on my Mac OS X (10.5.6) by going
I have a combobox that I have Enabled = false. When that is the
I have two websites: one with Lighttpd with PHP and second with Apache and
I have a Windows/Apache/PHP environment set up to imitate a shared hosting account but

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.