php5-gd a ssl - preblemi

Sekcia: Konfigurácia 01.03.2012 | 18:24
Avatar Jojov11   Používateľ
Zdravim,
mal by som dve otazky:
1. nejakym nedopatrnim som odstranil php5-gd a chcem ho dat spat. no ked dam apt-get install php5-gd napise mi toto: apt-get install php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5-gd : Depends: php5-common (= 5.3.3-7+squeeze8) but 5.3.10-1 is to be installed
E: Broken packages
Ako to mam spravit aby som to nainstaloval?

2. Mal som rozbehane ssl na apache (https) a zrazu mi nejde. Ked dam port do linku tak to ide normlane (:443) ale akonahle dam https://... tak mi napise ze stranka sa nenasla. Pritom v apache je to nastavene.

Na servery mam debian6 64bit. Ak bude treba napisem aj ine info.

Vopred dakujem.
    • Re: php5-gd a ssl - preblemi 01.03.2012 | 18:30
      Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
      Ahoj,

      1. sprav update systemu - aptitude dist-upgrade. Potom ti to pojde. Mas v systeme starsiu verziu, ako realne je v repozitaroch, potrebujes cely system dostat do novsieho stavu.

      2. Daj konfigurak.
      Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
      • Re: php5-gd a ssl - preblemi 03.03.2012 | 13:12
        Avatar Jojov11   Používateľ
        1. Nepomohlo napisalo ze je vsetko aktualne

        2. SuexecUserGroup "#1007" "#1007"
        ServerName ***
        ServerAlias www.***
        ServerAlias ***
        ServerAlias ***
        ServerAlias *.****
        DocumentRoot /***/public_html
        VirtualDocumentRoot /***/sub/%-3.0+
        ErrorLog /var/log/virtualmin/***_error_log
        CustomLog /var/log/virtualmin/***_access_log combined
        ScriptAlias /cgi-bin/ /***/cgi-bin/
        ScriptAlias /awstats/ /***/cgi-bin/
        DirectoryIndex index.html index.htm index.php index.php4 index.php5
        <Directory /***/public_html>
        Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
        allow from all
        AllowOverride All
        AddHandler fcgid-script .php
        AddHandler fcgid-script .php5
        FCGIWrapper /***/fcgi-bin/php5.fcgi .php
        FCGIWrapper /***/fcgi-bin/php5.fcgi .php5
        </Directory>
        <Directory /***/cgi-bin>
        allow from all
        </Directory>
        RewriteEngine on
        RewriteCond %{http_host} ^f*** [nc]
        RewriteRule ^(.*)$ http://***$1 [r=301,nc]
        RewriteCond %{HTTP_HOST} =***
        RewriteRule ^(.*) https://***:20000/ [R]
        RewriteCond %{HTTP_HOST} =***
        RewriteRule ^(.*) https://***:10000/ [R]
        <directory /***/sub/%-3.0+>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
        </directory>
        RemoveHandler .php
        RemoveHandler .php5
        IPCCommTimeout 31
        FcgidMaxRequestLen 1073741824
        SSLEngine on
        SSLCertificateFile /***/ssl.cert
        SSLCertificateKeyFile /***/ssl.key
        <Files awstats.pl>
        AuthName "*** statistics"
        AuthType Basic
        AuthUserFile /***/.awstats-htpasswd
        require valid-user
        </Files>
        Alias /dav /***/public_html
        <Location /dav>
        DAV on
        AuthType Basic
        AuthName "***"
        AuthUserFile /***/etc/dav.digest.passwd
        Require valid-user
        ForceType text/plain
        Satisfy All
        RemoveHandler .php
        RemoveHandler .php5
        RewriteEngine off
        </Location>
        php_value memory_limit 32M
        php_value suhosin.session.encrypt Off
        dufam ze si myslel toto a ze nevadi ze som vyhviezdickoval niektore udaje.
        A sory za neskoru reakciu. cestoval som.
        • Re: php5-gd a ssl - preblemi 03.03.2012 | 13:13
          Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
          Skusil si pred tym dat aj apt-get update? Fakt to vyzera, ze ti nesedi zoznam balickov s tym co je na mirrore.
          Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
          • Re: php5-gd a ssl - preblemi 03.03.2012 | 13:24
            Avatar Jojov11   Používateľ
            Ono mi to blbne od vtedy co som stahvola rar kvoli rozbaleniu archivov. Toto som doplnil do sources listu: deb ftp://sunsite.cnlab-switch.ch/mirror/debian/ testing main non-free
            deb-src ftp://sunsite.cnlab-switch.ch/mirror/debian/ testing main non-free

            Vsetko by bolo asi fajn keby som na to nebol zabudol a dal potom update systemu ... natiahlo mi to asi somariny a od vtedy mi to blbne... Teraz mam v sources liste toto: # deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 NETINST Binary-1$

            #deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 NETINST Binary-1 $

            deb http://ftp.debian.sk/debian/ squeeze main
            deb-src http://ftp.debian.sk/debian/ squeeze main

            deb http://security.debian.org/ squeeze/updates main
            deb-src http://security.debian.org/ squeeze/updates main
            #deb ftp://sunsite.cnlab-switch.ch/mirror/debian/ testing main non-free
            #deb-src ftp://sunsite.cnlab-switch.ch/mirror/debian/ testing main non-free

            deb http://security.debian.org/ stable/updates main
            # squeeze-updates, previously known as 'volatile'
            deb http://ftp.debian.sk/debian/ squeeze-updates main
            deb-src http://ftp.debian.sk/debian/ squeeze-updates main

            #WebMin
            deb http://download.webmin.com/download/repository sarge contrib
            deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

            deb http://software.virtualmin.com/gpl/debian/ virtualmin-squeeze main
            deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main
            a hej daval som apt-get update