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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:22:29+00:00 2026-06-03T16:22:29+00:00

What are the default ./configuration option for PHP? My basic requirement is PDO and

  • 0

What are the default ./configuration option for PHP?

My basic requirement is PDO and mysql.

What options i need to put in ./configuration ?

yum repo of my linux distribution doesn’t support mysql, so i need to compile the PHP source 🙁

Below is the phpinfo() output when i use yum install php.

‘

./configure’ ‘–build=x86_64-redhat-linux-gnu’
‘–host=x86_64-redhat-linux-gnu’ ‘–target=x86_64-redhat-linux-gnu’
‘–program-prefix=’ ‘–prefix=/usr’ ‘–exec-prefix=/usr’
‘–bindir=/usr/bin’ ‘–sbindir=/usr/sbin’ ‘–sysconfdir=/etc’
‘–datadir=/usr/share’ ‘–includedir=/usr/include’
‘–libdir=/usr/lib64’ ‘–libexecdir=/usr/libexec’
‘–localstatedir=/var’ ‘–sharedstatedir=/usr/com’
‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’
‘–cache-file=../config.cache’ ‘–with-libdir=lib64’
‘–with-config-file-path=/etc’
‘–with-config-file-scan-dir=/etc/php.d’ ‘–disable-debug’
‘–with-pic’ ‘–disable-rpath’ ‘–without-pear’ ‘–with-bz2’
‘–with-curl’ ‘–with-exec-dir=/usr/bin’ ‘–with-freetype-dir=/usr’
‘–with-png-dir=/usr’ ‘–enable-gd-native-ttf’ ‘–without-gdbm’
‘–with-gettext’ ‘–with-gmp’ ‘–with-iconv’ ‘–with-jpeg-dir=/usr’
‘–with-openssl’ ‘–with-png’ ‘–with-pspell’ ‘–with-expat-dir=/usr’
‘–with-pcre-regex=/usr’ ‘–with-zlib’ ‘–with-layout=GNU’
‘–enable-exif’ ‘–enable-ftp’ ‘–enable-magic-quotes’
‘–enable-sockets’ ‘–enable-sysvsem’ ‘–enable-sysvshm’
‘–enable-sysvmsg’ ‘–enable-track-vars’ ‘–enable-trans-sid’
‘–enable-yp’ ‘–enable-wddx’ ‘–with-kerberos’
‘–enable-ucd-snmp-hack’ ‘–with-unixODBC=shared,/usr’
‘–enable-memory-limit’ ‘–enable-shmop’ ‘–enable-calendar’
‘–enable-dbx’ ‘–enable-dio’
‘–with-mime-magic=/usr/share/file/magic.mime’ ‘–without-sqlite’
‘–with-libxml-dir=/usr’ ‘–with-xml’ ‘–with-system-tzdata’
‘–with-apxs2=/usr/sbin/apxs’ ‘–without-mysql’ ‘–without-gd’
‘–without-odbc’ ‘–disable-dom’ ‘–disable-dba’ ‘–without-unixODBC’
‘–disable-pdo’ ‘–disable-xmlreader’ ‘–disable-xmlwriter’

vim mysql.ini
; Enable mysql extension module
extension=mysql.so
  • 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-06-03T16:22:31+00:00Added an answer on June 3, 2026 at 4:22 pm

    Try running yum install php-mysql and see if that adds the MySQL extension to PHP.

    You can run yum search php to list additional modules you can install into PHP such as php-gd, php-pdo etc.

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

Sidebar

Related Questions

I am wondering if there is any other configuration options for a default controller.
This prints the default option configuration for the Text widget. Would it be possible
I installed FFMPEG using apt-get. It comes by default compiled with some options: configuration:
I wrote a feature to test the default configuration of my web app using
In our FB configuration a new case is category = Bug per default. I
I'm reading Firefox configuration settings for Dom.max_script_run_time http://kb.mozillazine.org/Dom.max_script_run_time and default is set to 10
I changed the option in the Joomla configuration section to show all errors (E_ALL)
In Zend configuration defaults I have these rules: SetEnv APPLICATION_ENV offline RewriteEngine On Options
There are some tutorials out there telling me how to override PHP configuration when
Is it possible (via programming or xml configuration) to have a default value for

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.