PrestaShop php7.0環境設定


$ sudo apt-get install php7.0-mysql php7.0-gd



Configuring PHP
PrestaShop needs a few additions to PHP and MySQL in order to fully work. Make sure that your PHP configuration has the following settings and tools:

GD library. The GD library (About) enables PrestaShop to rework images that you upload, especially resizing them.
Dom extension. The Dom extension enables to parse XML documents. PrestaShop uses it for various functionalities, like the Store Locator. It is also used by some modules, as well as the pear_xml_parse library.
allow_url_fopen enabled. The allow_url_fopen directive enables modules to access remote files, which is an essential part of the payment process, among others things. It is therefore imperative to have it set to ON.
Here is a section of the php.ini file (the configuration file for PHP):

extension = php_mysql.dll 必要ありません。
extension = php_gd2.dll  必要ありません。
allow_url_fopen = On

# also recommended
register_globals = Off
magic_quotes_gpc = Off
allow_url_include = Off