Author Topic: PHP accelerator and Short_open_tag with prestashop  (Read 1362 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
PHP accelerator and Short_open_tag with prestashop
« 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

Offline
***
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #1 on: July 25, 2018, 06:03:49 PM »
??"??

Offline
*
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #2 on: July 26, 2018, 06:47:04 AM »
in file /usr/local/php/php.ini check for short tags and set to on:
Code: [Select]
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.

Offline
***
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #3 on: July 26, 2018, 02:22:43 PM »
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

Offline
*
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #4 on: July 27, 2018, 11:35:48 AM »
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.

Offline
***
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #5 on: July 30, 2018, 05:59:32 AM »
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
« Last Edit: July 30, 2018, 06:36:44 AM by venty »

Offline
*
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #6 on: July 30, 2018, 01:45:38 PM »
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.

Offline
***
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #7 on: July 31, 2018, 04:53:03 PM »
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

Offline
*
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #8 on: August 01, 2018, 11:45:13 AM »
you should read more about suphp handler here and config file locations
http://wiki.centos-webpanel.com/suphp-detailed-info
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.

Offline
***
Re: PHP accelerator and Short_open_tag with prestashop
« Reply #9 on: August 01, 2018, 04:02:41 PM »
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...?!?