[CentOS] PHP PDO installeren

Pagina: 1
Acties:

  • GWTommy
  • Registratie: Mei 2008
  • Laatst online: 05-08-2023
Ik heb in een VM CentOS geinstalleerd, standaard server installatie. Phpinfo() geeft dit configure command:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu'
'--target=i386-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/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--cache-file=../config.cache' '--with-libdir=lib' '--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'


Zoals je ziet is PDO disabled. Nu wil ik dit natuurlijk aan zetten. Maar ik weet niet hoe ik dat doe aangezien ik alleen maar hoor/lees dat dit mogelijk is door PHP opnieuw te configureren en dus opnieuw te installeren. Ik zit ook hier niet zo op te wachten. Als dit de enigste oplossing is, dan hoor ik graag waar PHP standaard geinstalleerd staat bij zo'n installatie die ik heb gedaan, anders zou ik willen weten hoe ik die instellingen aan pas.

Gr. Thomas.

  • DiedX
  • Registratie: December 2000
  • Laatst online: 27-01 12:54

DiedX supports the Roland™, Sound Blaster™ and Ad Lib™ sound cards


  • GWTommy
  • Registratie: Mei 2008
  • Laatst online: 05-08-2023
Ik heb precies gedaan wat daar staat, maar configure blijft het zelfde.

Maar even ter verduidelijking: ik heb apache, mysql en php al geinstalleerd.