changing php install location

Problems with the Windows version of XAMPP, questions, comments, and anything related.

changing php install location

Postby poisonborz » 27. January 2016 10:14

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.
Posts: 1
Joined: 27. January 2016 09:56
Operating System: Windows 10

Re: changing php install location

Postby Nobbie » 27. January 2016 13:06

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.
Posts: 8621
Joined: 09. March 2008 13:04

Return to XAMPP for Windows

Who is online

Users browsing this forum: Altrea and 74 guests