Multi-php xampp with wordpress

[ad_1]

Hi, im new to wordpress web dev, can you guys help me out hehe. so im installing xampp with php 8 in my windows and i need to host several wordpress project that worked on php 5.6 while the other ones are using php 7.3.
So i figured out i can install 2 php versions in my xamp, by doing this:
1. have a php version 7.3 in my /xampp folder, then configured the php.ini file to edit the extension\_dir and some other config like this:

https://preview.redd.it/bch9q37l77oc1.png?width=480&format=png&auto=webp&s=6e3cadc122e7ed2d0581d515a52b08b172622fb1

2. configure the httpd-xampp-conf to host the php v 7.3 in other port (i set mine to 8073) like this:
\`\`\`

1. ScriptAlias **/**php7\_3**/** “C:/xampp/php7\_3/”
2. **<**Directory “C:/xampp/php7\_3″**>**
3. AllowOverride None
4. Options None
5. Require all denied
6. **<**Files “php-cgi.exe”**>**
7. Require all granted
8. **</**Files**>**
9. **</**Directory**>**
10. Listen 8073
11. **<**VirtualHost **\***:8073**>**
12. UnsetEnv PHPRC
13. **<**FilesMatch “\\.php$”**>**
14. php\_flag engine off
15. SetHandler application**/**x-httpd-php7\_3
16. Action application**/**x-httpd-php7\_3 “/php7\_3/php-cgi.exe”
17. **</**FilesMatch**>**
18. **</**VirtualHost**>\`\`\`**

3. then just like it, i was able to access [http://localhost/dashboard/phpinfo.php](http://localhost/dashboard/phpinfo.php) and [http://localhost:8073/dashboard/phpinfo.php](http://localhost/dashboard/phpinfo.php) and they’re both showing that i have php version 8 and 7.3.

my problem is, i cant open my wordpress project, so running either localhost/my-wordpress or localhost:8073/my-wordpress dont really give me anything except that the browser just keep loading. I really want to put an error log here but i dont know where to look, so im kinda blind here. Anyone know where did i go wrong? Thank you T\_T

&#x200B;

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer