WebFaction
Community site: login faq

I am running a 'custom' php application. the latest update requires PHP 5.5.3.

In my running installation, phpinfo() says the web application is using PHP Version 5.5.28

In another answer here it says I can 'add this code to .htaccess' to change the version of PHP invoked by apache.

where is the .htaccess file for my STATIC/CGI/PHP-5.5 application? I don't see that file in the ~/webapps/[app]/ directory using ls -a, Should I expect one to have been created or should I go ahead and make my own?

asked 31 Aug '15, 04:48

davideves
1314
accept rate: 0%

NickR, thanks for the clarification. I don't like to guess when I'm adding configuration files.

I can use php56-cgi (it just needs to be greater than the required version).

(01 Sep '15, 06:04) davideves

Hello,

You can create your own then. In this case, simply use php56-cgi
instead of php54-cgi. If you specifically require PHP 5.5.3, you would
need to compile it from source.

Hope this helps.

permanent link

answered 31 Aug '15, 05:41

NickR ♦♦
4165
accept rate: 18%

edited 31 Aug '15, 05:42

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×75
×27

question asked: 31 Aug '15, 04:48

question was seen: 2,568 times

last updated: 01 Sep '15, 06:04

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM