php-install Digest 28 Mar 2002 02:17:13 -0000 Issue 765
Topics (messages 6484 through 6495):
Re: how to upgrade from php3 to php4
6484 by: Ross Horne
Re: Undefined variable
6485 by: Jeffrey_N_Dyke.Keane.com
dummy
6486 by: Ruairi Doyle
PHP + Oracle9i
6487 by: MAX SALVIEJO
Solaris 8 libmysqlclient.so problem
6488 by: Duane Gran
6492 by: Rasmus Lerdorf
Configure Failed
6489 by: Super-User
6490 by: Super-User
6493 by: Chris Hewitt
PHP4 installation error
6491 by: Christophe Wolfs
Help with Apache and PHP 4
6494 by: Soheil Shaghaghi
CyberCash Problem
6495 by: Gabriel Richards
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 ---
php4ts.dll should go into your windows/system32 folder on an WINnt box not
ur windows/system directory this might be ur prob
Ross Horne
"Ryan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear newsgroup,
>
> I am a complete php newbie, and I wish for your consideration. I got a
> little problem here - I can't upgrade my php3 to php4: could you give me a
> step by step instructions on how to upgrade from php v3.0.17 to v4.1.2?
>
> I followed instructions found on the web - configured the httpd-conf and
> restarted the apache web server. But, when i tried to execute the
phpinfo()
> function (a code in a file named test.php, of course), all I can see is a
> blank page. What i did on the httpd-conf is the following:
>
> a. put the line ScriptAlias /php4/ "C:/php4/php-4.1.2-win32/"
> b. put the line AddType application/x-httpd-php .php
> c. adn put the line Action application/x-httpd-php4
> "/php4/php-4.1.2-win32/php.exe"
>
> and saved it. Then copied the php4ts.dll and msvcrt on my winnt\system
> directory. Also, I renamed the file php.ini-dist to php.ini and copied
(and
> overwrite) it to the winnt directory. Then after, i test the
configuration
> (that is, start>program files>apache http server>configure apache
> server>test configuration) and find no errors. And finally, I restarted
> apache... but when i entered the url http://localhost:8000/php/test.php, i
> get a blank page... :(
>
>
> Why is it so? please help... I really really need your help... I cant
sleep
> with this simple problem bugging me...
> Thank you very much for your kindness and time.
>
>
>
> sincerely,
> ryan
>
>
>
>
--- End Message ---
--- Begin Message ---
one thing is testing will always be a string in "double quotes"
These errors are showing up b/c you have error_reporting(E_ALL); set
essentially.
The script is working as it should. If you first set $testing = ""; or
$testing = null; this would work without the errors.
Hope this helps
Jeff
--- End Message ---
--- Begin Message ---
Hey group..
Im a php wanabe! If someone can spare the time..
To start using PHP can I simply install it on my machine, compile and test
from the local. Or do I have to test from a server..?
Tell me, Im lost.
Ruairi
--- End Message ---
--- Begin Message ---
Has anyone succesfully installed PHP w/ support for Oracle9i?
I've installed PHP w/ support for 7/8/8i..I am wondering if there are any pitfalls/tips
available. !google shows nothing directly related to 9i or PHP support for 9i
Thanks
[ Max Salviejo Jr. ]
[ [EMAIL PROTECTED] ]
[ The Plain Dealer Publishing Co. ]
[ 216.999.6165 ]
[ www.cleveland.com/plaindealer/ ]
~~~~ No Blue Screens Here ~~~~
--- End Message ---
--- Begin Message ---
PHP List members:
I installed MySQL sucessfully on Solaris 8 and am trying to configure
PHP with the following flags:
./configure \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local \
--with-zlib-dir=/usr/local \
--with-png-dir=/usr/local \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--enable-ftp
The debug log contains the following:
CONFIGURE: './configure' '--with-mysql=/usr/local/mysql' '--with-
gd=/usr/local
' '--with-zlib-dir=/usr/local' '--with-png-dir=/usr/local' '--with-
apxs=/usr/loc
al/apache/bin/apxs' '--enable-track-vars' '--enable-ftp'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
-I/usr/local/in
clude -I/usr/local/mysql/include/mysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-
lib/sparc-sun-sola
ris2.8/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/usr/local/
lib -L/usr/local/lib -R/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql
LIBS: -lmysqlclient -lz -lgd -lpng -lz -lz -lcrypt -lresolv
-lresolv -lres
olv -lm -ldl -lsocket -lsocket -lgcc -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.3 /usr
/local/lib /usr/local/mysql/lib/mysql
uname -a: SunOS sauron 5.8 Generic_108528-09 sun4u sparc
SUNW,UltraAX-i2
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
-DUSE_EXPAT -
R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -R/usr/local/lib
-L/usr/loc
al/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
conftest.c -lmy
sqlclient -lz -lgd -lpng -lz -lz -lcrypt -lresolv -lresolv -lresolv -lm
-ldl -ls
ocket -lsocket -lgcc -lcrypt 1>&5
/usr/local/mysql/lib/mysql/libmysqlclient.so: undefined reference to
`compress@S
UNW_1.1'
/usr/local/mysql/lib/mysql/libmysqlclient.so: undefined reference to
`uncompress
@SUNW_1.1'
collect2: ld returned 1 exit status
The last few lines seem to be the problematic area. I searched the
mailing list but didn't see this one come up anywhere and I'm a little
puzzled. Can anyone shed some light on this? Many thanks in advance.
Duane Gran
--- End Message ---
--- Begin Message ---
Add --with-zlib to your PHP configure line
On Wed, 27 Mar 2002, Duane Gran wrote:
> PHP List members:
>
> I installed MySQL sucessfully on Solaris 8 and am trying to configure
> PHP with the following flags:
>
> ./configure \
> --with-mysql=/usr/local/mysql \
> --with-gd=/usr/local \
> --with-zlib-dir=/usr/local \
> --with-png-dir=/usr/local \
> --with-apxs=/usr/local/apache/bin/apxs \
> --enable-track-vars \
> --enable-ftp
>
> The debug log contains the following:
>
> CONFIGURE: './configure' '--with-mysql=/usr/local/mysql' '--with-
> gd=/usr/local
> ' '--with-zlib-dir=/usr/local' '--with-png-dir=/usr/local' '--with-
> apxs=/usr/loc
> al/apache/bin/apxs' '--enable-track-vars' '--enable-ftp'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
> -I/usr/local/in
> clude -I/usr/local/mysql/include/mysql
> LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-
> lib/sparc-sun-sola
> ris2.8/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
> -R/usr/local/
> lib -L/usr/local/lib -R/usr/local/mysql/lib/mysql
> -L/usr/local/mysql/lib/mysql
> LIBS: -lmysqlclient -lz -lgd -lpng -lz -lz -lcrypt -lresolv
> -lresolv -lres
> olv -lm -ldl -lsocket -lsocket -lgcc -lcrypt
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-
> solaris2.8/2.95.3 /usr
> /local/lib /usr/local/mysql/lib/mysql
> uname -a: SunOS sauron 5.8 Generic_108528-09 sun4u sparc
> SUNW,UltraAX-i2
>
> gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
> -DUSE_EXPAT -
> R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-
> solaris2.8/2.95.3
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -R/usr/local/lib
> -L/usr/loc
> al/lib -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
> conftest.c -lmy
> sqlclient -lz -lgd -lpng -lz -lz -lcrypt -lresolv -lresolv -lresolv -lm
> -ldl -ls
> ocket -lsocket -lgcc -lcrypt 1>&5
> /usr/local/mysql/lib/mysql/libmysqlclient.so: undefined reference to
> `compress@S
> UNW_1.1'
> /usr/local/mysql/lib/mysql/libmysqlclient.so: undefined reference to
> `uncompress
> @SUNW_1.1'
> collect2: ld returned 1 exit status
>
> The last few lines seem to be the problematic area. I searched the
> mailing list but didn't see this one come up anywhere and I'm a little
> puzzled. Can anyone shed some light on this? Many thanks in advance.
>
> Duane Gran
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Dear Sir ;
I hope all fine and well
I have probelm with configure ; I got message attached with debug file ;
I couldn't solve it
Pease help me.
Abdou
CONFIGURE: './configure' '--with-mysql' '--with-apxs=/usr/apache/bin/apxs'
'--with-db3' '--with-zlib-dir=/usr/local/include'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/apache/include -I$(top_builddir)/Zend
-I/usr/local/BerkeleyDB.3.2/include -I/usr/local/php-4.0.6/ext/mysql/libmysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3 -R/usr/local/BerkeleyDB.3.2/lib
-L/usr/local/BerkeleyDB.3.2/lib
LIBS: -ldb-3 -lz -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lsocket -lsocket
-lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
/usr/local/BerkeleyDB.3.2/lib
uname -a: SunOS fnet2.futuresnet.org 5.8 Generic_108528-13 sun4u sparc
SUNW,Ultra-5_10
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT
-DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3 -R/usr/local/BerkeleyDB.3.2/lib
-L/usr/local/BerkeleyDB.3.2/lib conftest.c -ldb-3 -lz -lcrypt -lresolv -lresolv
-lresolv -lm -ldl -lsocket -lsocket -lgcc 1>&5
ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or directory
--- End Message ---
--- Begin Message ---
Dear Sir ;
I hope all fine and well
I have probelm with configure ; I got message attached with debug file ;
I couldn't solve it
Sorry For forgetting to give you some info
php version 4.0.6
os: solaris 5.0
and all library are currently recent
Pease help me.
Abdou
CONFIGURE: './configure' '--with-mysql' '--with-apxs=/usr/apache/bin/apxs'
'--with-db3' '--with-zlib-dir=/usr/local/include'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/apache/include -I$(top_builddir)/Zend
-I/usr/local/BerkeleyDB.3.2/include -I/usr/local/php-4.0.6/ext/mysql/libmysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3 -R/usr/local/BerkeleyDB.3.2/lib
-L/usr/local/BerkeleyDB.3.2/lib
LIBS: -ldb-3 -lz -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lsocket -lsocket
-lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
/usr/local/BerkeleyDB.3.2/lib
uname -a: SunOS fnet2.futuresnet.org 5.8 Generic_108528-13 sun4u sparc
SUNW,Ultra-5_10
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT
-DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3 -R/usr/local/BerkeleyDB.3.2/lib
-L/usr/local/BerkeleyDB.3.2/lib conftest.c -ldb-3 -lz -lcrypt -lresolv -lresolv
-lresolv -lm -ldl -lsocket -lsocket -lgcc 1>&5
ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or directory
--- End Message ---
--- Begin Message ---
Abdou,
Have you got gcc installed and in the directory it is looking for? Just
a thought.
Regards
Chris
Super-User wrote:
>Dear Sir ;
>I hope all fine and well
>I have probelm with configure ; I got message attached with debug file ;
>I couldn't solve it
>Sorry For forgetting to give you some info
>php version 4.0.6
>os: solaris 5.0
>and all library are currently recent
>Pease help me.
>Abdou
>
>
>------------------------------------------------------------------------
>
>CONFIGURE: './configure' '--with-mysql' '--with-apxs=/usr/apache/bin/apxs'
>'--with-db3' '--with-zlib-dir=/usr/local/include'
>CC: gcc
>CFLAGS: -g -O2
>CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT -DSUPPORT_UTF8
>CXX:
>CXXFLAGS:
>INCLUDES: -I/usr/apache/include -I$(top_builddir)/Zend
>-I/usr/local/BerkeleyDB.3.2/include -I/usr/local/php-4.0.6/ext/mysql/libmysql
>LDFLAGS: -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3 -R/usr/local/BerkeleyDB.3.2/lib
>-L/usr/local/BerkeleyDB.3.2/lib
>LIBS: -ldb-3 -lz -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lsocket -lsocket
>-lgcc
>DLIBS:
>SAPI: apache
>PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
>/usr/local/BerkeleyDB.3.2/lib
>uname -a: SunOS fnet2.futuresnet.org 5.8 Generic_108528-13 sun4u sparc
>SUNW,Ultra-5_10
>
>gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -DUSE_EXPAT
>-DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3 -R/usr/local/BerkeleyDB.3.2/lib
>-L/usr/local/BerkeleyDB.3.2/lib conftest.c -ldb-3 -lz -lcrypt -lresolv -lresolv
>-lresolv -lm -ldl -lsocket -lsocket -lgcc 1>&5
>ld.so.1: ./conftest: fatal: libgcc_s.so.1: open failed: No such file or directory
>
>
> debug.log
>
> Content-Type:
>
> text/plain
> Content-Encoding:
>
> 7bit
>
>
> ------------------------------------------------------------------------
> Part 1.3
>
> Content-Type:
>
> text/plain
>
>
--- End Message ---
--- Begin Message ---
We have installed Debian 3.0 on a Alpha server.
When we install PHP4 we can't restart the Apache server. (1.3.23).
In the logs we find the following line
PHP Fatal error: Unable to start session mm module in Unknown on line 0
Anyone had the same problem. Or know a solution ?
Thanx
[ mailto:christophe.wolfs@;(remove)epyc.biz
]christophe.wolfs@(remove)epyc.biz
--- End Message ---
--- Begin Message ---
Hi everyone.
I have been trying to upgrade from PHP3 to the latest stable release of PHP,
with no luck!
The documentation says that I need mod_so.c enabled in apache.
Can anyone please tell me how to do this. I have search all over,and can not
find any information on how to enable this!
Current System Configurations:
FreeBSD
Perl/5.006001
Apache/1.3.12
PHP/3.0.16
mod_ssl/2.6.4
OpenSSL/0.9.5a
Thanks so much!
--- End Message ---
--- Begin Message ---
I have recompiled PHP 4.1.1 --with-cybercash=/path/to/mck/source. No errors
on ./configure nor make nor make install, however, when I try to call a
cybercash function, I get "undefined function", so it seems the CyberCash
module didn't install properly.
Since the configure lines scroll by too fast to read I once did a
./configure.... |grep 'CyberCash'. That generated errors, but I saw the line
that said "CyberCash....... Yes" so I figured everything was OK, but I guess
not.
I'm on RedHat 7.2
Also, why doesn't phpinfo() update the configure line? It shows a configure
line from one of my first recompiles, not the latest configure line i've
used.
Gabe
--- End Message ---