Public bug reported:
Binary package hint: php5
Dapper server LAMP install. The /etc/php5/apache2/php.ini file has the
following section:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/usr/share/php"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
include_path is commented out, but seems to be the default anyway,
according to phpinfo(). The problem is that /usr/share/php does not
exist - but /usr/share/php5 does.
To fix this, either make the default include path /usr/share/php5, or
change /etc/php5/apache2/php.ini to read:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
include_path = ".:/usr/share/php5"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
Cheers!
FoxyLad.
** Affects: php5 (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Bad include_path setting
https://launchpad.net/bugs/50407
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs