FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 02-15-2011, 07:19 PM
"Paul A"
Default 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.
I was wondering if anyone can tell me why apache is not taking the settings from the /etc/php.ini file and it works without that file.
Thanks, Paul
rpm -qa php
rpm -qa httpd*
[root@testip5 html]# httpd -v
Server version: Apache/2.2.3
Server built:** Aug 30 2010 12:32:08
Httpd –M
php5_module (shared)
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
Configuration File (php.ini) Path: /etc
Loaded Configuration File:******** (none)
Scan for additional .ini files in: /etc/php.d
Additional .ini files parsed:***** /etc/php.d/Fileinfo.ini,
CentOS mailing list

Thread Tools

All times are GMT. The time now is 09:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org