php-install Digest 10 Nov 2001 07:44:53 -0000 Issue 547

Topics (messages 4887 through 4899):

What do i need to backup
        4887 by: brain_damaged

PHP4 with GD on OpenBSD 29
        4888 by: Lance Spitzner

Help please!!!!!!!!!!!!!!!!
        4889 by: Edward Harman
        4891 by: Jim Thome

config failure on RH6.2
        4890 by: Justin DeVuyst
        4892 by: Justin DeVuyst
        4893 by: Jon Wagoner
        4894 by: Justin DeVuyst

php4.0.6 make error
        4895 by: Luie delos Santos

Help!! Please Help Me!
        4896 by: T
        4897 by: Adam Jackson
        4898 by: T

Fatal error: Maximum execution time of 30 seconds exceeded in 
/home/www/web/webmail/functions/imap_general.php on line 35
        4899 by: Anton Zavrin

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 ---
Looks like I will need to redo my Freebsd/php/apache/mysql machine.

what parts of php should i back up so that after reinstalling i can restore the 
important parts.
i will be backing up to floppy so if someone could 
explain that how to be great. :-)

thanks
need to get get really really drunk

--- End Message ---
--- Begin Message ---
Attempting to install PHP4 with GD support on
OpenBSD 2.9.  I installed gd_1.8.3 using OpenBSD
ports.

During the make an error is logged to debug.log,
included below.  PHP4 compiles as DSO, but apache
will not start, it bombs with the same error listed
below.

Words of wisdom on how to get PHP/Apache to work?

Thanks!

             --- snip snip ---

CONFIGURE:   './configure' '--with-mysql' '--with-apxs' '--with-gd' '--enable-sockets' 
'--with-config-file-path=/var/www/conf' '--enable-track-vars'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208102 -DEAPI -DUSE_EXPAT 
-DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/lib/apache/include  -I$(top_builddir)/Zend 
-I/home/lance/php-4.0.6/ext/mysql/libmysql
LDFLAGS:
LIBS:       -lgd -lresolv -lm  -lresolv
DLIBS:
SAPI:       apache
PHP_RPATHS:
uname -a:   OpenBSD mozart 2.9 GENERIC#653 i386

gcc -o conftest -g -O2  -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208102 -DEAPI -DUSE_EXPAT 
-DSUPPORT_UTF8  conftest.c -lgd -lresolv -lm  -lresolv 1>&5
/usr/libexec/ld.so: Undefined symbol "_jpeg_resync_to_restart" in 
conftest:/usr/local/lib/libgd.so.18.3

            --- snip snip ---

-- 
Lance Spitzner
http://project.honeynet.org

--- End Message ---
--- Begin Message ---
This is a repeat post but its driving me nuts, and seems at odds with what
is posted elswhere to this newsgroup -

I've installed PHP4.0.6 under Mandrake 7.2 with the following command -
./configure --with-mysql --with-apxs --with-config-file-path=/somedir
....and followed instructions in the INSTALL exactly.
However when I restart apache and access phpinfo() it loads the default -

Configure Command  './configure' '--with-mysql' '--with-apxs'
Configuration File (php.ini) Path /usr/local/lib

Apart from ignoring the with-config... it is still looking in
/usr/local/lib.
I wouldn't really mind this 'feature' but I get what appear to be path
problems when I execute scripts -

Fatal error: Call to undefined function: setfetchmode() in ......

setfetchmode()
-appears to be defined in /usr/local/lib/php/DB/common.php

If I append this dir to the include_path (/usr/lib/php.ini), I end up with
errors from other libs in the php path.

Any views/solutions gladly accepted

Regards
Ed



--- End Message ---
--- Begin Message ---
Ed-

Remove the entire PHP source tree, untar it again, and rebuild PHP.  Removing 
config.cache or simply rebuilding PHP never seems to force a reload of the PHP module 
within Apache.  As far as the undefined function, was an earlier build compiled with 
DB functions?

Regards,
Jim

>>> "Edward Harman" <[EMAIL PROTECTED]> 11/09 8:56 PM >>>
This is a repeat post but its driving me nuts, and seems at odds with what
is posted elswhere to this newsgroup -

I've installed PHP4.0.6 under Mandrake 7.2 with the following command -
./configure --with-mysql --with-apxs --with-config-file-path=/somedir
....and followed instructions in the INSTALL exactly.
However when I restart apache and access phpinfo() it loads the default -

Configure Command  './configure' '--with-mysql' '--with-apxs'
Configuration File (php.ini) Path /usr/local/lib

Apart from ignoring the with-config... it is still looking in
/usr/local/lib.
I wouldn't really mind this 'feature' but I get what appear to be path
problems when I execute scripts -

Fatal error: Call to undefined function: setfetchmode() in ......

