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);
> > > $