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
- Max_execution_time how to increase time
7996
24.01.2021 17:14
- Update MySQL Version
7866
14.02.2018 03:27
- How do I limit upload_max_filesize? PHP.ini method not working
7835
06.12.2022 11:02
- I can't login to my account. Reset password don't help
7641
25.02.2020 22:06
- Connect to mysql database
7244
28.02.2018 16:52
- Cannot put SSL on my domain
6754
03.04.2019 19:20
- How do I get rid of the default 'site under construction' page?
6393
27.10.2022 14:35
- Trying to connect my OVH domain to shopify store
6157
13.06.2021 22:43
- Increase PHP Post Max Size and PHP Time Limit
5672
20.09.2023 07:11
- Layer 7 DDoS protection on Web hosting
5518
17.08.2025 13:59