I am running Apache2 on a Mac OS X (10.5). I just compiled PHP 5.2.8 and finally got pdo-mysql
working (or so I think).
This terminal command:
php --version
is showing 5.2.8 and I have the right modules installed.
But, when I do a phpinfo()
, Apache dumps out PHP 5.2.6 (my earlier version, without pdo_mysql
).
How do I tell Apache which PHP to load? The httpd.conf
has the line:
LoadModule php5_module libexec/apache2/libphp5.so
But, I don't know what or where that is.
Is that what I have to change?