Teraz chciałem skonfigurować i skompilować nowszego 5.2.0.
Zatrzymałem serwer apache, mysql, zmieniłem nazwę katalogu z php5 na php5old, pobrałem wersje php 5.2.0, rozpakowałem i dałem jak zwykle taką konfigurację:
Kod
./configure -–prefix=/usr/local/php5 -–with-config-file-path=/usr/local/php5 -–sysconfdir=/usr/local/php5 -–with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs -–enable-track-vars -–enable-versioning
Dostaje takie błędy:
Cytat
configure: error: -–prefix=/usr/local/php5: invalid option; use --help to show usage
Zgłupiałem i zamieniłem wszędzie podwójny znak -- na pojedynczy i otrzymałem:
Cytat
configure: warning: –prefix=/usr/local/php5: invalid host type
configure: warning: –with-config-file-path=/usr/local/php5: invalid host type
configure: error: can only configure for one host and one target at a time
configure: warning: –with-config-file-path=/usr/local/php5: invalid host type
configure: error: can only configure for one host and one target at a time
Dużo ludzi ma ten problem ale nigdzie nie znalazłem rozwiązania.. Macie jakiś pomysł? Dodam, że próbowałem skonfigurować poprzednią wersję, którą trzymałem na dysku i dzieje się to samo..