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 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? is there a "special" php cli for redhat? if so - WHY?
> > > php.net offers a source code which decides in the process of
> > > compiling it which os should it build it for. that's the source code i
> > > used. php 4.3.0. not the rpm. the reason is that the rpms on redhat.com
> > > are old.
> > > the php.net site states that the current stable version is 4.3.3x. on
>
> the
>
> > > redhat site the newest php rpm is 4.2.2. i need at least 4.3.0 for some
> > > of the socket stuff...
> > > i have some php scripts ported over from a bsd machine that are run by
> > > cron. they involve mysql queries. the current php 4.3.0 compiled with
> > > the cli doesn't 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 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 machine. it is 100% working... i just had to port it to
> the client's production machine - rh8 - i told them to stay on bsd but
> they wanted to pay for rh. so now i'm stuck. this is going for deployment
> next monday and i'm not their admin....

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 platform, BSD, RH, Mandrake, Suse, anything, it does not 
matter. What matter is, is PHP compiled with what you need, againts the 
correct libs?

> > You can check the configure option of your current PHP RPM that you said
> > you have just by doing this on the scipt:
> > <?php
> > phpinfo();
> > ?>
>
> i know this..
>
> > If the Configure option does not have --with-mysql in it, than it won't
> > have the mysql functions.
>
> it has it...

So, what's the problem? What's the error? 
It's hard to understand what you really want. If you want specific answer, 
gives us specific problem and good question. Rambling and ranting does not 
help. I was just guessing on what was your problem and what you needed and 
try to give general answer. All I can gather from what you said so far is you 
need newer PHP version for command line and it needs to have mysql functions 
compiled. You only said it worked on bsd, not on RH.


> > Redhat cannot always provide the latest RPM for every software included
> > in its distro.
> >
> > RDB
RDB
-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
-------------------------------------------------
/"\  ASCII Ribbon Campaign against HTML    
\ /  email and proprietary format      
 X   attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today? 
Choose your life. Choose freedom. 
Choose LINUX.
-------------------------------------------------


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to