problem w/ PHPlib path configuration
Craig Burgess
craig@CheetahUSA.net
Tue, 19 Feb 2002 08:38:45 -0800
At least that is what the FAQ indicates. And ~horde/test.php3 shows
PHPLIB (is page_open() defined): No
FAQ: 5.1.12 "Call to unsupported function page_open"
This error occurs when PHPlib is missing from the PHP
include path. Make sure you have followed the instructions
in the README file in your PHPlib directory.
Same results with test.php (PHP4)
I think that I did follow the instructions. The PHPlib files are in
/usr/local/etc/apache/ and I've played with about every combination
of path statements I could think of. Apparently not the correct
one.
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
include_path '.:/usr/local/lib/php/includes:/usr/
local/etc/apache/:/usr/local/etc/'
auto_prepend_file '/usr/local/etc/apache/prepend.php3'
Please feel free to take a look:
http://alphabox.yi.org/horde/ test.php3 and test.php may be
informative - along with http://alphabox.yi.org/docs/phpinfo.
Finally, I cannot effectively use PHP3 because I cannot get it to
build on the alpha --with-gettext. Selecting it from the menu
during build doesn't seem to work and running ./configure --with
anything results in a build which wants to use CFLAG -O2 which
produces buggy code.
I'd really appreciate any pointers on getting this configured.
thanks,
craig