setfetchmode()
-appears to be defined in /usr/local/lib/php/DB/common.php

If I append this dir to the include_path (/usr/lib/php.ini), I end up with
errors from other libs in the php path.

Any views/solutions gladly accepted

Regards
Ed




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 


--- End Message ---
--- Begin Message ---
I ran config like so:

./configure  --with-apxs=/usr/local/apache/bin/apxs --with-openssl --with-zl
ib --enable-calendar --enable-ftp --with-gd=/usr/lib --with-gettext --with-i
map --with-mysql  --with-snmp --enable-ucd-snmp-hack --enable-sockets --with
-gnu-ld

and I got:

configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib

but I also ran:

 ls -al /usr/lib/libgd.so
-rwxr-xr-x    1 root     root       156353 Feb  3  2000 /usr/lib/libgd.so

I added /usr/lib to ld.so.conf and ran ldconfig...

Any Ideas?

Justin DeVuyst

--- End Message ---
--- Begin Message ---
If I try to run configure with just --with-gd the configure ends fine but
the make does the following...

Making all in gd
make[2]: Entering directory `/root/packages/php-4.0.6/ext/gd'
make[3]: Entering directory `/root/packages/php-4.0.6/ext/gd'
/bin/sh /root/packages/php-4.0.6/libtool --silent --mode=compile
gcc  -I. -I/root/packages/php-4.0.6/ext/gd -I/root/packages/php-4.0.6/main -
I/root/packages/php-4.0.6 -I/usr/local/apache/include -I/root/packages/php-4
.0.6/Zend -I/usr/local/ssl/include -I/usr/include/imap -I/root/packages/php-
4.0.6/ext/mysql/libmysql -I/usr/include/ucd-snmp -I/root/packages/php-4.0.6/
ext/xml/expat/xmltok -I/root/packages/php-4.0.6/ext/xml/expat/xmlparse -I/ro
ot/packages/php-4.0.6/TSRM  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_U
TF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/packages/php-4.0.6/ext'
make: *** [all-recursive] Error 1

Justin DeVuyst

--- End Message ---
--- Begin Message ---
Do you have 2 copies of gd?  One under /usr/local and one just under /usr?

-----Original Message-----
From: Justin DeVuyst [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] RE: config failure on RH6.2


If I try to run configure with just --with-gd the configure ends fine but
the make does the following...

Making all in gd
make[2]: Entering directory `/root/packages/php-4.0.6/ext/gd'
make[3]: Entering directory `/root/packages/php-4.0.6/ext/gd'
/bin/sh /root/packages/php-4.0.6/libtool --silent --mode=compile
gcc  -I. -I/root/packages/php-4.0.6/ext/gd -I/root/packages/php-4.0.6/main -
I/root/packages/php-4.0.6 -I/usr/local/apache/include -I/root/packages/php-4
.0.6/Zend -I/usr/local/ssl/include -I/usr/include/imap -I/root/packages/php-
4.0.6/ext/mysql/libmysql -I/usr/include/ucd-snmp -I/root/packages/php-4.0.6/
ext/xml/expat/xmltok -I/root/packages/php-4.0.6/ext/xml/expat/xmlparse -I/ro
ot/packages/php-4.0.6/TSRM  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_U
TF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/packages/php-4.0.6/ext'
make: *** [all-recursive] Error 1

Justin DeVuyst


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
There is only one copy on hte system itself.  What is the copy under
php.../ext/gd used for?  Is that the conflicting copy?

justin
----- Original Message -----
From: "Jon Wagoner" <[EMAIL PROTECTED]>
To: "'Php-Install (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 4:31 PM
Subject: RE: [PHP-INST] RE: config failure on RH6.2


> Do you have 2 copies of gd?  One under /usr/local and one just under /usr?
>
> -----Original Message-----
> From: Justin DeVuyst [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 09, 2001 3:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] RE: config failure on RH6.2
>
>
> If I try to run configure with just --with-gd the configure ends fine but
> the make does the following...
>
> Making all in gd
> make[2]: Entering directory `/root/packages/php-4.0.6/ext/gd'
> make[3]: Entering directory `/root/packages/php-4.0.6/ext/gd'
> /bin/sh /root/packages/php-4.0.6/libtool --silent --mode=compile
>
gcc  -I. -I/root/packages/php-4.0.6/ext/gd -I/root/packages/php-4.0.6/main -
>
I/root/packages/php-4.0.6 -I/usr/local/apache/include -I/root/packages/php-4
>
.0.6/Zend -I/usr/local/ssl/include -I/usr/include/imap -I/root/packages/php-
>
4.0.6/ext/mysql/libmysql -I/usr/include/ucd-snmp -I/root/packages/php-4.0.6/
>
ext/xml/expat/xmltok -I/root/packages/php-4.0.6/ext/xml/expat/xmlparse -I/ro
>
ot/packages/php-4.0.6/TSRM  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_U
> TF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c
> gd.c:95: conflicting types for `gdIOCtx'
> /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
> gd.c: In function `php_if_imagecreatefromgif':
> gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
> gd.c:1209: (Each undeclared identifier is reported only once
> gd.c:1209: for each function it appears in.)
> gd.c: In function `php_if_imagegif':
> gd.c:1404: `gdImageGif' undeclared (first use in this function)
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/packages/php-4.0.6/ext/gd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/packages/php-4.0.6/ext'
> make: *** [all-recursive] Error 1
>
> Justin DeVuyst
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

