Re: rh-l] Re: php on RH8

2003-09-14 Thread Steve Phillips
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

Re: rh-l] Re: php on RH8

2003-09-14 Thread Kalin Mintchev
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

Re: rh-l] Re: php on RH8

2003-09-14 Thread Kalin Mintchev
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

Re: rh-l] Re: php on RH8

2003-09-14 Thread R P Herrold
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

Re: rh-l] Re: php on RH8

2003-09-14 Thread R P Herrold
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

Re: rh-l] Re: php on RH8

2003-09-14 Thread Kalin Mintchev
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

Re: rh-l] Re: php on RH8

2003-09-13 Thread Kalin Mintchev
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

Re: rh-l] Re: php on RH8

2003-09-13 Thread R P Herrold
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); > > > $