Page 1 of 1

changing php install location

PostPosted: 27. January 2016 10:14
by poisonborz
I'd like for xampp to use an external PHP install location, not the one bundled with it. Is this possible? There is a properties.ini in the root folder, but changing those values does not seem to have effect.

Re: changing php install location

PostPosted: 27. January 2016 13:06
by Nobbie
Forget properties.ini

It is not that easy to substitute PHP in Xampp, proceed to c:/xampp/apache/conf/extra and edit httpd-xampp.conf. You will find some LoadFile and LoadModule statements which yield to PHP dlls, these have to be replaced by your own PHP version. Beware, sometimes there are not the same DLLs in a different PHP version.

You may also try to run PHP in CGI Mode instead of Module, but this requires some knowledge about the configuration of Apache and PHP. The idea of Xampp is to keep you away from this internal stuff, therefore it is not recommended to use a different PHP version than the pre-installed one.