• Discussion
  • PrestaShop installation requires the zip extension to be enabled.

I can't finalize the installation of prestashop because in the php.ini file, I can't find zip.so.
can you help me?

    md01 that zip its a php extension you have to install within your server to make that work, I do not believe it comes by default in aaPanel, however if you are running Centos I tell you how to do it at your own risk. Please understand that I know nothing regarding your machine and you have not provided any details regarding that, so this installation is for PHP ZIP Extension.

    How to install zip module php-zip on Centos or Fedora

    1. Install dependencies as root or using sudo:
      yum install pcre-devel gcc zlib zlib-devel
    2. Install zip module using PECL (PEAR‘s sister):
      pecl install zip
    3. Edit the main PHP configuration file to register the new module. Add this text:
      extension=zip.so;
      a few lines before this: Module Settings
      in /etc/php.ini, as root or using sudo, like this: nano /etc/php.ini
    4. Restart your web server as root or using sudo:
      service httpd restart
    5. Check that support is enabled

    Hope this helps you!

    md01 by the way, this system requires 7+ php version tho, thats what Prestashop says anyways.

    22 days later

    Thanks for your feedback

    Problem solved.

    We have another problem. Because we want to synchronize the supplier's products in our prestashop shop. Unfortunately, we receive this message which prevents us from synchronizing the products.

    Is this a problem with aapanel's webservice?

    king Regards.

      md01

      Too small image, can you please send the bigger one?

      • md01 replied to this.

        md01
        You can try to delete the php function that is disabled by default to test if any function is disabled causing a functional error

        • md01 replied to this.

          aaPanel_Jose

          We must remove all disabled default php functions or a specific php function?

          Thanks

          md01
          But this system seems to be developed using php. Do you have php turned off for migration?

          • md01 replied to this.

            aaPanel_Jose

            Hi,

            What php functions to disable?

            Could you give us a PrintScreen?

            Thanks.

            aaPanel_Jose

            Hi,

            To solve my problem, maybe prestapyt is one of the solutions

            Prestapyt is a library for Python to interact with the PrestaShop's Web Service API. (I have the possibility of generating an API key on prestashop).
            Similar to PSWebServiceLibrary.php, prestapyt is a thin wrapper around the PrestaShop Web Service: it takes care of making the call to your PrestaShop instance's Web Service, supports the Web Service's HTTP-based CRUD operations.

            Can you tell me how to integrate prestapyt with aapanel?

            Thanks.

              md01

              If you want to install it in a separate environment of the panel, you can execute the following command

              btpip install prestapyt

              • md01 replied to this.

                aaPanel_Jose

                Hi,

                Thanks for your feedback.

                We must allow the following outgoing & incoming connections:

                HTTP 80 / HTTP 443 / FTP 21 / TCP 3306, all these types of HTTP requests must be authorized: POST, PUT, GET, DELETE, HEAD.

                aaPanel_Jose

                Thanks for your feedback.

                We must allow the following outgoing & incoming connections:

                HTTP 80 / HTTP 443 / FTP 21 / TCP 3306, all these types of HTTP requests must be authorized: POST, PUT, GET, DELETE, HEAD.

                How can we implement it on aapanel?

                  aaPanel_Jose

                  We would like to know if the 5 methods GET, POST, PUT DELETE and HEAD are they accepted by aapanel?
                  How to do it?

                  Thanks

                  md01

                  in aaPanel ,you can released in the [Security] page,

                  If you have a security group, you also need to be released in the security group