I'm trying to move a PHP application to our web hosting account with OVH Cloud. I've uploaded the files and modified the configuration file to point it at the database. It runs as a subdomain of our main domain.
When I try to load the site using the Windows Hosts file to point the domain at the OVH space, the first thing I see is a warning that the connection isn't secure and I can then proceed via http.
Once clicked that then shows the PHP code of the files in the browser, it doesn't execute them. Because of this I don't want to provide a link to this.
I thought this might be because something called Ioncube needs to be installed, but to do that, I need PHP files to execute. At the moment when called I just see the PHP code in the web browser.
The settings for the virtual hosting plan show Global PHP Version 8.3 with a green tick next to it. The "Multisite" page shows the subdomain (e.g. support.mydomain.com) pointing at the right folder in the webspace and if I put up an index.html file there, it will render.
I've tried selecting different PHP versions, but PHP is definitely not executing regardless.
The settings for that subdomain show SSL as enabled.
How do I enable SSL and PHP? Thank you.
Web Hosting - How to install PHP and activate SSL
Related questions
- Update MySQL Version
11807
14.02.2018 03:27
- How do I limit upload_max_filesize? PHP.ini method not working
11490
06.12.2022 11:02
- Max_execution_time how to increase time
11414
24.01.2021 17:14
- Connect to mysql database
11220
28.02.2018 16:52
- I can't login to my account. Reset password don't help
10870
25.02.2020 22:06
- Cannot put SSL on my domain
10347
03.04.2019 19:20
- Layer 7 DDoS protection on Web hosting
10222
17.08.2025 13:59
- Abuse Report not working
9618
27.03.2025 07:45
- How do I get rid of the default 'site under construction' page?
9395
27.10.2022 14:35
- Trying to connect my OVH domain to shopify store
8704
13.06.2021 22:43