Control Web Panel
WebPanel => PHP => Topic started by: 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
-
??"??
-
in file /usr/local/php/php.ini check for short tags and set to on:
short_open_tag = On
-
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
-
by default in cwp its enabled for all as many scripts could have issues if not enabled.
-
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
-
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.
-
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
-
you should read more about suphp handler here and config file locations
http://wiki.centos-webpanel.com/suphp-detailed-info
-
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...?!?
-
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]
-
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
-
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
-
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
-
Hi
Try to :
https://www.cloudflare.com/learning/ddos/memcached-ddos-attack/
https://thehackernews.com/2018/03/memcached-ddos-exploit-code.html
IMAP is necessary for mail communication , when you need email services
And Also Read
http://forum.centos-webpanel.com/high-performance/wordpress-high-performance-instructions/
-
Hi,
Where IMAP is used in mail communication - I did not include IMAP in the compilation of the PHP and the service sends messages to the shop users when registering and ordering ...
Are there other emails that are sent to test if they work?
BR
Venty
-
Hi,
Where IMAP is used in mail communication - I did not include IMAP in the compilation of the PHP and the service sends messages to the shop users when registering and ordering ...
Are there other emails that are sent to test if they work?
BR
Venty
Hi
I am using CWP7.Pro for PrestaShop , I build Presta on CWP7.Pro using Nginx + Apche + PHP-FPM + Memcached with Zero Error.
I also Followed Glorency's Post.
Check My google page insights details
(https://1.bp.blogspot.com/-LiEOilMRDJ8/XkBJou8wBnI/AAAAAAAAFkw/q_0VJ2KV0z4HhNKYLNXwix5w8Z1uJaaVgCLcBGAsYHQ/s1600/presta%2B2.png)