php-install Digest 25 Sep 2002 23:10:39 -0000 Issue 1039
Topics (messages 8567 through 8571):
zip/zziplib segfaults
8567 by: Charles Galpin
Re: POST problems
8568 by: Moraes, Fabio
RedHat7.1 RPM install - How To Get MSSQL functionality
8569 by: JohnnyP
php-4.2.3 + Apache
8570 by: Wilfredo I. Pachón López
compile fails on netdb.h?
8571 by: richard hornsby
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 ---
Hi
I've searched the archives but cannot find any answers to this problem.
Red Hat 7.2
php-4.1.2-7.2.4 or php-4.1.2-7.3.4
zziplib-0.10.66
I rebuilt php with --with-zip. However a simple cli test program that
does a zip_open then attempts a zip_read, gets a segmentation fault on
the zip_read (or even a zip_close immediately after the open).
Can anyone shed some light on how to get zip support working?
thanks
charles
--- End Message ---
--- Begin Message ---
first: you need to set register_globals to "on" in your php.ini OR (and
recommended) use global variables $_GET[] and $_POST[]
second: please, use '%20' instead of ' ' while treating HTML strings ...
---
Fabio Moraes
[EMAIL PROTECTED]
+55 21 3088 9548
> -----Original Message-----
> From: Aitor [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 6:34 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] POST problems
>
>
> Hi to all. I have installled Xitami v2.4d9 and PHP 4.2.3 on
> Windows98se. Everything looks ok.
> I have just started to learn PHP and I did a little program
> just to test the server. There are to webs:
>
> INDEX.PHP
>
> <HTML>
> <HEAD>
> <TITLE>Index.php</TITLE>
> </HEAD>
> <BODY>
> <a href="resultado.php?saludo=hola&texto=Esto es una variable
> texto">Paso variables saludo y texto a la página destino.php</a>
> </BODY>
> </HTML>
>
>
> RESULTADO.PHP
>
> <HTML>
> <HEAD>
> <TITLE>resultado.php</TITLE>
> </HEAD>
> <BODY>
> <?
> echo "Variable \$saludo: $saludo <br>\n";
> echo "Variable \$texto: $texto <br>\n"
> ?>
> </BODY>
> </HTML>
>
> But I get this error:
>
> Notice: Undefined variable: saludo in
> D:\XITAMI\webpages\test\resultado.php on line 7
> Variable $saludo:
>
> Notice: Undefined variable: texto in
> D:\XITAMI\webpages\test\resultado.php on line 8
> Variable $texto:
>
> I have try differents forms but I always get the some error,
> "Undefined variable".
> Why the fisrt web doesn't pass the variables to the second one?
> In my php.ini I have:
>
>
> ; cgi.force_redirect is necessary to provide security running
> PHP as a CGI under
> ; most web servers. Left undefined, PHP turns this on by
> default. You can
> ; turn it off here AT YOUR OWN RISK
> ; **You CAN safely turn this off for IIS, in fact, you MUST.**
> cgi.force_redirect = 0
>
> ; if cgi.force_redirect is turned on, and you are not running
> under Apache or Netscape
> ; (iPlanet) web servers, you MAY need to set an environment
> variable name that PHP
> ; will look for to know it is OK to continue execution.
> Setting this variable MAY
> ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
> ; cgi.redirect_status_env = ;
>
> I have not write any "environment variable" because I don't
> know what is that!! I have look for help reading all the
> install notes! Is this the cause of my problem, I think so
> but I don't know how to solve this.
>
> Thanks to everyone that has read this!!
>
> From the Canary Islands (Spain), Aitor. :)
>
--- End Message ---
--- Begin Message ---
I have install PHP using RPM's on a RedHat7.1 system along with Apache and
MySQL. I need to be able to communicate with an MSSQL server but cannot
fingure out what I need to get it working. Can anybody shed some light on
what RPM's I need and what, if any, configuration is required afterwards.
Cheers
John
--- End Message ---
--- Begin Message ---
Hi everybody
I'm tring to reinstall php ad apache and get a error, this is the
problem:
I had a a totally functional server with PHP 4.2.3 + Apache 1.3.23 (RPM
package for RH 7.3) in this all were all rigth but i try to upgrade
Apache to avoid the potentialy security bugs that were reported in
past weeks, i download Apache 2.0.40 and compile fine, obiusly i
recompile PHP too and apparently all work without problems, but when
check my page (this a PHPNuke portal) found a big problem, ALWAYS the
function file_exists return false and some MySQL querys (specialy
INSERTs and UPDATEs) cause problems.
I think this can be a problem with Apache 2 because PHP support for
this is experimental.
There are any form to solve this?
I'm the only people who have this problem?
PLEASE HELP ME.
--- End Message ---
--- Begin Message ---
If someone could please help me on this one, I really would appreciate
it. I've compiled PHP successfully dozens of times, but can't seem to
figure out what this problem is :( This is a RH7.3 box, with the
"newest" version of glibc which apparently provides netdb.h (figuring
maybe that would help since the version shipped with RH had the same
problems.) I don't know enough C to understand what I'm being told here,
and netdb.h doesn't have any obvious parse errors.
If you reply, please CC me in mail because the faster I can get this
fixed, the less stressed out I'll be.
Thanks.
/bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc -I.
-I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3
-I/usr/local/apache/include -I/usr/src/php-4.2.3/Zend
-I/usr/include/freetype2/freetype -I/usr/local/mysql/include/mysql
-I/usr/local/include/pspell -I/usr/src/php-4.2.3/ext/xml/expat -DLINUX=22
-DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/usr/src/php-4.2.3/TSRM -g -O2 -prefer-pic -c
fopen_wrappers.c
In file included from fopen_wrappers.c:70:
/usr/include/netdb.h:119: parse error before `__socklen_t'
/usr/include/netdb.h:141: parse error before `__socklen_t'
In file included from fopen_wrappers.c:72:
/usr/include/arpa/inet.h:27: syntax error before `socklen_t'
/usr/include/arpa/inet.h:27: warning: empty declaration
make[2]: *** [fopen_wrappers.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.3/main'
make: *** [all-recursive] Error 1
--- End Message ---