Installation von PHP 5.3.0RC2

B

booth

Aktives Mitglied
Thread Starter
Dabei seit
14.02.2003
Beiträge
250
Reaktionspunkte
2
Hi,

hat irgendwer erfolgreich PHP 5.3.0RC2 installiert? Also ich habe das alles kompiliert etc, finde aber keine libphp.so. Keine Ahnung wie ich meinem Mac OS X jetzt klarmache, dass ich gerne 5.3.0 benutzen moechte und nicht mehr 5.2.9.

Fehler gab es keine, weder bei configure, make oder make install. make test hat irgendeinen Bug gefunden, der hielt den Rest aber nicht auf.

Mich wuerde echt mal intresieren, was make install so installiert hat, wenn nicht PHP :rolleyes:

vG, U.
 
Loesung

Na gut, dann rede ich halt mit mir selber ;)

Hier zwei Loesungen:

1. PHP konfigurieren und installieren
Code:
./configure --prefix=/usr/local/php53 --with-apxs2=/usr/sbin/apxs --with-config-file-scan-dir=/usr/local/php53/php.d --with-iconv --with-openssl=/usr --enable-ftp --enable-sockets --enable-mbstring --enable-calendar --enable-bcmath --with-curl=shared,/usr/local/php53 --with-zlib-dir=/usr --with-mysqli=/usr/local/mysql/bin/mysql_config
im Quellverzeichnis von PHP 5.3XYZ

dann das uebliche
Code:
make
sudo make install

2. Apache konfigurieren und installieren
Code:
./configure --enable-layout=Darwin --enable-mods-shared=all

make
make install

Quelle: thenetocracy.com/2008/10/06/installing-php-53-on-mac-os-x-leopard/

ODER

1. PHP konfigurieren und installieren
Code:
./configure --with-png --with-tiff --with-jpeg --with-gd --enable-soap --with-apxs2

make
sudo make install

2. Apache auf 32 bit zurueckbauen
Code:
sudo cp /usr/sbin/httpd /usr/sbin/httpd-fat
sudo lipo /usr/sbin/httpd -thin i386 -output /usr/sbin/httpd

Ich persoenlich habe die erste Methode benutzt und es hat geklappt.

vG, U.
 
  • Gefällt mir
Reaktionen: .:timmy und Prof Farnsworth
Zurück
Oben Unten