On Tue, 15 Feb 2011, Paul A wrote:
To: 'CentOS mailing list' centos@centos.org From: Paul A razor@meganet.net Subject: [CentOS] apache 2 and php 5.2
Hi originally I installed php 4 on centos 5.5 and then a few repos including the remi repo to upgrade to php5, which seems to upgrade/work without any issues.
However when I make a change to the /etc/php.ini file it doesn't look like apache is seeing it, for example if I change the post_max_size and upload_max_file to 25M each apache still sees the default 2M. I also removed the /etc/php.ini file and apache is able to start with no problems and it will still see the default 2M.
...
php --ini
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_odbc.so' - /usr/lib/php/modules/pdo_odbc.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0
This could indicate a conflict in the installation - the fact that PHP is looking for a missing library file.
I'm sure your installation of PHP and/or apache is trashed :(
It's *easy done* when mixing repos, if you don't take great care with your yum priorities.
Do you have multiple versions of apache packages installed somehow?
Keith
----------------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------