php-install Digest 18 Feb 2003 10:21:47 -0000 Issue 1252

Topics (messages 10056 through 10062):

Re: Installation problems
        10056 by: Jonas Geiregat

Re: values out of form variables
        10057 by: Mitch Pirtle

Problem with Oracle 8
        10058 by: Frank

values out of form variables, problem solved
        10059 by: Mihir Dhond

problem with getting the pspell working
        10060 by: Pawel J. Maczewski

Notice: Use of undefined constant celfar - assumed 'celfar' in D:\...\calc.php on line 
20
        10061 by: rancor

**SOLVED*** PHP-4.3.0 Apache2.0.44 HP-UX11 make install error libphp4.la
        10062 by: Germano Gasparini

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 ---
very simple it's  --with-apxs2=/mnt/lfs/userv/apache2/bin/apxs you wrote ../bin/axps


On Sun, 16 Feb 2003 15:24:15 +0100
[EMAIL PROTECTED] (Andreas Ekeroot) wrote:

> Hallo. I am trying to install PHP 4.3.0 and HTTPD 2.0.44 and MySQL 3.23.55.
> 
> My configuration options for PHP are:
> 
> ./configure --prefix=/mnt/lfs/userv/php
> --with-apxs2=/mnt/lfs/userv/apache2/bin/axps --enable-calendar --enable-ftp
> --with-mysql=/mnt/lfs/userv/mysql/
> 
> 
> MySQL and HTTPD are happily installed and only PHP is left. When I'm trying
> to compile PHP I get:
> 
> /bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/
> -I/tmp/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC
> -I/tmp/php-4.3.0/include -I/tmp/php-4.3.0/main -I/tmp/php-4.3.0
> -I/mnt/lfs/userv/apache2//include -I/tmp/php-4.3.0/Zend
> -I/mnt/lfs/userv/mysql//include/mysql -I/tmp/php-4.3.0/ext/xml/expat 
> -I/tmp/php-4.3.0/TSRM  -g -O2  -prefer-pic -c
> /tmp/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o
> sapi/apache2filter/sapi_apache2.lo 
> In file included from /mnt/lfs/userv/apache2/include/http_protocol.h:64,
>                  from /tmp/php-4.3.0/sapi/apache2filter/sapi_apache2.c:41:
> /mnt/lfs/userv/apache2/include/apr_portable.h:434: parse error before `*'
> make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1
> 
> Why? What can I do to solve the problem?
--- End Message ---
--- Begin Message ---
On Fri, 2003-02-14 at 22:52, Mihir Dhond wrote:
> <form action="welcome.php" method="get">
> First Name: <input type="text" name="firstname" /><br />
> Last Name: <input type="text" name="lastname" /><br />
> <input type="submit" value="GO" />
> </form>
> 
> code in welcome.php:
> 
> <?php
> echo( "Welcome to my Website, $firstname $lastname!" );
> ?>


Change that to 

echo "Welcome to my website, " . $_GET['firstname']  . " " .
        $_GET['lastname'] . "!";

The reason for this is that with 4.3.0 register_globals is set to off by
default.  This is a much-needed security measure, as it keeps curious
people like me from screwing around with your website by manually
entering variables and bogus values...

You can now reference form variables with $_GET and $_POST,
respectively.  Read all about it here:

http://www.php.net/manual/en/language.variables.external.php

HTH,

Mitch

Attachment: signature.asc
Description: This is a digitally signed message part

--- End Message ---
--- Begin Message ---
Hi, I'm Frank, I have a problem with the extension oci8 PHP, yours known some version 
from PHP up to 4.0.4 that 
execute good the extension oci8 in php, to update my php.
thank you
and blessing.


Hola, soy Frank, tengo un problema con la extension oci8 de PHP, ustedes conocen 
alguna version de php superior a 4.0.4 que se ejecute bien la extension oci8 in php, 
para actualizar mi php.
Gracias
y bendiciones.

--- End Message ---
--- Begin Message ---
Dear all,
My problem of not getting out values out of form variables is solved..

2 things had to be done:

1) Install the windows service pack 1 because there are some bugs in Windows
xp which hampers the php code...

2) The register globals should be on in the php.ini...which I had done
without installing the service pack...before

Thanks to everyone for their support.

Regards and Best Wishes,
Mihir Dhond

--- End Message ---
--- Begin Message ---
Hi all,
  I have apache 1.3.22 on a RH Linux 7.1 box. Installed PHP 4.3.0 with 
pspell support. I have 2 disctionaries installed: english and polish 
(dictionaries are from gnu aspell ftp site). But my php script seems not 
to find the dictionaries... Is there any smart thing I should do for php 
find my aspell dicts? 

regards
  Paul

-- 
   Pawel J. Maczewski @ HIL
    reg.linux user #281878

--- End Message ---
--- Begin Message ---
Hi,

I just installed PHP 4.3.1 on a Windows 2000 Server with IIS 5

I got this kind of messages all the time independent of what code i'm
running
---
Notice: Use of undefined constant celfar - assumed 'celfar' in
D:\..\calc.php on line 20
---

I have installed the same package on a Windows XP Pro machine with IIS 5.1
running with the same problem. I can't find anyhing in the dokumention that
I have missed.

What have I missed???? :-)

Best Regards
Johan Ryberg



________________________________________________________________________
Delivered using the Free Personal Edition of Mailtraq (www.mailtraq.com)
--- End Message ---
--- Begin Message ---
Hello

After further searching, I eventually found the solution for the problem I
had with HPUX11.00 (see below).

The complete description can be found at:
http://bugs.php.net/bug.php?id=19918

Cheers
Germano


Germano Gasparini wrote:
> [... snip ...]
> Installing PHP CLI binary:        /usr/local/bin/
> Installing PHP SAPI module
> /usr/local/apache2/build/libtool --mode=install cp libphp4.la
> /usr/local/apache2/modules/
> cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
> cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
> ranlib /usr/local/apache2/modules/libphp4.a
> chmod 644 /usr/local/apache2/modules/libphp4.a
> Warning!  dlname not found in /usr/local/apache2/modules/libphp4.la.
> Assuming installing a .so rather than a libtool archive.
> chmod 755 /usr/local/apache2/modules/libphp4.so
> chmod: can't access /usr/local/apache2/modules/libphp4.so
> apxs:Error: Command failed with rc=65536
> ..
> *** Error exit code 1



--- End Message ---

Reply via email to