![]() |
mysql5 & php5 not working, help?
can someone tell me why mysql5 and php5 dont work together?
been working on this for hours and I'm about to start breaking shit OS is freebsd 6.1 |
What are you trying to do?
First, see if old password support is enabled in your mysql config. Then, if you have to, recompile PHP to use the new libraries. Sorry, can't help much more than that; I need to eat, too. :thumbsup |
more details... what's happening?
|
looks like ports/lang/php5 was installed
but to use mysql, you have to have /ports/databases/php5-mysql installed instead oh well was just a few wasted hours :mad: |
You didn't install the modules? Oh, wow.
Look for other php5-extensions. You can install many of these with 'sysinstall'. |
Quote:
i'm not the one that setup the server but after doing all of this i think I'll just handle it myself in the future |
Quote:
|
Quote:
|
Quote:
However, if you navigate through the ports, 'All', then go through 'php5', you can install imagick, et al. |
Quote:
how much do you charge to be a sysadmin? |
i am running php5 with mysql5 no issues
|
I still dont have this working
I have literaly wasted my whole fucking day on this I havent left the house or anything this is just fucking FUCKED |
Quote:
did you add mysql_enable="YES" to rc.conf? did you edit /usr/local/etc/rc.d/mysql-server.sh to include --old-passwords if so move below edit your Makefile so it has these (cut and paste) --enable-ctype \ --with-curl=/usr/local/bin \ --enable-exif \ --with-gd \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-zlib-dir=/usr \ --enable-mbstring \ --with-mcal=/usr/local \ --with-mcrypt=/usr/local \ --with-mhash=/usr/local \ --with-mysql=/usr/local \ --with-ncurses=/usr \ --enable-overload \ --with-pcre-regex=yes \ --enable-posix \ --with-readline=/usr \ --enable-session \ --enable-sockets \ --with-mysqli=/usr/local/bin/mysql_config \ --enable-tokenizer \ --enable-xml \ --with-apxs=/usr/local/sbin/apxs \ --enable-libxml \ --with-libxml-dir=${LOCALBASE} \ --enable-reflection \ --enable-spl \ that should do it |
Quote:
|
That looks like a PHP makefile, but that's an awful lot of options - some of those packages it's referencing may not be installed. At the very least you probably need the --with-mysql option. Have a look at the INSTALL/README file in the PHP archive for information on how to compile. (You'll need to compile both Apache and PHP)
|
joel to the rescue
|
Quote:
most of those are needed for any decent web site |
All times are GMT -7. The time now is 02:26 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123