LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2009, 09:41 PM   #1
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Rep: Reputation: 15
Thumbs down slackware 12.2 problem after problem, no mysql no mbstring


Ok i've been using ubuntu for a while but on my web/router/gateway i've always used slackware. Recently my hdd crashed and i had to install the latest version of slackware.

Everything seemed to be ok. Then i tried to install dolphin, after tweaking the php.ini i found i needed mbstring and XsltProcessor, both of which show up in php.ini look
Code:
extension=mbstring.so
well maybe not Xslt but at least mbstring is there but according to apache its not.

then after a restart all the sudden mysql isnt there either im getting all kinds of errors like

Code:
Fatal error: Call to undefined function mysql_connect() in /blah on line 54
and
Code:
Cannot load mysql extension. Please check your PHP configuration. - Documentation
That second error is from phpmyadmin which i was just running like a hour ago. So i look in my php.ini which is in /etc/httpd/ and it says
Code:
extension=mysql.so
extension=mysqli.so
and mysql is running i can log into it via command line and
Code:
root@zonemikel:~/packages# ps aux | grep mysql
root      5549  0.0  0.2   2760  1368 pts/0    S    06:24   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid --skip-networking
mysql     5574  0.1  2.7 101260 14152 pts/0    Sl   06:24   0:01 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-external-locking --skip-networking
root      6218  0.0  0.1   2084   636 pts/0    S+   06:41   0:00 grep mysql
but in phpinfo() there is no mention of mysql, in the phpinfo() it does say that mbstring=shared was configured.

I keep reading all these posts where they are like "oh just apt-get or yum" ... yeah right i cant do that . . .

I have reinstalled php, mysql, and apache restarted them tons of times I just cant figure this out. And i dont have tons of time to spend on it like i used to.

Does anyone have a solution or suggestion before i go installing ubuntu?

Last edited by zonemikel; 08-29-2009 at 09:43 PM.
 
Old 08-29-2009, 10:21 PM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 395

Rep: Reputation: 57
Quote:
Originally Posted by zonemikel View Post
Does anyone have a solution or suggestion before i go installing ubuntu?
Try installing Slackware 13 (the most recent stable release) which has KDE 4.2.4 with Dolphin.
 
Old 08-29-2009, 10:24 PM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 961

Rep: Reputation: 208Reputation: 208Reputation: 208
When you say you "have reinstalled php, mysql, and apache" how did you do this? did you build these from source or use the Official Slackware packages?
 
Old 08-29-2009, 11:19 PM   #4
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mRgOBLIN View Post
When you say you "have reinstalled php, mysql, and apache" how did you do this? did you build these from source or use the Official Slackware packages?
downloaded the packages and used pkgtool

Quote:
Try installing Slackware 13 (the most recent stable release) which has KDE 4.2.4 with Dolphin.
I might do that, i did like slackware i just could never really install stuff on it
 
Old 08-30-2009, 02:41 AM   #5
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 961

Rep: Reputation: 208Reputation: 208Reputation: 208
what output do you get from
Code:
ldd /usr/lib/php/extensions/mysql.so
 
Old 08-30-2009, 06:09 AM   #6
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mRgOBLIN View Post
what output do you get from
Code:
ldd /usr/lib/php/extensions/mysql.so
Code:
root@zonemikel:~# ldd /usr/lib/php/extensions/mysql.so
	linux-gate.so.1 =>  (0xffffe000)
	libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0xb7f2d000)
	libc.so.6 => /lib/libc.so.6 (0xb7de1000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7daf000)
	libnsl.so.1 => /lib/libnsl.so.1 (0xb7d97000)
	libm.so.6 => /lib/libm.so.6 (0xb7d71000)
	libssl.so.0 => /usr/lib/libssl.so.0 (0xb7d30000)
	libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0xb7bf2000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb7bde000)
	/lib/ld-linux.so.2 (0xb808f000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7bda000)
 
Old 08-30-2009, 01:37 PM   #7
zonemikel
Member
 
Registered: Apr 2006
Posts: 94

Original Poster
Rep: Reputation: 15
Well installed v13 ... i meant dolphin as the social networking web software, not the file browser for KDE. I never use kde, especially not in a server . . .

Anyway it seems to be the same damn thing, in KDE there is a "package manager" but of course it does not work. What the hell is the "install everything" option in slackware that takes up 4.8gig but there isnt even cd burning software and package managers ?

It still has not made the drive bootable, lilo just shows a screen of 00's and i have to boot from the cd every time.

Oh well, i'm done with it. I need something that is going to work the first time I set it up and be adaptive to new software, like apt-get or yum or synaptic. I do very much like slackware, but it works better in a static environment where things dont change much. I dont have time to be searching for every package i want to install ... like what is this package and do i want to install it ?

fairwell slackware, im giving ubuntu server a try.

ps. why the hell would anyone want that bloated kde gui on a webserver ... midas well have vista

thanks for the help anyways
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12.1: Problem with MySQL Installation Cire_08 Slackware 5 07-17-2008 10:10 PM
Slackware 12 and Mysql nohup problem Coyote34 Slackware 11 03-15-2008 04:46 AM
Slackware 11 + MySQL 5 boot problem Unknownlq Slackware 7 10-28-2006 05:59 PM
PHP/MYSQL problem. Rename of table-name solves the problem... mosedrengen Linux - Software 3 01-06-2006 07:07 AM
Slackware 10.1 and MySql Problem? bullium Linux - Networking 3 04-07-2005 10:46 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration