Load external PHP from XAMPP

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Load external PHP from XAMPP

Postby redlyon » 03. June 2022 21:17

Hello everyone, please excuse my English, i'm Italian :P .

I have a MAC m1 pro with macOS Monterey and have just installed brew (arch arm) and XAMPP 8.1.6 (installer pack).
On my mac I have installed php8.1 with brew, I would simply like, if possible, to load php8.1 present on my machine into xampp and not the php present in XAMPP. I tried to put LoadModule php_module path/php/8.1/modules/libphp.so in the httpd-xampp.conf but xamp returns an error because it needs an arch x86_54 so I installed php for arch x86_64 via brew and when I run it in XAMPP it returns an error in XAMPP/xamppfiles/apache2/scripts/ctl.sh.

Is it possible to configure xamp by loading php externally from it? And if so, is it possible in vhost to load different versions of php in the different virtualhosts I configured?

Thanks
redlyon
 
Posts: 1
Joined: 03. June 2022 21:00
XAMPP version: 8.1
Operating System: OSX

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 40 guests