php-install Digest 26 Jun 2003 00:09:46 -0000 Issue 1437

Topics (messages 11152 through 11156):

PHP in C SHELL
        11152 by: Marcos

session_start undefined
        11153 by: dayton.brooklyn.cuny.edu

PHP Install Solaris 2.8 + Oracle
        11154 by: Steve Sherry

install failure on Sun Solaris 8
        11155 by: YONG ZHANG

Can't get Red Hat 8 box to upgrade to 4.3.2
        11156 by: George

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 ---
I need to execute the archive php below in the server Apache, but I
perceived that I obtain the waited result if I use csh (C shell) and not
using bash, somebody could say me as to execute this script in csh?

        $pipe = "$username\n$password\n";
        $pwauth = "/usr/local/apache/bin/pwauth";
        if($cmd = popen ($pwauth, "w")) {
                fwrite($cmd, $pipe);
                $status=(pclose($cmd)>>8)&0xFF;
        }

Thank's

Marcos
[EMAIL PROTECTED]



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/03



--- End Message ---
--- Begin Message ---
Folks,

I've been using php w/apache for some time but I've encountered two problems
while installing it on a new laptop which I use for development & testing.
The first problem is more important to me but I figure the two problems may
be related.

1) session_start() is undefined.  It is undefined when I access a script via
   apache 1.3 and when I run scripts by hand.  It arises both when I start
   tikiwiki and my home grown system.

2) If I start apache with mod_php3, httpd gets a SEGV and dumps core.  If I
   comment out the two mod_php3 lines in the httpd.conf apache starts up.

Specs: FBSD 4.8.  XFree86 4.3.0, Apache/1.3.27, Php 4.3.2RC4.

I've reinstalled php and apache several times.  Searching the archives
hasn't produced anything.  Nothing obviously wrong in the config files.

Any ideas as to what this is?  I assume it's something simple, but I haven't
found it yet.

thanks
dayton


--- End Message ---
--- Begin Message ---
I'm having trouble getting PHP to build and install on a Solaris 2.8
platform.

I can get php to build and run if I run
./configure --prefix=www --with-apxs=/www/bin/apxs

When I run ./configure --prefix=www --with-apxs=/www/bin/apxs --with-oci8 I
get the following error message

Installing PEAR environment: /users/atisrdc/she/php/php/lib/php/
Segmentation Fault
make[1]: *** [install-pear-installer] Error 139
make: *** [install-pear] Error 2

I have also tried to build php without pear and then again with cli
disabled. The build will complete, but then I get a segmentation error when
I start apache.

Does anyone have any ideas?

Thanks!
Steve



--- End Message ---
--- Begin Message ---
Thanks for help.

--- End Message ---
--- Begin Message ---
Howdy

I am trying to upgrade my server from PHP 4.2.2 to 4.3.2

It was initially installed using the Red Hat 8 rpms.  I am trying to
duplicate its configure command, but the ./configure command fails at...

-------------------------------------------------
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... configure: 
error: Please note that Apache version >= 2.0.44 is required.
--------------------------------------------------

I was expecting the install to work via DSO through APXS, but maybe
that's not how Apache is set up in the Red Hat rpms?!?

Does anyone have any ideas how to make this work?

Here is more background info:
----------------------
Configure command for PHP install:
./configure --host=i386-redhat-linux --build=i386-redhat-linux 
--target=i386-redhat-linux-gnu --prefix=/usr--sysconfdir=/etc --localstatedir=/var 
--mandir=/usr/share/man --infodir=/usr/share/info --with-config-file-path=/etc 
--enable-force-cgi-redirect --disable-rpath --with-db3 --with-curl --with-dom=/usr 
--with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf 
--with-ttf --with-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv 
--with-jpeg-dir=/usr --with-openssl --with-png-dir --with-pspell --with-regex=system 
--with-expat-dir=/usr --with-zlib with-bz2 --enable-bcmath --with-layout=GNU 
--enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets 
--enable-sysvsem --enable-sysvshm --enable-discard-path  --enable-yp --enable-wddx 
--with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl 
--with-kerberos=/usr/kerberos  --with-ldap=shared --with-mysql=shared,/usr 
--with-pgsql=shared --with-snmp=shared,/usr --with-snmp=sh!
ared --enable-ucd-snmp-hack  --with-unixODBC=shared --enable-memory-limit 
--enable-bcmath --enable-shmop --enable-versioning --enable-calendar --enable-dbx 
--enable-dio --with-mcal --with-apxs2=/usr/sbin/apxs

I took the setup from the results from the PHP-info command compared
to the options available in PHP 4.3.2.
-----------------------

Server runs Apache 2.0.40-11.5       mod_so.c is active

-----------------------
Current PHP configuration for Apache is in the conf.d folder and
consists of these commands:

#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#

LoadModule php4_module modules/libphp4.so

#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 524288
</Files>

#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
--------------------------

I am more knowledgeable than a newbie, but have learned everything by
OJT -- no formal training so I have gaps in my understanding.

THANKS in advance for any help you can provide.

Peace,
George


--- End Message ---

Reply via email to