XAMPP:Can’t change between php4 and php5

Changing to php5:

..:# /opt/lampp/lampp php5
XAMPP: Sorry, but I’m unable to activate PHP 5.2.1.

to php4:
..:# /opt/lampp/lampp php4
XAMPP: Sorry, but I’m unable to activate PHP 4.4.6.

Because:
lampp script trying to call an older version of php4 and php5.

Fix:
edit lampp script.
at line 480 and 484 – Change to the right php versions. (4.4.7. and 5.2.3 used in xampp 1.6.3)

留下回复