Jump to content
cilicili

php 7.0, 7.1, 7.2 impreuna cu prestashop 1.7

Recommended Posts

As dori sa aflu daca a instalat cineva prestashop 1.7 cu php 7 si daca au fost probleme. Eu am in acest moment php 5.6 si prestashop 1.7.2 si functioneaza, desi apar niste erori in log (asta face subiectul unui alt pot). Daca incerc sa setez php 7 oricare din variante, site-ul nu mai merge corect si da tot felul de erori. Banuiesc ca mai trebuie sa activez ceva functii php. Ma poate ajuta cineva cu setarile necesare in php?

V amultumesc.

Cu stima,

ing. Liviu Ciocanea

Share this post


Link to post
Share on other sites

Eu folosesc php 7.0 si merge inclusiv 1.7.4.2, o versiune mai sus de php, la mine nu merge.

Încearcă sa instalezi un presta pe un subdomeniu, la instalare îți sugerează ce sa activezi in php, dar sa nu uiti mai intai sa treci pe php 7.0 si pe urma sa incepi instalarea.

Share this post


Link to post
Share on other sites

Am facut si eu o instalare "pe curat", direct in public_html cu php 7.0 si prestashop 1.7.4.2 si vad ca merge. Am avut ceva probleme pana am facut toate setarile, dar acum se pare ca este ok.

Poate cineva sa-mi spuna ce inseamna eroarea care apare in public_html\error_log:

[01-Aug-2018 15:17:21 Europe/Bucharest] PHP Warning: escapeshellcmd() has been disabled for security reasons in /home/xxxxx/public_html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php on line 259

Eroarea apare si cand nu lucrez pe site (noaptea). Trebuie setat ceva in php?

Multumesc.

Cu stima,

ing. Liviu Ciocanea

Edited by cilicili (see edit history)

Share this post


Link to post
Share on other sites

Fac o completare pentru ca am observat ca apare o eroare si in error_log din Admin.

Eroarea este repetitiva si are forma:

Stack trace:
#0 /home/fiscalsy/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('mysql:host=127....', 'fiscalsy_prest1...', 'xx parola xx', Array)
#1 /home/fiscalsy/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(44): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127....', 'fiscalsy_prest1...', 'xx parola xx', Array)
#2 /home/fiscalsy/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(360): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'fiscalsy_prest1...', 'xx parola xx', Array)
#3 /home/fiscalsy/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(942): Doctrine\DBAL\Connection->connect()
#4 /home/fiscalsy/public_html/src/PrestaShopBundle/Kernel/Mo in /home/fiscalsy/public_html/vendor/twig/twig/lib/Twig/Loader/Chain.php on line 129
[01-Aug-2018 15:24:05 Europe/Bucharest] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42000] [1203] User fiscalsy_prest17 already has more than 'max_user_connections' active connections in /home/fiscalsy/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43

Am inlocuit parola bazei de date care aparea in clar cu "xx parola xx"

Intr-adevar cand editam niste produse, a dat la un moment dat eroarea "max_user_connections". Este cazul sa ma alarmez, sau este necesar sa fac ceva setari sau modificari?

Multumesc.

Cu deosebita stima

ing. Liviu Ciocanea

Edited by cilicili (see edit history)

Share this post


Link to post
Share on other sites

Am instalat versiunea 1.7.4.2 pentru a testa un VPS  100% SSD  server Apache cu PHP 7.2

Merge bine, cred (inca sunt in probe ) .

https://www.oho.ro

Nu aveam de gand sa incep atat de repede dar m-a intrigat oferta generoasa a celor de la Contabo cu VPS  100% SSD

 

Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 4 cores ,

8 Gb Memory,  200 GB SSD  5 Euro/luna

Edited by edelta (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More