lauriys
lauriys

Reputation: 4792

How to change default version of PHP from 4 to 5?

My server have default php version of 4, so when I run some script saved as .php I have PHP 4. I want to change it, so I don't must use .php5 extension, I heared that there are something in .htacess. I want to run eyeOS on my server, but I don't want to change every line from .php to .php5 Help?

Upvotes: 0

Views: 1269

Answers (2)

Sam Benson
Sam Benson

Reputation:

Shouldn't it be 'AddHandler application/x-httpd-php5 .php '?

Upvotes: 2

usoban
usoban

Reputation: 5478

AddHandler php5-script .php into .htaccess

Upvotes: 3

Related Questions