alrose Posted September 30, 2020 Share Posted September 30, 2020 all files are fine but when access the website i get Access denied. Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 30, 2020 Share Posted September 30, 2020 Your index.php was 646 permissions. When I changed it to 644 it works now. Quote Link to comment Share on other sites More sharing options...
alrose Posted September 30, 2020 Author Share Posted September 30, 2020 already fix please help me to install PHP5.2 Quote Link to comment Share on other sites More sharing options...
alrose Posted September 30, 2020 Author Share Posted September 30, 2020 because i get this error Uncaught Error: Call to undefined function eregi() in /home/alrose/public_html/settings.php:4 Stack trace: #0 /home/alrose/public_html/index.php(5): include() #1 {main} thrown in /home/alrose/public_html/settings.php on line 4 it only read PHP5.2 here is my apache on my PC and my website is working on it Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 30, 2020 Share Posted September 30, 2020 (edited) The oldest PHP version we support on our shared hosting is 5.4. PHP 5.2 reached end of life 9 years and 8 months ago. If you really need to use PHP 5.2 still you'll need to purchase a VPS https://www.heliohost.org/vps/ and install PHP 5.2 from source. EDIT: I read about your eregi() error and it looks like it should work in PHP 5.6 or older. The default on Johnny is 7.2, but you can change to 5.6, 5.5, or 5.4 in cpanel Multi PHP button. Edited September 30, 2020 by Krydos Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.