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
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
> li
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 write
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 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
> > > //
> > // Clean the dialling database
> > //
> > // Copyright (c
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 que
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
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);
> > > $
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 re
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 packa
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 th
---
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL 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:
> >
> >
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 mig
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
at 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
> software included in its
&
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
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 hav
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 so
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
** 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 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 hav
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 RedHa
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
> 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 p
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 a
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
On Friday 12 September 2003 06:23 pm, Kalin Mintchev wrote:
> On Fri, 12 Sep 2003, Reuben D. Budiardja wrote:
> > On Friday 12 September 2003 05:13 pm, Kalin Mintchev wrote:
> > > hi
> > >
> > > i have to redo the rpm install for php on one of our RH8 boxes because
> > > like i as told on this
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
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 no
> >
> > 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
On Fri, 12 Sep 2003, Reuben D. Budiardja wrote:
> On Friday 12 September 2003 05:13 pm, Kalin Mintchev wrote:
> > hi
> >
> > i have to redo the rpm install for php on one of our RH8 boxes because
> > like i as told on this list "the (cli) version you have it build with is
> > not for redhat"?!
On Friday 12 September 2003 05:13 pm, Kalin Mintchev wrote:
> hi
>
> i have to redo the rpm install for php on one of our RH8 boxes because
> like i as told on this list "the (cli) version you have it build with is
> not for redhat"?!? so where is the rpm of php 4.3.0 with the cli for
> redhat?
32 matches
Mail list logo