www.webdeveloper.com
Results 1 to 3 of 3

Thread: Configuring mysql on freebsd server

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    154

    Configuring mysql on freebsd server

    Hi,

    I just purchased a new dedicated server. I installed apache and php and those are working. I don't have mysql working with those yet though.
    Mysql seems to have been installed since i can get in from the root.

    I don't see any extensions of mysql though, just the mysqld and mysql.
    I have tried installing php with --with-mysql=/path also but that always fails on me.

    Is there anyway of adding in the extensions after installation?

    I really need help.

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    no - php needs to be compiled with it.

    i think you need to compile php with the mysql source code, not the binaries.
    Acceptable Use | SQL Forum FAQ | celery is tasteless | twitter

    celery is tasteless - currently needing some UI time

  3. #3
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    Did you downloaded the appropriate headers and libraries before attempting to reinstall/reconfigure PHP? ( http://us3.php.net/manual/en/mysql.installation.php ) Sun seems to have slightly reorganized the MySQL site since I've been there--so I can't point you in the direction of the specific download you need (unless it's coincidentally the same one I used).

    I think the following lines from my root history are relevant:

    $ wget http://dev.mysql.com/get/Downloads/M...isc.edu/mysql/
    $ rpm -i MySQL-devel-5.1.26-0.glibc23.i386.rpm

    ... And then the PHP configure command line option I needed was '--with-mysql=/usr/include/mysql/'.

    I realize some of that will likely be specific to CentOS, but perhaps it helps anyway ...
    Jon Wire

    thepointless.com | rounded corner generator

    I agree with Apple. Flash is just terrible.

    Use CODE tags!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles