[CentOS] PHP.ini question 5.5CentOS

Ed Donahue liberaled at gmail.com
Thu Sep 2 19:21:14 EDT 2010


On Thu, Sep 2, 2010 at 6:32 PM, Ed Donahue <liberaled at gmail.com> wrote:
> I can't seem to figure out why any changes I make to php.ini and
> restart apache (apachectl stop|start; grep of any httpd processes),
> the settings do not update.
>
> php -r "phpinfo();" | grep Configuration
> Configuration File (php.ini) Path => /etc/php.ini
> Configuration
>
>
> I installed extensions via yum and they don't show up.
> # rpm -qa|grep php
> php-gd-5.1.6-27.el5
> php-mysql-5.1.6-27.el5
> php-pear-1.4.9-6.el5
> php-common-5.1.6-27.el5
> php-cli-5.1.6-27.el5
> php-devel-5.1.6-27.el5
> php-pdo-5.1.6-27.el5
> php-5.1.6-27.el5
>
> Can I load extensions via httpd.conf like how you override defaults?
>

It was looking in a different location: /usr/local/lib


More information about the CentOS mailing list