Ahmed Elghoneimy Posted July 3, 2023 Share Posted July 3, 2023 Prestashop 8.1.0 php8.1-fpm nginx prestashop working fine until i configured another virtual host for different application uses the sameh php socket i got blank page in backoffice module and No input file specified in store module, to correct this i configured the another virtual host to use another php socket then restart the php & nginx and every thing work normal. the question is how to connect multi app to same php socket, i changed socket confiduration to listen on 127.0.0.1:3000 instead of unix path but the same result no changes could you help in that Link to comment Share on other sites More sharing options...
AddWeb Solution Posted July 6, 2023 Share Posted July 6, 2023 On 7/3/2023 at 10:53 AM, Ahmed Elghoneimy said: how to connect multi app to same php socket Hi, When configuring multiple virtual hosts to use the same PHP socket, you need to ensure that each virtual host is set up correctly to use a unique socket. Firstly, Create separate PHP-FPM pools, Configure Nginx for each virtual host, then Restart PHP-FPM and Nginx. Kindly let me know If you need detailed solution for mentioned pointers. 1 Link to comment Share on other sites More sharing options...
Ahmed Elghoneimy Posted July 6, 2023 Author Share Posted July 6, 2023 Hello thank you for your reply. the problem solved with separate PHP-FPM pools Regards Link to comment Share on other sites More sharing options...
Ahmed Elghoneimy Posted July 6, 2023 Author Share Posted July 6, 2023 Hello Again i am trying to install Geolocation, i got from MaxMind the GeoLite2-Country_20230704 zip file which contains 3 files: COPYRIGHT.txt & GeoLite2-Country.mmdb & LICENSE.txt as instructions i put these files unzipped in /app/Resources/geoip/ but its not worked, you may help with thanks Link to comment Share on other sites More sharing options...
AddWeb Solution Posted July 7, 2023 Share Posted July 7, 2023 12 hours ago, Ahmed Elghoneimy said: thank you for your reply. the problem solved with separate PHP-FPM pools Great! Thanks for the update. Don't forget to add cup / like to my comment If it's helpful 😉 1 Link to comment Share on other sites More sharing options...
AddWeb Solution Posted July 7, 2023 Share Posted July 7, 2023 (edited) 13 hours ago, Ahmed Elghoneimy said: Hello Again i am trying to install Geolocation, i got from MaxMind the GeoLite2-Country_20230704 zip file which contains 3 files: COPYRIGHT.txt & GeoLite2-Country.mmdb & LICENSE.txt as instructions i put these files unzipped in /app/Resources/geoip/ but its not worked, you may help with thanks Hi, Kindly follow the steps below and Let me know If it is helpful. - Unzip the downloaded GeoLite2-Country_20230704.zip file on your computer - Connect to your PrestaShop server via FTP or any other file management tool. - Navigate to the /app/Resources/ directory in your PrestaShop installation. - Create a new directory called geoip - Upload the files (COPYRIGHT.txt & GeoLite2-Country.mmdb & LICENSE.txt) to the newly created geoip directory. (Make sure the file permissions for the uploaded files are set correctly. The web server should have read access to these files.) - In Prestashop BO, Go to the International -> Localization. - In the Geolocation section, click on Add/Update a Database button. - Select the MaxMind Geolocation option. - Select the file /app/Resources/geoip/GeoLite2-Country.mmdb and upload it to import the GeoLite2-Country database. - After the import is complete, you should see a success message. - Save the changes and clear the Prestashop Cache. The Geolocation feature should now be installed and ready to use in your PrestaShop 8.1.0 store. Edited July 7, 2023 by AddWeb Solution Removed duplicate image (see edit history) 1 Link to comment Share on other sites More sharing options...
Ahmed Elghoneimy Posted July 7, 2023 Author Share Posted July 7, 2023 Many thanks everything fine Link to comment Share on other sites More sharing options...
AddWeb Solution Posted July 7, 2023 Share Posted July 7, 2023 2 hours ago, Ahmed Elghoneimy said: Many thanks everything fine Amazing! Thank you for the update! 1 Link to comment Share on other sites More sharing options...
VertNature Posted December 10 Share Posted December 10 On 7/7/2023 at 6:43 AM, AddWeb Solution said: Hi, Kindly follow the steps below and Let me know If it is helpful. - Unzip the downloaded GeoLite2-Country_20230704.zip file on your computer - Connect to your PrestaShop server via FTP or any other file management tool. - Navigate to the /app/Resources/ directory in your PrestaShop installation. - Create a new directory called geoip - Upload the files (COPYRIGHT.txt & GeoLite2-Country.mmdb & LICENSE.txt) to the newly created geoip directory. (Make sure the file permissions for the uploaded files are set correctly. The web server should have read access to these files.) - In Prestashop BO, Go to the International -> Localization. - In the Geolocation section, click on Add/Update a Database button. - Select the MaxMind Geolocation option. - Select the file /app/Resources/geoip/GeoLite2-Country.mmdb and upload it to import the GeoLite2-Country database. - After the import is complete, you should see a success message. - Save the changes and clear the Prestashop Cache. The Geolocation feature should now be installed and ready to use in your PrestaShop 8.1.0 store. I have 8.2 version, and did import the requested files as described But unfortunately then, the Add/update a Database button is not in the Geolocation section. Any where I could find it ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now