Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

anmol's avatar
Level 2

cpanel

i am editing my question.what is the valid php version for laravel 5.3 becuase if i change it to 7.0 and 5.6 it starts showing a white blank page.and in the error logs it showsphp version error.and when i change it back to 5.5 website shows a 500 error and logs says permission error which i have already changed to (755).can't get over it.

0 likes
5 replies
jlrdw's avatar

Can you change back to correct permissions, the host tech support should walk you through it.

ohffs's avatar

What was it set to before? A common setting is '022' - but you are probably better asking the hosting co to set it back to the default...

anmol's avatar
Level 2

@jlrdw yes i have talked to hosting ciompany,can you plz answer this question that i have edited.

Cronix's avatar

To find valid php versions, look at composer.json that comes with laravel. It will say something like: "php": ">=5.6.4", in the require section (that is for laravel 5.4, not 5.3) That section will also tell you what php modules are required, like:

"ext-mbstring": "*",
"ext-openssl": "*",

Please or to participate in this conversation.