MYSQL and the perfect setup 9.2 Suse

Discussion in 'HOWTO-Related Questions' started by pkfrizzlefry, May 13, 2005.

  1. pkfrizzlefry

    pkfrizzlefry New Member

    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:
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you install php4-mysql?

    Try running

    Code:
    apt-get install php4-mysql
    and restart your Apache afterwards.
     
  3. pkfrizzlefry

    pkfrizzlefry New Member

    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....
     
    Last edited: May 14, 2005
  4. falko

    falko Super Moderator ISPConfig Developer

    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
     
  5. pkfrizzlefry

    pkfrizzlefry New Member

    Mysql and PHP Suse 9.2 Perfect Setup

    Falko again i thank you for your response... it is crucial i get this to work.... :eek:


    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
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Yes, try

    Code:
    apt-get install bootsplash bootsplash-theme-SuSE-classic 3.0-158 php4-mysql
     
  7. pkfrizzlefry

    pkfrizzlefry New Member

    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
     
    Last edited: May 18, 2005
  8. falko

    falko Super Moderator ISPConfig Developer

    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
     

Share This Page