Find the answer to your Linux question:
Results 1 to 2 of 2
How can I get a complete list of the extensions that are used by our php build? I'm not seeing anything in the /etc/PHP5/...ini files and a phpinfo(); tells me ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    3

    listing php5 extensions enabled



    How can I get a complete list of the extensions that are used by our php build? I'm not seeing anything in the /etc/PHP5/...ini files and a phpinfo(); tells me many are enabled. It doesn't look like these are written into Apache's httpd.conf file either?

    Where would the PHP5 config be written? Thanks for any immediate help.

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    2
    Please install modules. Check what module available
    Code:
    # apt-cache search php5
    Check module was installed
    Code:
    # dpkg -l |grep php5
    All apache module in /etc/apache2/mods-available/
    Code:
    # ls -l /etc/apache2/mods-available/
    All apache module was enabled in file /etc/apache2/mods-enabled/

    Check with this command
    Code:
    # ls -l /etc/apache2/mods-enabled/
    To enable it, make link file in /etc/apache2/mods-available/ to /etc/apache2/mods-enabled/

    exp :
    Code:
    ls -s /etc/apache2/mods-available/ssl.conf /etc/apache2/mods-enabled/ssl.conf
    ls -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/ssl.load
    Then, restart your web server
    Code:
     #/etc/init.d/apache2 restart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •