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

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 ?php // // Clean the dialling database // // Copyright (c) 2002

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 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 writes to a

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 listings.

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: php on RH8

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

Re: php on RH8

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

Re: php on RH8

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

Re: php on RH8

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

Re: php on RH8

2003-09-13 Thread Jack Bowling
** 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: ?:

Re: php on RH8

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

Re: php on RH8

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

Re: php on RH8

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

Re: php on RH8

2003-09-13 Thread Reuben D. Budiardja
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

RE: php on RH8

2003-09-13 Thread Daevid Vincent
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

RE: php on RH8 -- make better code not war.

2003-09-13 Thread Daevid Vincent
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);

RE: php on RH8 -- make better code not war.

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

RE: php on RH8

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

Re: php on RH8

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

Re: php on RH8

2003-09-13 Thread Michael Schwendt
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

Re: php on RH8

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

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

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(localhost, user,

php on RH8

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

Re: php on RH8

2003-09-12 Thread Reuben D. Budiardja
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

Re: php on RH8

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

Re: php on RH8

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

Re: php on RH8

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

Re: php on RH8

2003-09-12 Thread Jason Dixon
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

Re: php on RH8

2003-09-12 Thread Reuben D. Budiardja
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

Re: php on RH8

2003-09-12 Thread Reuben D. Budiardja
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

Re: php on RH8

2003-09-12 Thread Reuben D. Budiardja
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