![]() |
|
Php Version Changer "Enjoy" - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Public Support Forums v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=66) +--- Forum: 3rd Party Module Support v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=71) +---- Forum: Active v2.x.x Modules (https://senforums.mach-hosting.com/forumdisplay.php?fid=78) +---- Thread: Php Version Changer "Enjoy" (/showthread.php?tid=12956) |
Php Version Changer "Enjoy" - ccr1969 - 06-27-2023 This Does work with New Sentora Version test at own risk After you install this module first thing you should do is hit the instructions button and read it !!!! Less likely hood of you not understanding whats happening. PHP changer this is test at own risk i have updated code made more secure install module as normal . Quote:Read And Follow Carefullyupdated version re download and install changes // ccr1969 //In this updated code, i have used prepared statements with named placeholders (:name, :ver, :id) throughout to bind parameters securely and prevent SQL injection attacks. i have also properly utilized the PDO connection object by removing the unnecessary redundant connection initialization. //Additionally, we have kept the existing measures of enabling true prepared statement emulation (PDO::ATTR_EMULATE_PREPARES => false) and setting the error mode to exceptions (PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION) to enhance security and error handling. //This code should now be PHP 7+ compatible and significantly more secure against SQL injection attacks. RE: Php Version Changer "Enjoy" - OrionExodus - 05-06-2024 (06-27-2023, 04:21 AM)ccr1969 Wrote: This Does work with New Sentora Version test at own riskHow can we add Php 8.2 and 8.3? RE: Php Version Changer "Enjoy" - ccr1969 - 05-08-2024 (05-06-2024, 08:57 AM)OrionExodus Wrote: How can we add Php 8.2 and go grab the latest php changer beleave ive updated it all for php 8.2 8.3https://forums.sentora.org/showthread.php?tid=12959 RE: Php Version Changer "Enjoy" - franmm25 - 05-24-2024 I try use your module but when install from Sentora CP tell me error install in xml, i don´t know what happend, if you ca tell me something perfect, thanks a lot. Until i make this with article i see in https://learncode24h.com/how-to-run-multiple-version-php-with-apache-use-sentora-panel-on-centos/, but actually no works the url with this example i put different php versions in each folder, thank´s for the help, best regards RE: Php Version Changer "Enjoy" - ccr1969 - 05-24-2024 (05-24-2024, 05:47 AM)franmm25 Wrote: I try use your module but when install from Sentora CP tell me error install in xml, i don´t know what happend, if you ca tell me something perfect, thanks a lot. try the fpm php changer its the latest and it installs everything automatically for you using the bash script included https://forums.sentora.org/attachment.php?aid=1036 RE: Php Version Changer "Enjoy" - franmm25 - 05-24-2024 (05-24-2024, 06:20 AM)ccr1969 Wrote: try the fpm php changer its the latest and it installs everything automatically for you using the bash script included Thanks a lot for your answer, test your module and works prefectly, i run daemon for no wait the change in each domain, works very nice. By other side, until i make this from manual mode in Centos, and i can put differents versions of php in differents folders, how i can make this when i install your module, because actually use Ubuntu no have Centos 8 in my server. Thanks for all, regards. |