I am trying to compile pdo.so and pdo_mysql.so to get pdo support on my PHP5 install. I tried the following :
./configure --prefix=/thedirectory --with-mysql --with-pdo-mysql --enable-pdo
Compilation is successful but the .so aren't generated. I am supposed to have/specify a mysql installation?
Is the pdo support supposed to be compiled within php core ? If I run a php -m I can see PDO and pdo_mysql registered, but a phpinfo() states no pdo_mysql support. I guess the php -m just tells me php has pdo support but still need the .so?
Could anyone advise?
Thanks
configure/make/make install-configurenormally just generates a makefile, it doesn't actually compile it... How are you running PHP, against which web server? Apache/mod_php or CGI/FCGI? - DaveRandomPDOException, you don't need to worry aboutpdo.so. If you're using redhat, can't you just get it with rpm? - DaveRandom