This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MODX Revolution is a CMS written in PHP and it's recent version do support php 8.2. | |
| There is a confedence it's support will be continued so just in case a small guide how you can deploy it on your Digitalocean cloud or other vps | |
| Let's go: | |
| $ apt-get install php8.2 php8.2-mysql mysql-server | |
| # download modx revolution from http://modxcms.com | |
| $ cd /var/www | |
| $ unzip /home/ubuntu/modx-2.8.6-pl.zip | |
| $ mv modx-2.8.6-pl modx | |
| $ cd modx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To achieve this for all the above languages, here are the steps: | |
| 1. Open a terminal, in it write the following and press [enter]: | |
| cd $HOME/ && wget https://blog.desdelinux.net/wp-content/uploads/nanorc.nanorc && mv nanorc.nanorc .nanorc | |
| 2. Once this and pressed [enter], the terminal will be closed. | |
| 3. Open another terminal, and try the following: | |
| nanotest.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| define('TEST_KEY', 'are_we_glued'); | |
| $redis = new Redis(); | |
| try { | |
| $redis->connect('localhost', 6379); | |
| $redis->set(TEST_KEY, 'yes'); | |
| $glueStatus = $redis->get(TEST_KEY); | |
| if ($glueStatus) { | |
| $testKey = TEST_KEY; | |
| echo "Glued with the Redis key value store:" . PHP_EOL; |
OlderNewer