HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   MYSQL and the perfect setup 9.2 Suse (http://www.howtoforge.com/forums/showthread.php?t=81)

pkfrizzlefry 13th May 2005 11:22

MYSQL and the perfect setup 9.2 Suse
 
Great tutorial.. Followed it to the T it all worked great except i ran into a problem...

mysql runs fine
php rune fine

but they dont run together.. or so it seems --without-mysql somehow got into the config for me as shown in a php info file

http://www.pkhome.us/phpinfo.php

I am stuck on fixing it.. do i need to recompile PHP with the --mysql? My install is the exact direction fro the Perfect setup no changes other than mailserver...


:confused: Can anyone help? Desperate as everything works so well i dont want to start messing around untill i know at least somewhat what i should do....

:confused:

falko 13th May 2005 11:49

Did you install php4-mysql?

Try running

Code:

apt-get install php4-mysql
and restart your Apache afterwards.

pkfrizzlefry 13th May 2005 22:30

Mysql and PHP
 
Thanks for your response Falko i really apreciate your help!

I tried running the command you said this is the result... As far as the orginal install i rememember adding that as well...

linux:/srv/www/htdocs/temp/php-4.3.11/php-4.3.11 # apt-get install php4-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
bootsplash: Depends: bootsplash-theme
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


linux:/srv/www/htdocs/temp/php-4.3.11/php-4.3.11 # /etc/init.d/apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) done


And still having the issue


I look forward to your comments as i have no clue where to go from here.... :confused:

Btw: The whole setups was following the Perfect Setup 9.2 I did everything like that tutorial to the T only skipped the mail section....

falko 14th May 2005 19:38

Quote:

The whole setups was following the Perfect Setup 9.2 I did everything like that tutorial to the T only skipped the mail section....
It's possible that some packages have changed since the writing of the tutorial... :(

Try to install the missing packages:
Code:

apt-get install bootsplash bootsplash-theme php4-mysql

pkfrizzlefry 15th May 2005 21:06

Mysql and PHP Suse 9.2 Perfect Setup
 
Falko again i thank you for your response... it is crucial i get this to work.... :o


OK i put in the command u suggested


linux:/srv/www/htdocs/temp/php-4.3.11/php-4.3.11 # apt-get install bootsplash bootsplash-theme php4-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
Package bootsplash-theme is a virtual package provided by:
bootsplash-theme-SuSE-classic 3.0-158
bootsplash-theme-SuSE-Home 3.1-36.1
bootsplash-theme-SuSE 3.1-36.1
bootsplash-theme-OpenXchange 3.1-36.1
You should explicitly select one to install.
E: Package bootsplash-theme is a virtual package with multiple good providers.

linux:/srv/www/htdocs/temp/php-4.3.11/php-4.3.11 # /etc/init.d/apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) done
linux:/srv/www/htdocs/temp/php-4.3.11/php-4.3.11 #


Since iam going to be just shooting in the dark with what i do next i will just wait patiently for your response....

:D I think were getting closer.... I might have tried this next..please let me know if iam even close or what you would do next...

Maybe :apt-get install bootsplash bootsplash-theme-SuSE-classic 3.0-158 php4-mysql


:confused: Let me know what i should try next... Again i apreciate your time!


Pete

falko 17th May 2005 13:18

Yes, try

Code:

apt-get install bootsplash bootsplash-theme-SuSE-classic 3.0-158 php4-mysql

pkfrizzlefry 17th May 2005 21:27

Mysql and PHP
 
I treid that didnt work i got

Couldnt find package...i then tried the other ones

bootsplash-theme-SuSE-classic 3.0-158
bootsplash-theme-SuSE-Home 3.1-36.1
bootsplash-theme-SuSE 3.1-36.1
bootsplash-theme-OpenXchange 3.1-36.1

they all gave same error

Couldnt find package

linux:/srv/www/htdocs/temp/php-4.3.11/php-4.3.11 # apt-get install bootsplash bootsplash-theme-SuSE-classic 3.0-158 php4-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package 3.0-158




Hmm whats next ?

Thanks for your time looking forward to your suggestion


Pete

falko 21st May 2005 21:12

Ok, just logged in to your server and fixed it. This one did it:

Code:

apt-get install bootsplash bootsplash-theme-SuSE-classic php4-mysql


All times are GMT +2. The time now is 20:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.