Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - whiterabbitz

Pages: [1]
1
General / Support for multiple versions of php
« on: February 28, 2022, 07:01:29 pm »
Hi,

and thanks for the great product been using it for a while now.

I have come up against the need to host a legacy site that only runs php 5.5, while the other sites run well on the latest..

Is it possible fior ehcp forced to  support multiple versions of php for sites?

Thanks in advance

2
Technical Help / PHP in html file config please
« on: September 09, 2018, 02:28:51 am »
Hi All.

Firstly great product - loaded 2 days ago without a hitch. From zero to ssl in 20 mins!

I am trying to have apache2 interpret .html with php embedded.

Why you may well ask.

Migrating a site for a friend from content manager adobe catalyst - expensive and slow.

The site is heavily indexed by google... so want to maintain the .html extensions. And broke it up ... header. footer and content using php includes so it was maintainable.


Scenario

ubantu 16.04

Primary domain mydomain,com

Only want php in html on devel.mydomain.com

Both running ssl

Usually I would put in .htaccess this:

AddType text/html .shtml .shtm .htm .html
AddHandler server-parsed .shtml .shtm .htm .html
Options Indexes FollowSymLinks Includes
AddHandler application/x-httpd-php .html


and away it goes.. but can't get it running with ehcp forced addition -

the page loads ok but the php is just text in the rendered output.

Have also tinkered with  /var/www/new/ehcp/apachehcp_subdomains.conf
 but no go ..

Any assistance would be appreciated.

WR





Pages: [1]