Dumb question: Including PEAR isn't working
Posted: Thu Nov 30, 2006 1:04 pm
Okay, I'm not really getting it...
This is what I get in SSH:
This is what I get in SSH:
This is what PHP is reporting:s001# ls -l /usr/local/lib/php | grep Live
drwxr-xr-x 4 root wheel 512 Nov 30 16:03 LiveUser
-rw-r--r-- 1 root wheel 61587 Nov 30 16:03 LiveUser.php
These are some snippets from my phpinfo.php:Attempt #1: Fatal error: require_once() [function.require]: Failed opening required 'LiveUser.php' (include_path='.:/usr/local/lib/php') in...
Attempt #2: Fatal error: require_once() [function.require]: Failed opening required 'LiveUser.php' (include_path='/usr/local/lib/php')
Attempt #3: Fatal error: require_once() [function.require]: Failed opening required 'LiveUser.php' (include_path='/usr/local/lib/php/')
In the PEAR install manual they only explain how to make a copy for shared server use, but since I have a dedicated server, I'd like to use the shared version... Does anyone know what I'm doing wrong? Am I obligated to copy the files into a folder in my ~ directory?Configure Command './configure' '--with-apxs' '--with-curl' '--with-curl-dir=/usr/local/lib' '--with-gd' '--with-gd-dir=/usr/local' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-kerberos' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr/local/mysql' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-zip' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-track-vars' '--enable-mbstring' '--enable-memory-limit' '--with-ttf' '-with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-mysqli'
include_path .:/usr/local/lib/php