Ergebnis 1 bis 5 von 5
  1. #1
    Martini
    Themenstarter
    Avatar von Pinky69
    Registriert
    03.2006
    Ort
    im Breisgau
    Beiträge
    655

    neues PHP startet nicht, warum ?

    Hallo,

    habe eben "Entropy PHP 5.3.0-3" auf meinen SnowLeo installiert, bekomme aber keine PHP-Programme gestartet / dargestellt.
    Habe im httpd.conf die Zeile mit dem standart php-Eintrag wieder auskommentiert.

    Wenn ich jetzt aber versuche mein apache2 neu zu starten bekomme ich diese Fehlermeldung:
    Code:
    sh-3.2# apachectl -k restart
    httpd: Syntax error on line 488 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv\n  Referenced from: /usr/local/php5/lib/libintl.8.dylib\n  Expected in: /usr/lib/libiconv.2.dylib\n
    Jetzt frage ich mich warum kann er die /usr/local/php5/libphp5.so nicht laden kann ?

    Wer kann mir da weiterhelfen ?

    Gruß
    Chris
    MacbookPro 15" i5 , 2.4 GHz, 4GB, 640GB-HD
    iMac 2.4 GHz, 4Gb, 320GB + ext.500GB-HDDs
    iPhone 4G 16GB
    iPod Nano 5G -super-

  2. #2
    Pomme Etrangle Avatar von hillepille
    Registriert
    07.2009
    Ort
    Marburg
    Beiträge
    911
    hi schau mal auf der entropy -hp ins forum das prob ist bekannt. als lösung stand dort http statt apachectl zu nehmen.

    You can use the alternate command httpd -t which is what apachectl configtest does behind the scenes.
    If you’re interested in the details, the problem is that apachectl sources /usr/sbin/envvars, which in turn sets the DYLD_LIBRARY_PATH variable to force a particular dynamic load order that gives preference to the system-supplied libxml instead of the one I ship as part of my package.

    davon ab, warum hate dir nicht den fertigen xampp- oder zend- server gezogen, das ist doch schon aufeinander abgestimmt.

    vg
    MacBook Pro 15'' i7 2.2 GHz | MacBook Air 1.6 GHz | iPhone 4S |new iPad 3G | Mac Mini 2.4 GHz

  3. #3
    Jerseymac Avatar von creative7even
    Registriert
    02.2005
    Alter
    30
    Beiträge
    454
    Hallo!
    Das aktuelle Entropy PHP-Package ist nicht mit Snow Leopard kompatibel. Um deinen Apache wieder starten zu können muss noch die php-entropy Konfiguration entfernt werden. Siehe hier: http://www.entropy.ch/phpbb2/viewtopic.php?t=5311

  4. #4
    Martini
    Themenstarter
    Avatar von Pinky69
    Registriert
    03.2006
    Ort
    im Breisgau
    Beiträge
    655
    Tja in deinem Link wird ausführlich beschrieben wie "Entropy PHP 5.3.0-3" zu removen ist, nur den finalen Step zum "ursystem-0sx 10.6.2" kann ich nicht finden.
    Ich habe folgendes gemacht um das PHP-Paket wieder runterzuschmeißen.
    1. rm -R /usr/local/php5
    2. rm -r /etc/apache2/other/ +entropy-php.conf
    3. apachectl graceful (um das apache neu zu starten)

    Aber wenn ich ein Test.php versuche im Browser anzuseigen bekomme ich das hier:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><body>
    <?php
     print("Hurra!!!<br><br>PHP l&auml;uft!");
    ?>
    </body></html>
    Vor der installation von dienem PHP-Paket funktionierte das Script ohne Probleme.

    Weitere Hilfe nehme ich gerne an.

    Gruß
    Chris
    MacbookPro 15" i5 , 2.4 GHz, 4GB, 640GB-HD
    iMac 2.4 GHz, 4Gb, 320GB + ext.500GB-HDDs
    iPhone 4G 16GB
    iPod Nano 5G -super-

  5. #5
    Martini
    Themenstarter
    Avatar von Pinky69
    Registriert
    03.2006
    Ort
    im Breisgau
    Beiträge
    655
    So jetzt hatte ich die Schn.... voll und habe mir von meinem Backup das httpd.conf zurückgesichert und entsprechend den DocumentRoot-Pfad angepasst. Jetzt funzt es wieder.
    Entropy scheint da ganz ordentlich in der httpd.conf rum zu wurschteln.
    Also passt auf wenn ihr unter 10.6 versucht das Entropy PHP Paket installieren wollt.
    MacbookPro 15" i5 , 2.4 GHz, 4GB, 640GB-HD
    iMac 2.4 GHz, 4Gb, 320GB + ext.500GB-HDDs
    iPhone 4G 16GB
    iPod Nano 5G -super-

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •