Description of problem: The default php.ini file comes with the Windows include_path un-commented, which seems to be an obvious oversight. Version-Release number of selected component (if applicable): PHP 5.1.6 # cat /etc/issue Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m How reproducible: All of our new servers seem to be afflicted by the same issue. Steps to Reproduce: 1. Install PHP from standard RPMs 2. grep ^include_path /etc/php.ini 3. profit Actual results: # grep ^include_path /etc/php.ini include_path = ".;c:\php\includes Expected results: # grep ^include_path /etc/php.ini include_path = ".:/php/includes"
Thanks for the report. With the default php.ini you should get output as follows: [root@dhcp-0-199 ~]# grep include_path /etc/php.ini ; (directory must also be in include_path or full path must ;include_path = ".:/php/includes" ;include_path = ".;c:\php\includes" Please post the output of: # rpm -q php # rpm -V php from this system.
[root@serve r~]# grep include_path /etc/php.ini ; (directory must also be in include_path or full path must include_path = ".:/php/includes" ;include_path = ".;c:\php\includes" [root@server ~]# rpm -q php php-5.1.6-20.el5_2.1 [root@server ~]# rpm -V php S.5....T c /etc/httpd/conf.d/php.conf
Ah, actually, the correct rpm -V command to run should be: rpm -V php-common it looks pretty clear /etc/php.ini is modified from the default on this box, in any case.
Just checked a fresh server: [root@ninja ~]# grep include_path /etc/php.ini ; (directory must also be in include_path or full path must ;include_path = ".:/php/includes" ;include_path = ".;c:\php\includes" [root@ninja ~]# cat /etc/issue Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m Must be our deploys that are causing the problem. This report can be closed.
Thanks for reporting back!