--- End Message ---
--- Begin Message ---
hi all,

I desperately need help...
I'm using RH7.1
I'm trying to setup the following packages:
curl-7.9
pspell-.12.2
pdflib-3.03
mysql-3.23.43
apache-1.3.22
php-4.0.6
openssl-0.9.6b
mod_ssl-2.8.5-1.3.22

BUT WHEN I TRY "make" for php-4.0.6 the following error appears:
Making all in pspell
make[2]: Entering directory `/tmp/linuxtarballs/php-4.0.6/ext/pspell'
make[3]: Entering directory `/tmp/linuxtarballs/php-4.0.6/ext/pspell'
gcc  -I. -I/tmp/linuxtarballs/php-4.0.6/ext/pspell -I/tmp/linuxtarballs/php-4.0.6/main 
-I/tmp/linuxtarballs/php-4.0.6 -I/tmp/linuxtarballs/apache_1.3.22/src/include 
-I/tmp/linuxtarballs/apache_1.3.22/src/os/unix -I/tmp/linuxtarballs/php-4.0.6/Zend 
-I/usr/local/curl/include -I/usr/local/mysql/include 
-I/usr/local/pspell/include/pspell -I/tmp/linuxtarballs/php-4.0.6/ext/xml/expat/xmltok 
-I/tmp/linuxtarballs/php-4.0.6/ext/xml/expat/xmlparse 
-I/tmp/linuxtarballs/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c 
pspell.c && touch pspell.lo
pspell.c:32:27: pspell/pspell.h : No such file or directory
make[3]: *** [pspell.lo] Error 1
make[3]: Leaving directory `/tmp/linuxtarballs/php-4.0.6/ext/pspell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/linuxtarballs/php-4.0.6/ext/pspell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/linuxtarballs/php-4.0.6/ext'
make: *** [all-recursive] Error 1

THE OPTIONS I'M USING TO CONFIGURE  php are:
./configure --with-mysql=/usr/local/mysql \
--with-xml --with-apache=../apache_1.3.22 \
--with-curl=/usr/local/curl \
--with-pspell=/usr/local/pspell \
--enable-shared-pdflib --enable-track-vars

*I've installed curl, pspell, pdflib, mysql, apache (./configure), before executing 
make for
 php.

If there's anybody who could shed some light on this I would appreciate it.
thanks in advance.

luie


__________________________________
www.edsamail.com
--- End Message ---
--- Begin Message ---

Hello! i would like to useing fopen() fuction to open the other Url,
but i am using a shared server now. When i useing fopen() or file()
fuctions, always have a error message:

Warning: php_hostconnect: connect failed in /usr/xxx/xxx/xxx/html/test.php
on line 3

Warning: file("http://www.yahoo.com";) - Bad file descriptor in
/usr/xxx/xxx/xxx/html/test.php on line 3

How can i do?have any other fuctions can do that?
Thank You Very Much!!


--- End Message ---
--- Begin Message ---
would header("http://url.com";); work ?

-----Original Message-----
From: T [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 1:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Help!! Please Help Me!



Hello! i would like to useing fopen() fuction to open the other Url,
but i am using a shared server now. When i useing fopen() or file()
fuctions, always have a error message:

Warning: php_hostconnect: connect failed in /usr/xxx/xxx/xxx/html/test.php
on line 3

Warning: file("http://www.yahoo.com";) - Bad file descriptor in
/usr/xxx/xxx/xxx/html/test.php on line 3

How can i do?have any other fuctions can do that?
Thank You Very Much!!



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
> would header("http://url.com";); work ?

I am Very Sorry ,i don't know how to use header.
Can You give me some example?
Thank You Very Much!


is it?
<?
$file=header("http://www.yahoo.com";);
  if(!$file) {
    echo "<p>Unable to open remote file.";
    exit;
  }
?>
result message is Unable to open remote file


--- End Message ---
--- Begin Message ---
Hello dear all,
anyone ever get this error ?
I'm trying to get work the squirrelmail, but when i log in, i'm getting that
message
i'm useing php-4.0.6, any ideas ?
Thank you evry much


--- End Message ---

Reply via email to