ok... here is something after a few different builds i got the cli to work
like this:
#php myscript.php
with php being /usr/local/bin/php but if i use the hash and the bang(!) in
the script itself like
#!/usr/local/bin/php
i get the aforementioned error
probably this is a VERY stupid
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
are you on RH8?
This code works on RHL 7.3, 8, 9 and the existing RHL beta, as
well as RHAS 2.1 and RHEL beta
bash-2.05b$ cat preenTelNum.php
#!/usr/bin/php -c/etc
?php
//
// Clean the dialling database
//
// Copyright (c) 2002
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
are you on RH8?
I realized my post a couple minutes ago did not really
give a roadmap on what to install. Here are several config
listings. First the config from the RH 7.3 client and server
running the example quoted.
[EMAIL PROTECTED] log]# rpm
On Sun, 14 Sep 2003, R P Herrold wrote:
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
are you on RH8?
This code works on RHL 7.3, 8, 9 and the existing RHL beta, as
well as RHAS 2.1 and RHEL beta
that's cool...it doesn't work on this one... RH8.
now a new problem - a script that writes to a
thanks thats way to much stuff to rebuild in one sunday
On Sun, 14 Sep 2003, R P Herrold wrote:
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
are you on RH8?
I realized my post a couple minutes ago did not really
give a roadmap on what to install. Here are several config
listings.
hmm, looks like you are getting confused as to which cli you are calling.
try typing locate php
or better yet
which php
my current bet is.
You installed the redhat default location for php which will be /usr/bin/php
as this comes first in the path - typing php myscript.php will call
It takes 10-15mins tops, on decent machine. Certainly less than half an hour.
The time you took for testing and searching for RPM could easily have taken
longer than the time you'd taken if you recompile PHP to suit your need. I do
this on regular basis, so I know.
It's not a matter of
On Fri, 12 Sep 2003, Reuben D. Budiardja wrote:
On Friday 12 September 2003 06:25 pm, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every software included
in its distro.
php 4.3.0 is 6 months old
If RH has to give you RPM updates for every software
On Sat, 13 Sep 2003, Steve Phillips wrote:
At 18:25 12/09/2003 -0400, you wrote:
Redhat cannot always provide the latest RPM for every software
included in its
distro.
php 4.3.0 is 6 months old
And you will probably find it comes with the latest RedHat distribution.
not
On 12 Sep 2003, Jason Dixon wrote:
On Fri, 2003-09-12 at 18:25, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every software included in its
distro.
php 4.3.0 is 6 months old
If you're really as hard up as you claim you are, you have one option.
** Reply to message from Kalin Mintchev [EMAIL PROTECTED] on Sat, 13 Sep 2003
01:57:38 -0400 (EDT)
[snip]
this code works perfectly fine on the bsd machine. on the rh8 i get this
cli output (both installed the SAME way and from the SAME source 4.3.0):
# ./ratLL.php
./ratLL.php: line 2: ?:
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
On 12 Sep 2003, Jason Dixon wrote:
On Fri, 2003-09-12 at 18:25, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every software included in
its
distro.
php 4.3.0 is 6 months old
If you're really
On Fri, 12 Sep 2003, Jack Bowling wrote:
** Reply to message from Kalin Mintchev [EMAIL PROTECTED] on Sat, 13 Sep 2003
01:57:38 -0400 (EDT)
[snip]
this code works perfectly fine on the bsd machine. on the rh8 i get this
cli output (both installed the SAME way and from the SAME source
On 12 Sep 2003, Jason Dixon wrote:
On Fri, 2003-09-12 at 18:25, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every software included in its
distro.
php 4.3.0 is 6 months old
If you're really as hard up as you claim you are, you have one option.
On Saturday 13 September 2003 01:57 am, Kalin Mintchev wrote:
It takes 10-15mins tops, on decent machine. Certainly less than half an
hour. The time you took for testing and searching for RPM could easily
have taken longer than the time you'd taken if you recompile PHP to suit
your need. I
Subject: Re: php on RH8
On 12 Sep 2003, Jason Dixon wrote:
On Fri, 2003-09-12 at 18:25, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every
software included in its
distro.
php 4.3.0 is 6 months old
If you're really as hard up as you claim
While this is more of a PHP suggestion than RH or linux specific, just
noticed you might change your code in the future to be more efficient...
$db = mysql_connect (localhost,user,pass) or die (Could not connect
to mySQL server.);
mysql_select_db (mymaindb,$db) or die (Could not select Database);
thanks.. i will take this in consideeration
the code i posted is only a test code. just to test the php cli...
but i like the last suggestion
thanks
On Sat, 13 Sep 2003, Daevid Vincent wrote:
While this is more of a PHP suggestion than RH or linux specific, just
noticed you
PROTECTED] On Behalf Of Kalin Mintchev
Sent: Friday, September 12, 2003 11:45 PM
To: Red Hat Mailing List
Subject: Re: php on RH8
On 12 Sep 2003, Jason Dixon wrote:
On Fri, 2003-09-12 at 18:25, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every
On Sat, 13 Sep 2003, Reuben D. Budiardja wrote:
On Saturday 13 September 2003 01:57 am, Kalin Mintchev wrote:
It takes 10-15mins tops, on decent machine. Certainly less than half an
hour. The time you took for testing and searching for RPM could easily
have taken longer than the time
On Sat, 13 Sep 2003 08:52:31 -0700, Daevid Vincent wrote:
Well, you could try this:
# rpm -ihv php-4.2.2-17.i386.rpm --force --nodeps
If this is just a guess, then don't try this.
Whenever someone suggests --nodeps, he should give an explanation as
why it would be safe to ignore the package
On Sat, 13 Sep 2003, Michael Schwendt wrote:
On Sat, 13 Sep 2003 08:52:31 -0700, Daevid Vincent wrote:
Well, you could try this:
# rpm -ihv php-4.2.2-17.i386.rpm --force --nodeps
If this is just a guess, then don't try this.
i'm not gonna do that.
now.. i used the most recent
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
On Sat, 13 Sep 2003, Reuben D. Budiardja wrote:
On Saturday 13 September 2003 01:57 am, Kalin Mintchev wrote:
#!/usr/local/bin/php
?
$db = mysql_connect(localhost, user, pass);
mysql_select_db(mymaindb,$db);
$result =
are you on RH8?
On Sat, 13 Sep 2003, R P Herrold wrote:
On Sat, 13 Sep 2003, Kalin Mintchev wrote:
On Sat, 13 Sep 2003, Reuben D. Budiardja wrote:
On Saturday 13 September 2003 01:57 am, Kalin Mintchev wrote:
#!/usr/local/bin/php
?
$db = mysql_connect(localhost, user,
) on the rh8 machine... they all work fine on the bsd machine. my
question is where the hell can i get the rpm for php 4.3.0 (at least) to
install php 4.3.0 from rpm and make rh8 understand what php is asking it
to do
thank you, redhat...
--
redhat-list mailing list
unsubscribe mailto:[EMAIL
execute the mysql functions (if there are not any of them it
works fine) on the rh8 machine... they all work fine on the bsd machine. my
question is where the hell can i get the rpm for php 4.3.0 (at least) to
install php 4.3.0 from rpm and make rh8 understand what php is asking it to
do
If you
rpm and make rh8 understand what php is asking it to
do
If you can't find the RPM, just compile it yourself. Get the latest stable,
read the doc, configure it as you need (eg --with-mysql) and compile it.
don't have time for that... the whole application runs fine on my
development bsd
Redhat cannot always provide the latest RPM for every software included in its
distro.
php 4.3.0 is 6 months old
RDB
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list
At 18:25 12/09/2003 -0400, you wrote:
Redhat cannot always provide the latest RPM for every software
included in its
distro.
php 4.3.0 is 6 months old
And you will probably find it comes with the latest RedHat distribution.
RedHat do keep software up to date, however, this is not a
On Fri, 2003-09-12 at 18:25, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every software included in its
distro.
php 4.3.0 is 6 months old
If you're really as hard up as you claim you are, you have one option.
Download the source rpm, build the rpm from
is where the hell can i get the rpm for php 4.3.0
(at least) to install php 4.3.0 from rpm and make rh8 understand what
php is asking it to do
If you can't find the RPM, just compile it yourself. Get the latest
stable, read the doc, configure it as you need (eg --with-mysql) and
compile
On Friday 12 September 2003 06:25 pm, Kalin Mintchev wrote:
Redhat cannot always provide the latest RPM for every software included
in its distro.
php 4.3.0 is 6 months old
If RH has to give you RPM updates for every software release for every
software that's included in their distro
On Friday 12 September 2003 08:06 pm, Steve Phillips wrote:
At 18:25 12/09/2003 -0400, you wrote:
If PHP were to release their software in RPM format as some other vendors
(MySQL etc) do then you would be able to use this to upgrade or replace
your PHP RPM.
I am have not built any RPM at
33 matches
Mail list logo