PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP mit Apache2



dsiggi
17.03.07, 15:22
Hi,
ich habe mir bei netclusiv einen vServer gemietet. Bis jetzt läuft auch alles super, auser das ich das PHP4-Modul für Apache2 nicht installiert bekomme.

Als System läuft ein Debian 3.1 Sarge.

Also, ich versuche mit apt libapache2-mod-php4 zu installieren:


root@v402:~# apt-get install libapache2-mod-php4
Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libapache2-mod-php4: Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed
E: Broken packages


Apache2-mpm-prefork ist in der Version 2.2.3-3.3 installiert. Also größer als das gewünschte 2.5.52.


root@v402:~# apt-cache policy apache2-mpm-prefork
apache2-mpm-prefork:
Installed: 2.2.3-3.3
Candidate: 2.2.3-3.3
Version table:
*** 2.2.3-3.3 0
100 /var/lib/dpkg/status
2.0.54-5sarge1 0
500 ftp://ftp.de.netclusive.de sarge/main Packages


Warum lässt sich dann libapache2-mod-php4 nicht installieren? Apache2-mdm-prefork erfüllt doch die Version >2.0.52.

dsiggi

drummermonkey
17.03.07, 23:43
Hi,
ich habe mir bei netclusiv einen vServer gemietet. Bis jetzt läuft auch alles super, auser das ich das PHP4-Modul für Apache2 nicht installiert bekomme.

Als System läuft ein Debian 3.1 Sarge.

Also, ich versuche mit apt libapache2-mod-php4 zu installieren:


root@v402:~# apt-get install libapache2-mod-php4
Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libapache2-mod-php4: Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed
E: Broken packages


Apache2-mpm-prefork ist in der Version 2.2.3-3.3 installiert. Also größer als das gewünschte 2.5.52.


root@v402:~# apt-cache policy apache2-mpm-prefork
apache2-mpm-prefork:
Installed: 2.2.3-3.3
Candidate: 2.2.3-3.3
Version table:
*** 2.2.3-3.3 0
100 /var/lib/dpkg/status
2.0.54-5sarge1 0
500 ftp://ftp.de.netclusive.de sarge/main Packages


Warum lässt sich dann libapache2-mod-php4 nicht installieren? Apache2-mdm-prefork erfüllt doch die Version >2.0.52.

dsiggi
Seit wann ist apache 2.2 denn in sarge?
Das wird wohl ein Fremdpaket sein, und ich weiss nicht ob die überhaupt zusammenarbeiten. Woher stammt denn das 2.2er paket?

ggf. musst du dir das paket selber bauen...

dsiggi
17.03.07, 23:51
Hi,
apache2 war standartmässig installiert.
Netclusiv hat seine eigenen Debian-Mirror-Server, vll liegts da dran, das apache2 bei sarge drin is?

dsiggi

bla!zilla
18.03.07, 08:59
Das kannst du sicherlich beim Support erfragen. Möglicherweise ist deren Mirror mit unsauberen Paketen verseucht.

dsiggi
18.03.07, 11:41
Das kannst du sicherlich beim Support erfragen. Möglicherweise ist deren Mirror mit unsauberen Paketen verseucht.

Okay, werde dann da morgen mal anrufen.

dsiggi

dsiggi
19.03.07, 16:48
Also,
hab da mal angerufen. Laut denen ist PHP5 standartmässig installiert.
Stimmt.


root@v402:/var/www/web1/html# apache2ctl -M
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
php5_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)
suphp_module (shared)
Syntax OK
Leider gehen trozdem keine PHP Seiten:


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
/var/log/apache2/error.log


[Mon Mar 19 16:47:10 2007] [error] [client 84.149.240.220] SoftException in Application.cpp:303: GID of script "/home/www/web1/html/index.phtml" is smaller than min_gid, referer: http://web1.v402.ncsrv.de/
[Mon Mar 19 16:47:10 2007] [error] [client 84.149.240.220] Premature end of script headers: index.phtml, referer: http://web1.v402.ncsrv.de/
dsiggi

dsiggi
20.03.07, 19:53
Also,
Php läuft nun endlich.
PhPbb, Coppermime und andere Script laufen ohne Probleme. Nur Mysqldumper (http://mysqldumper.de) will ein fach nicht. Bekomme immer folgenden Fehler:


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Hat vielleicht jemand eine Idee?

dsiggi

marce
20.03.07, 21:17
schau mal im Apache-Error-Log - da steht bestimmt mehr drin...

Ansonsten - wieso benutzt Du nicht einfach mysqldump oder eben phpMyAdmin?

dsiggi
22.03.07, 16:19
Hi,
hab das Problem gelöst. Lag an falschen Rechten.

dsiggi