You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Carsten Linke <ca...@cl-computervertrieb.de> on 2004/04/26 19:04:49 UTC

apsx - Datei funktioniert nicht

Hallo,

ich habe auf meinem RedHat9, Apache 2.0.49 installiert und der läuft soweit
auch prima aber die apxs Datei ist nicht ausführbar, die benötige ich aber
um PHP zu compilieren...

Wenn ich die Datei aufrufe erhalte folgende Meldung:

Use of uninitialized value in <HANDLE> at /etc/httpd/bin/apxs line 218.
readline() on unopened filehandle at /etc/httpd/bin/apxs line 218.

Die Datei sieht bei mir sicher so aus wie überall, hier ein kleiner Auszug
mit der Zeile 218 (while.....);

sub get_config_vars{
    my ($file, $rh_config) = @_;

    open IN, $file or die "cannot open $file: $!";
    while (<IN>){
        if (/^\s*(.*?)\s*=\s*(.*)$/){
            $rh_config->{$1} = $2;
        }
    }
    close IN;


Compiliert habe ich Apache mit folgenden Anweisungen:

./configure --prefix=/etc/httpd \
--datadir=/var/www/html \
--enable-so \
--enable-module=most \
--enable-shared=max \
--enable-module=ssl \
--enable-module=include

make
make install

....lief alles ohne Probleme!

Ich hoffe jemand hat etwas Ahnung von Perl und kann mir hier weiterhelfen.

Vielen Dank,
Carsten Linke


--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------