Problem opening a project
When I access my project, it gets a downloadable file (index.php)
How do I resolve this?
I am using Laragon 3.1.4
@Thomas-John-Gulisao : Which web server are you using?
Can you show me your Laragon interface?
@leokhoa I am using apache.
Can you try another tests?
- Check with Nginx (Menu > Preferences > Services & Ports)
- Test if PHP is working well on your system:
Open Terminal and type
Nginx is working well, I think I'll just use nginx instead.
php -vshows I have php version 7.1.7
I'll mark it as Solved until you need to work with Apache
thank you for your assistance!
how the problem got resolved? i get the same error, instead of opening it is downloading, please find the proper resolution for me, is that apache problem or php version
I updated my PHP version to V 7.4 ant ti solve the issue for moe.
Update PHP version guide: https://dev.to/stephenjude/upgrading-to-php-7-4-laragon-2po6