php-install Digest 1 Feb 2002 20:46:03 -0000 Issue 679
Topics (messages 5890 through 5900):
why does command line run-on over beginning of line
5890 by: Dan Campbell
5898 by: David Jackson
Php Imap and Apache
5891 by: CIVITA ALAN
Re: Newby -- Browser won't run php
5892 by: Richard Hillström (GIS)
5897 by: David Jackson
5899 by: Mike Frazer
DSO problem
5893 by: Olivier PRENANT
PHP 4.0.6 with Oracle9 on Linux/VM
5894 by: Richard Hillström (GIS)
problem with form variables
5895 by: Laura Silveira Mastella
5896 by: Laura Silveira Mastella
Re: gunzip error: mysql(version).tar.gz: not in gzip format
5900 by: Dan Campbell
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 ---
why is it that when I try to type in a long configure command in Linux while
configuring PHP, my cursor jumps to the beginning of the line and begins
writing over the original line? It's happened before with installing mySQL.
weird???
Dan
--- End Message ---
--- Begin Message ---
Dan --
It has nothing to do with mysql, it has to do with the why console is
set up.
If you want a more complete answer post to linux-admin news group.
to continue a command use a \ at the end ie.
./configure ---with-mysql=/usr/local/mysql \
--with-with=what ever
or better still use a shell script i.e.
-------- make_php.sh ------
#!/bin/bash
./configure --with-mysq=/usr/local/mysql \
--with=what_ever
----- end of script
Save the script
and chmod 755 script.name
david
Dan Campbell wrote:
>
> why is it that when I try to type in a long configure command in Linux while
> configuring PHP, my cursor jumps to the beginning of the line and begins
> writing over the original line? It's happened before with installing mySQL.
> weird???
> Dan
>
> --
> 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'm try to install the php 4.1.1 on an 7.3 SUSE with imap support. First at
the configure i must take --with-imap-ssl cause the skript says that i must
take this option too.
So i do this and now it works
So i do make
At the make progress he stops with the following warning
-ldl -lmysqlclient -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt
/usr/i486-suse-linux/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.1.0'
make: *** [all-recursive] Error 1
what have I do wrong or what must i install that it works? Thank for helping
____________________________________________
Alan Civita
Datenquelle S.r.l
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
______________________________________________
AVVISO
Le informazioni contenute o allegate al presente messaggio sono dirette
unicamente ai destinatari sopra indicati. In caso di ricezione da parte di
persona diversa è vietato qualunque tipo di distribuzione o copia. Chiunque
riceva questa comunicazione per errore è tenuto ad informarci
immediatamente.
NOTICE
This message contains information intended only for use of the addresses
named above. If the reader of the message is not the intended recipient,
please note that dissemination, distribution or copying of this
communication is strictly forbidden. Anyone who receives this communication
in error should notify us immediately.
--- End Message ---
--- Begin Message ---
Hi,
It should be
<?php
phpinfo();
?>
Best Regards
Richard Hillström
-----Original Message-----
From: Mike Frazer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 9:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: Newby -- Browser won't run php
Are you looking for <? phpinfo() ?> rather than <? phpinfo.php ?>?
Also, make absolutely certain you have the correct line in your httpd.conf.
It varies depending on whether you installed the dynamic or the static
module. Check the INSTALL file for details.
Mike Frazer
"Dan Campbell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> Everything seems to have been installed fine, without a hitch, but I still
> can't get my browser to recognise a php page called phpinfo.php with the
> following script <? phpinfo.php ?> like it should.
> all the configure , make , and make files directives seemed to work fine.
> it's been a week I've been working on this, a real nightmare. I got it
> running once a while back, it seemed so much easier somehow, but now it's
> like impossible with PHP4 .
>
>
>
>
>
--
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 ---
Your could of course put it on one line:
<?php phpinfo(); ?>
Richard Hillström (GIS) wrote:
>
> Hi,
> It should be
> <?php
> phpinfo();
> ?>
>
> Best Regards
>
> Richard Hillström
>
> -----Original Message-----
> From: Mike Frazer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 9:49 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Re: Newby -- Browser won't run php
>
> Are you looking for <? phpinfo() ?> rather than <? phpinfo.php ?>?
>
> Also, make absolutely certain you have the correct line in your httpd.conf.
> It varies depending on whether you installed the dynamic or the static
> module. Check the INSTALL file for details.
>
> Mike Frazer
>
> "Dan Campbell" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> > Everything seems to have been installed fine, without a hitch, but I still
> > can't get my browser to recognise a php page called phpinfo.php with the
> > following script <? phpinfo.php ?> like it should.
> > all the configure , make , and make files directives seemed to work fine.
> > it's been a week I've been working on this, a real nightmare. I got it
> > running once a while back, it seemed so much easier somehow, but now it's
> > like impossible with PHP4 .
> >
> >
> >
> >
> >
>
> --
> 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 ---
While I admit I forgot the semicolon, do note that PHP allows three
different opening delimiters:
<?php - Usage required by PEAR
<? - Usage allowed if you aren't contributing to PEAR, which I'm betting
something containing a call to phpinfo() would *not* be doing :)
<% - ASP-style opening delimiter. Of course, this one has a matching %>
just so that we can feel complete.
In the future, I'm sure the folks at php.net would prefer we keep talk on
this list to install questions, which I was initially helping with, not
syntactical questions, which belong on php.general. You can find me there
daily, helping the masses as best I can.
Mike Frazer
----- Original Message -----
From: "David Jackson" <[EMAIL PROTECTED]>
To: "Richard Hillström (GIS)" <[EMAIL PROTECTED]>
Cc: "'Mike Frazer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 6:02 AM
Subject: Re: [PHP-INST] Re: Newby -- Browser won't run php
> Your could of course put it on one line:
> <?php phpinfo(); ?>
>
> Richard Hillström (GIS) wrote:
> >
> > Hi,
> > It should be
> > <?php
> > phpinfo();
> > ?>
> >
> > Best Regards
> >
> > Richard Hillström
> >
> > -----Original Message-----
> > From: Mike Frazer [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 31, 2002 9:49 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Re: Newby -- Browser won't run php
> >
> > Are you looking for <? phpinfo() ?> rather than <? phpinfo.php ?>?
> >
> > Also, make absolutely certain you have the correct line in your
httpd.conf.
> > It varies depending on whether you installed the dynamic or the static
> > module. Check the INSTALL file for details.
> >
> > Mike Frazer
> >
> > "Dan Campbell" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> > > Everything seems to have been installed fine, without a hitch, but I
still
> > > can't get my browser to recognise a php page called phpinfo.php with
the
> > > following script <? phpinfo.php ?> like it should.
> > > all the configure , make , and make files directives seemed to work
fine.
> > > it's been a week I've been working on this, a real nightmare. I got it
> > > running once a while back, it seemed so much easier somehow, but now
it's
> > > like impossible with PHP4 .
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > 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 ---
I have this problem :
System: Unixware711 (udk 711b)
apache: 1.3.23
php: 4.1.1 as DSO module
Both compile fine. But when launche apache with php module, it fails with
"symbol not found pow.
Adding the libraries to apache helps but it doesn't seem the right thing
to do.
dlopen should look for additional libraries itself.
I suspect a bad LDFLAGS somewhere just can't seem to find the right one.
Can anyone help??
TIA
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: [EMAIL PROTECTED]
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)
--- End Message ---
--- Begin Message ---
Hi,
Am tryin to compile PHP to support Oracle9, but it continues to crash with the
following debug.log.
PHP 4.0.6 is patched to recognise Oracle9, and I have set $ORACLE_HOME and added
$ORACLE_HOME/lib to $LD_LIBRARY_PATH.
I have put $ORACLE_HOME/lib in ld.so.conf and run ldconfig.
This is really holding me back, if any of you know what can be done to fix this,
please help.
debug.log:
CONFIGURE: './configure' '--with-apxs=/opt/pgm/apache/1.3.22/bin/apxs'
'--with-oci8=/opt/oracle/9.0.1'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/opt/pgm/apache/1.3.22/include -I$(top_builddir)/Zend
-I/opt/local/src/isuf/1.2/php4/php-4.0.6/ext/mysql/libmysql
-I/opt/oracle/9.0.1/rdbms/public -I/opt/oracle/9.0.1/rdbms/demo
-I/opt/oracle/9.0.1/network/public -I/opt/oracle/9.0.1/plsql/public
LDFLAGS: -Wl,-rpath,/opt/oracle/9.0.1/lib -L/opt/oracle/9.0.1/lib
LIBS: -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /opt/oracle/9.0.1/lib
uname -a: Linux vmlinux29 2.4.7-SuSE-SMP #1 SMP Wed Oct 17 15:31:03 GMT 2001 s390
unknown
gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
-Wl,-rpath,/opt/oracle/9.0.1/lib -L/opt/oracle/9.0.1/lib conftest.c -lm -ldl -lcrypt
-lresolv -lm -ldl -lnsl -lresolv -lclntsh 1>&5
/usr/s390-suse-linux/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
Best regards
Richard Hillström
--- End Message ---
--- Begin Message ---
Well, now PHP is being parsed, but I have a problem with variables: they are
not being automatically set by PHP.
I have created a very simple html form (copied from php.net)
index.html
-----------------------------------------------
<form action="action.php" method="post">
Your name: <input type="text" name="name">
You age: <input type="text" name="age">
<input type="submit">
</form>
-----------------------------------------------
action.php
-----------------------------------------------
Hi <?php echo $name; ?>.
You are <?php echo $age; ?> years old.
-----------------------------------------------
The result is (error messages activated):
----------------------------------------------------------------------------
------------
Hi
"Warning: Undefined variable: name in c:\apache
group\apache\htdocs\action.php on line 1"
You are
"Warning: Undefined variable: age in c:\apache
group\apache\htdocs\action.php on line 2"
years old.
----------------------------------------------------------------------------
------------
I added <?php phpinfo(); ?> to action.php. The variables and their values
are there:
_POST["name"] Laura
_POST["age"] 21
but, they are not recognized inside the PHP code.
:(
Laura
--- End Message ---
--- Begin Message ---
Ok, I should have read php.ini information. The first paragraph notifies:
"...Instead of using $foo, you must use $_REQUEST["foo"]..."
Now it´s working. Thanks!
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Laura Silveira Mastella" <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 9:59 AM
Subject: Re: [PHP-INST] problem with form variables
>
> this can probably be fixed in your php.ini. to test whether this is true
> or not, try to grab the varaiblas as HTTP_POST_VARS['name'] and
> HTTP_POST_VARS['age']. if php recognized the variables that way all can
be
> fixed in the ini. I thought as of 4.06 it was installed that way be
> default, but i guess not. Unfortuantely i forget the setting....
>
> Hope this helps.
> Jeff
>
>
>
> "Laura Silveira
> Mastella" To:
<[EMAIL PROTECTED]>
> <[EMAIL PROTECTED] cc:
> gs.br> Subject: [PHP-INST]
problem with form variables
>
> 02/01/2002 09:27
> AM
>
>
>
>
>
>
> Well, now PHP is being parsed, but I have a problem with variables: they
> are
> not being automatically set by PHP.
>
> I have created a very simple html form (copied from php.net)
>
> index.html
> -----------------------------------------------
> <form action="action.php" method="post">
> Your name: <input type="text" name="name">
> You age: <input type="text" name="age">
> <input type="submit">
> </form>
> -----------------------------------------------
>
> action.php
> -----------------------------------------------
> Hi <?php echo $name; ?>.
> You are <?php echo $age; ?> years old.
> -----------------------------------------------
>
> The result is (error messages activated):
> --------------------------------------------------------------------------
--
>
> ------------
> Hi
> "Warning: Undefined variable: name in c:\apache
> group\apache\htdocs\action.php on line 1"
> You are
> "Warning: Undefined variable: age in c:\apache
> group\apache\htdocs\action.php on line 2"
> years old.
> --------------------------------------------------------------------------
--
>
> ------------
>
> I added <?php phpinfo(); ?> to action.php. The variables and their values
> are there:
>
> _POST["name"] Laura
> _POST["age"] 21
>
> but, they are not recognized inside the PHP code.
>
> :(
>
> Laura
>
>
> --
> 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 finally got PHP installed and working thanks to
http://www.e-gineer.com/index.phtml . Be aware that you have to intall
Apache first, then mySQl, then PHP. and I had problems and the very end, but
the help messages from others at the bottome of the page solved my problem,
I still don't know how I did it, but it works now and I'm thankful to all.
Dan Campbell
"Dan Campbell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I did that but it was the same size and I get the same message. Please
read
> my next message question, where I explain more.
> thanx
> Dan
> "Demitrious S. Kelly" <[EMAIL PROTECTED]> wrote in message
> 007801c1aabc$f85b9690$3601a8c0@dkelly">news:007801c1aabc$f85b9690$3601a8c0@dkelly...
> > Re-Download it...
> >
> > -----Original Message-----
> > From: Dan Campbell [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 31, 2002 5:07 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] gunzip error: mysql(version).tar.gz: not in gzip
> > format
> >
> > I just downloaded the latest version of mySQL
> > (mysql-max-3.23.47-pc-linux-gnu-i686.tar.gz and when I tried to unzip it
> > with "gunzip -c mysql-max(version).tar.gz , I got an error saying its
> > not in
> > gzip format.
> > any suggestions?
> >
> >
> >
> > --
> > 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 ---