more MySQL issues

Liberty Young plug-discuss@lists.plug.phoenix.az.us
07 Feb 2003 15:58:38 -0700


Others will have to confirm for Redhat, but for Mandrake 8.2, the RPMs
should be:
[grimiore@devlab grimiore]$ rpm -qa | grep mysql
php-mysql-4.3.0-1mdk
libmysql10-3.23.55-1mdk


Can you search the cds or rpmfind for mod_php ????


On Fri, 2003-02-07 at 15:42, mazdaracer wrote:
> Ah! I don't see any mysql section!  This was installed from 7.3 but I 
> never worked with it on this box. Worked ok on the laptop. Then I 
> upgraded to RH8 and figured I'd get it configured. Maybe I'll reinstall 
> from the CDs the mysql and php.
> 
> Or is there an easier way?
> 
> 
> Jeffrey Pyne wrote:
> > On Friday, February 07, 2003 2:53 PM, mazdaracer wrote:
> > 
> > 
> >>So now I'm getting the infamous "undefined function "mysql_connect" 
> >>when trying to get postnuke installed. I haven't touched the php.ini 
> >>and I've created the database but can't get past that. I've searched 
> >>the forums but haven't found anything yet that I've been able to use.
> > 
> > 
> > It almost sounds like your installation of PHP doesn't have MySQL support
> > built in.  Create a script called phpinfo.php with the following contents
> > and run it from your browser:
> > 
> > ----- SNIP -----
> > <HTML><BODY>
> > <?php phpinfo(); ?>
> > </BODY></HTML>
> > ----- SNIP -----
> > 
> > You should see something like "--with-mysql=shared,/usr" in the Configure
> > Command section.  Farther down the page, you should also see a "mysql"
> > section which lists various MySQL settings.  If you don't see these things,
> > you don't have MySQL support built into PHP.
> > 
> > 
> >>I saw an apt-get but that's for Debian and I'm running RH8.
> > 
> > 
> > I installed PHP4 from the RedHat 8.0 installation CDs, and MySQL support was
> > built in.  Did you roll your own or install from an RPM that came from
> > somewhere other than RedHat?
> > 
> > 
> >>I really have to document all these little fixes!
> > 
> > 
> > Pfffft!  Documentation is for sissies.  Just memorize everything.  :)
> > 
> > ~Jeff
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change  you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss