php-install Digest 22 Nov 2002 07:24:33 -0000 Issue 1128

Topics (messages 9212 through 9217):

Re: HP-UX 11.00 PHP-4.3.0RC1 Apache-2.0.43 'Bad Magic Number'
        9212 by: Briggs, Patrick

PHP4.2.3 Install Error on Win98/PWS4
        9213 by: Tes Falcon

PHP FastTemplates Fails on RH7.3 (regex problem?)
        9214 by: Gary Smith

I can't install GD
        9215 by: Santiago

Installation Problems
        9216 by: Shahram Khosraviani

PATCH: correctly locate IMAP headers
        9217 by: ken restivo

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 already have that linker patch installed, so it didn't make a difference.
I think the problem is PHP-4.3.0RC1 is creating a static version of phplib4
instead of a dynamic shared version.  There is a reference to this problem
as bug # 19918 on bugs.php.net

> -----Original Message-----
> From: Konrad Ludwikowski [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 6:21 AM
> To:   Briggs, Patrick
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: [PHP-INST] HP-UX 11.00 PHP-4.3.0RC1 Apache-2.0.43 'Bad
> Magic Number'
> 
> Czesc Patrick,
> 
> Wednesday, November 20, 2002, 12:54:50 AM, you wrote:
> 
> BP> I'm attempting to build PHP-4.3.0RC1 on HP-UX 11.00 with Apache-2.0.43
> and
> 
> try PHSS_26559, if it don't help mayby it will give you better message...
> 
> -- 
> Pozdrawiam,
>  Konrad                            mailto:[EMAIL PROTECTED]
This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential or privileged
information.  Any unauthorized review; use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.
--- End Message ---
--- Begin Message ---
I've checked the archives but I don't see this problem
or error messages anywhere. If I overlooked the simple
solution, forgive a PHP newbie.

The other day I was working on my dev site on my
personal machine (AMD K6-2 300 w/ Win98 & PWS4) when I
tried to use the fmod(); function that I found in the
online manual. It kept returning "module not found" or
something to that affect. I checked the manual again
and noted that it said that fmod(); was for 4.2.0 and
above. My installation of PHP was 4.0.4. So I
upgraded.

AAGH!

The automatic installation crashed saying that it
couldn't configure PWS & I should do it manually.
Unfortunately it didn't uncompress all the files.
Attempt #2 didn't help.

The zip install had all the files, but I'm still
getting the following errors when attempting to run a
PHP file:

Dialog box pops up: "Can't open
C:\windows\system\inetserv\browscap.ini for reading"

I checked and the path is correct. Reversing the
slashes only changes slashes in the box: message still
shows.

InetInfo crashes.

Instead of the proper return: error message is: 
"A dynamic link library (DLL) initialization routine
failed."
The actual HTML source is:
"<html><head><title>Error</title></head><body>A
dynamic link library (DLL) initialization routine
failed. </body></html>"

I verified the path is correct in RegEdit.
I tried pointing to the EXE first. Same result.

Thanks in Advance,
-Tesla

PS: The PHP I'm trying to run is the following:
"<?php
        print phpinfo();
?>" - TNF


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
Hi All,

I've been using PHP and FastTemplates for a couple of years on multiple
platforms (Mac OSX, Win98, WinNT, Solaris). I've just installed RedHat
7.3 and FastTemplates doesn't work anymore.

I get the message:
Warning: Invalid content of \{\} in
/var/www/cgi-bin/php/FastTemplate/class.FastTemplate.php4 on line 201

Here are the lines from FastTemplate:
line 199> //    php4 doesn't like '{$' combinations.
line 200> $key = "{"."$key"."}";
line 201> $template = ereg_replace("$key","$val","$template");

I've applied the patch for FastTemplates and php4. The version of PHP
that comes with RedHat 7.3 is 4.1.2 which is the same as my Mac OSX
which works fine.

One of the only differences I see is that with phpinfo the RedHat
systems are using the system regex library and the others are using the
bundled library. This is the default installation with RH7.3.

Any Clues?

Thanks,
Gary Smith

--- End Message ---
--- Begin Message ---
I have a problems when I try to compile php with gd.
The error message (when I try to start the apache)

Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: gd_module_entry
./usr/local/apache/bin/apachectl start: httpd could not be started
[root@lxt2db /]#

I am working with  apache 1.3.19 and php4.0.4. as an
 apache module.

  I am doing:


./configure --with-apache=../apache_1.3.19 --enable-track-vars --with-gd=../
gd1.3 --prefix=/usr/local/php4

make

make install

cd apache1.3.19


./configure --prefix=usr/local/apache --activate-module=src/modules/php4/lib
php4.a --sysconfdir=/usr/local/apache/conf --includedir=/usr/local/apache/in
clude --libexecdir=/usr/local/apache/libexec --htdocsdir=/var/www/html --ena
ble-module=php4 --enable-shared=max

Any ideas?

Santiago Argibay Molina



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

This is my first time out here.

I need to run php off from my windows 98.

I downloaded the file from php.net and installed it.

I have pws running.

I just don't know how do i get to start php from windows 98 envirnoment.

Thank You
Shahram


--- End Message ---
--- Begin Message ---
This patch fixes a problem with the --with-imap search algorithm.  I have an ancient 
version of IMAP running on my build machine, but I am building php4 to use an 
up-to-date version of imap, using the --with-imap configure argument. Prior to this 
patch, configure would ignore my $withval and instead find the wrong version of imap 
in /usr. This patch makes configure look first in the location given on the command 
line, and *then* fall back to /usr and /usr/local.

The patch is against today's CVS.

-ken
-------

Index: config.m4
===================================================================
RCS file: /repository/php4/ext/imap/config.m4,v
retrieving revision 1.49
diff -u -b -B -w -p -u -b -B -w -p -r1.49 config.m4
--- config.m4   1 Nov 2002 16:45:59 -0000       1.49
+++ config.m4   22 Nov 2002 04:49:27 -0000
@@ -141,7 +141,13 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
 
 
 PHP_ARG_WITH(imap,for IMAP support,
-[  --with-imap[=DIR]       Include IMAP support. DIR is the c-client install prefix.])
+[  --with-imap[=DIR]       Include IMAP support. DIR is the c-client install prefix.],
+   [
+    PHP_IMAP=$withval
+  ],[  
+    PHP_IMAP=no
+  ])   
+   
 
 if test "$PHP_IMAP" != "no"; then  
 
@@ -149,7 +155,7 @@ if test "$PHP_IMAP" != "no"; then  
     PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared)
     AC_DEFINE(HAVE_IMAP,1,[ ])
 
-    for i in /usr/local /usr $PHP_IMAP; do
+    for i in $PHP_IMAP /usr/local /usr ; do
       IMAP_INC_CHK()
       el[]IMAP_INC_CHK(/include/c-client)
       el[]IMAP_INC_CHK(/include/imap)


-- 
---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net

Attachment: php4cvsimap.patch.gz
Description: Binary data

Attachment: msg08056/pgp00000.pgp
Description: PGP signature

--- End Message ---

Reply via email to