php-install Digest 29 Aug 2002 23:26:43 -0000 Issue 999

Topics (messages 8255 through 8260):

Re: installation
        8255 by: Matt Schroebel

Re: Installing command-line php binary
        8256 by: Vicki Brown

PHP with Apache and Frontpage extentions
        8257 by: Jeremy Buckner

libphp4.so and pthread_getspecific on 4.6-RELEASE FreeBSD
        8258 by: Bruce Rhodewalt

Enabling PEAR logging with PHP 4.2.2
        8259 by: Vicki Brown

PHP 4.2.2, Horde 2.1 and PEAR
        8260 by: Vicki Brown

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
> -----Original Message-----
> From: Marco Botros [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, August 29, 2002 6:16 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] installation
> 
> Any body out there available to help!.

I think you need to be more specific.  What do you need help with and what OS?  
There's many nice documents describing what to do, most notably the INSTALL document 
that comes with the distribution.
--- End Message ---
--- Begin Message ---

On Wednesday, August 28, 2002, at 07:27 PM, Jim Thome wrote:

> I believe the binary is only installed when compiled as a CGI 
> program.  Remove the nsapi line and recompile to get the binary 
> installed.
>
> http://www.php.net/manual/en/install.commandline.php
>

If that is the case, it would be a bug... it should never be 
necessary to re_configure_ to cause a built file to be installed.

--- End Message ---
--- Begin Message ---
Anyone have a how-to for this? I'm running FreeBSD 4.6 and would like to
build a web server running PHP, Apache, and FrontPage Extensions. Any help
would be great.


--- End Message ---
--- Begin Message ---
Thanks a lot for any suggestions.  My problem: Apache works unless I load
PHP, at which point I get this error:

Cannot load /usr/local/apache2/modules/libphp4.so into
server: /usr/local/apache2/modules/libphp4.so: Undefined
symbol "pthread_getspecific"

I worked off these instructions:
http://www.php.net/manual/en/install.apache.php.  I used the default apache
prefix, and --with-apxs2=/my/path/apxs. Also, downloaded and installed
pth-1.4.1 before configuring apache. I didn't change anything in php.ini.

I got php4-latest.tar.gz from snaps.php.net this morning and installed it
over 4.2.2.

hairspray# /usr/local/apache2/bin/httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c

hairspray# /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.40
Server built:   Aug 28 2002 22:05:55
Server's Module Magic Number: 20020628:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -D APR_USE_FLOCK_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Thanks again.

Bruce Rhodewalt
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
I have configured, built, and installed PHP 4.2.2.

I have tested the installation using horde's test.php script and 
it tells me:

PEAR
     * PEAR - Yes
     * Recent PEAR - Yes
     * Mail::RFC822 - Yes
     * Log - No
     * Make sure you're using a recent version of PEAR which 
includes the Log class.
     * DB - Yes

I would appreciate recommendations as to what I can do to meet 
this requirement for the PEAR Log class.

php config:
LDFLAGS='-lclua -limc' \
'./configure' \
'--with-mysql=/usr/local/mysql' \
'--with-imap' \
'--with-kerberos=/usr/local' \
'--with-ldap' \
'--enable-cli' \
'--with-gettext' \
'--enable-discard-path' \
'--prefix=/usr/local/test'

- Vicki
--- End Message ---
--- Begin Message ---

On Thursday, August 29, 2002, at 11:57 , Vicki Brown wrote:

I have configured, built, and installed PHP 4.2.2. I can't seem 
to determine what version of PEAR this comes with but it seems 
obvious that it is NOT 4.1.0. When I download the PEAR 4.1.0 
archive from ftp.horde.org, the contents are VERY different. 
Apparently the included PEAR .php files have been substantially 
reworked for the PHP 4.2.1/2 distribution. Sigh.

1) Should I try PEAR 4.1.0 with PHP 4.2.2? Does anyone know if 
this will cause me problems?
    When I try the PEAR that comes with PHP 4.2.2 it does not 
include the Log.php filewhich causes errors from Horde's 
test.php and may cause errors for horde itself.

2) Has anyone successfully installed Horde 2.1 and Imp 3.1 with 
PHP 4.2.2? Am I looking at more problems?
    I have been instructed to download and install "the latest 
stable versions" of PHP, Horde, IMP, and Turba. Do I need to go 
back to management and tell them that these versions do not 
(yet) play together?
Given the various security problems found in recent versions of 
PHP I am loathe to simply "back up" to an earlier version 
without more information.
- Vicki
--- End Message ---

Reply via email to