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
Ergebnis 1 bis 5 von 5
- 13.04.2010, 16:00 #1
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:
Jetzt frage ich mich warum kann er die /usr/local/php5/libphp5.so nicht laden kann ?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
Wer kann mir da weiterhelfen ?
Gruß
ChrisMacbookPro 15" i5 , 2.4 GHz, 4GB, 640GB-HD
iMac 2.4 GHz, 4Gb, 320GB + ext.500GB-HDDs
iPhone 4G 16GB
iPod Nano 5G -super-
- 13.04.2010, 16:35 #2MacBook Pro 15'' i7 2.2 GHz | MacBook Air 1.6 GHz | iPhone 4S |new iPad 3G | Mac Mini 2.4 GHz
- 13.04.2010, 22:20 #3
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
- 14.04.2010, 09:53 #4
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:
Vor der installation von dienem PHP-Paket funktionierte das Script ohne Probleme.Code:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><body> <?php print("Hurra!!!<br><br>PHP läuft!"); ?> </body></html>
Weitere Hilfe nehme ich gerne an.
Gruß
ChrisMacbookPro 15" i5 , 2.4 GHz, 4GB, 640GB-HD
iMac 2.4 GHz, 4Gb, 320GB + ext.500GB-HDDs
iPhone 4G 16GB
iPod Nano 5G -super-
- 15.04.2010, 15:03 #5
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-


Zitieren
