New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

PHP accelerator and Short_open_tag with prestashop

Started by venty, June 26, 2018, 04:58:42 PM

Previous topic - Next topic

venty

Hello,

I tried to install prestashop version 1.7.3.3 and one of my screens come up with the following inscriptions:

Install and/or enable a PHP accelerator (highly recommended)???
Short_open_tag set Off in php.ini?!!?

What to do??

Thanks in advance!

BR
Venty


studio4host

in file /usr/local/php/php.ini check for short tags and set to on:
short_open_tag = On
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

venty

Hi,

...in fact, I want this directive "short_open_tag" to be enabled or disabled only for a specific folder and not for all users and / or folders...

Thanks in advance!

BR
Venty

studio4host

by default in cwp its enabled for all as many scripts could have issues if not enabled.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

venty

Ok, but how can the directive "short_open_tag" to be enabled or disabled only for a specific folder?!?

I use prestashop..

Thanks in advance!

BR
Venty

studio4host

you can test by using php.ini in that folder, but anyway as said before it should be enabled as it wiil cause issues with many other scripts if not enabled.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

venty

Hi,

thank you all, but the thing happened not locally php.ini to the  folder,  but with a file named .user.ini  ....

I read it somewhere and I hope this is the right decision ...

BR
Venty

studio4host

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

venty

I don't want to allow users to modify and use custom php.ini per folder, I want directive "short_open_tag" to be enabled or disabled only for a this folder...?!?

glorency

Quote from: venty on June 26, 2018, 04:58:42 PM
Hello,

I tried to install prestashop version 1.7.3.3 and one of my screens come up with the following inscriptions:

Install and/or enable a PHP accelerator (highly recommended)???
Short_open_tag set Off in php.ini?!!?

What to do??

Thanks in advance!

BR
Venty

To Fulfill Presta Requirement is quite easy on CWP Server. My suggestions:
1.Install Latest PHP-FPM 7.3.2 using PHP-FPM Selector  and also select the required extension
2.Again Install Latest PHP 7.3.2 using PHP Selector v2 and also select the required extension
3.Now Install and Build Latest PHP 7.3.2 using PHP Version Switcher v2 and don't forget to select the required extension
4.WebServer Settings >> WebServer Domain Conf >> Select a UserName >> username >> Apache->php-fpm
5.Now Fix the permission : User Accounts >> Fix Permissions

But Remember intl  is backdated for Latest Presta 1.7.5 , So you need to update this library to intl 63.1

Now your environment is ready for Presta hosting. [Tested]

venty

Hi,

...at points 1, 2 and 3 you say "and also select the required extension", which extension?
and item 5 what happens in its implementation?

Br
Venty

glorency

Quote from: venty on March 14, 2019, 11:16:11 AM
Hi,

...at points 1, 2 and 3 you say "and also select the required extension", which extension?
and item 5 what happens in its implementation?

Br
Venty

1. For PHP-FPM : Select all the extension except memcached & recode because Php IMAP will not work with recode and I will not use memcached because it is vulnerable with udp 11211

2. Repeat the step 1 using PHP Selector v2
3. Now Install and Build Latest PHP 7.3.2 using PHP Version Switcher v2 with all the extension except  litespeed, memcached & recode , dso-handler and fpm

N.B: fpm - Php Handler. Experimental not for public use!!!

PHP-FPM supports zend-opcache and apcu which are prerequisite for Presta 1.7.5

Think your have a domain which is domain.com and you have username for that domain. which is domain.

4.Now Goto WebServer Settings >> WebServer Domain Conf >> Select a UserName >> username >> Apache->php-fpm
5.Now Fix the permission : User Accounts >> Fix Permissions , If necessary

if you need more help , just reply

venty

Hi,

thank you for the answer, but ask:
Why is memcached vulnerable?
IMAP why do I use it in a presta?
Аnd about 4 only Apache->php-fpm , Varnish & Nginx ???

Thanks in advance!

BR
Venty