= 1024) {
$event.preventDefault();
const i = slugs.indexOf($wire.preview);
const next = $event.key === 'ArrowDown' ? Math.min(i + 1, slugs.length - 1) : Math.max(i - 1, 0);
if (next !== i && slugs[next]) $wire.openPreview(slugs[next]);
}
">
Installation Guides
11
Knowledge Base
308 copy-ready commands with fill-in variables, plus step-by-step installation guides.
/
Categories
8 results
= 1024) { $event.preventDefault(); $wire.openPreview('add-php-repository-ondrej') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('add-php-repository-ondrej') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Add Ondrej PHP repository (multi-version PHP)
sudo add-apt-repository ppa:ondrej/php -y && sudo apt update
#php
#repository
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('install-php-with-extensions') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('install-php-with-extensions') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Install PHP with common extensions
sudo apt install -y php{{php_version}} libapache2-mod-php{{php_version}} php{{ph...
#php
#install
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('switch-php-to-fpm') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('switch-php-to-fpm') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Switch Apache from mod_php to PHP-FPM
sudo a2dismod php{{php_version}}
#php
#php-fpm
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('php-info-test-page') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('php-info-test-page') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Create PHP info test page
echo '<?php phpinfo(); ?>' | sudo tee {{web_root}}/info.php
#php
#testing
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('install-composer') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('install-composer') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Install Composer globally
curl -sS https://getcomposer.org/installer | php && sudo mv composer.phar /usr/l...
#php
#composer
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('php-install-extension') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('php-install-extension') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Install PHP Extension
apt install php{{version}}-{{extension}} -y
#php
#extension
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('php-fpm-reload') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('php-fpm-reload') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Reload PHP-FPM
systemctl reload php{{version}}-fpm
#php
#fpm
4 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('php-check-config') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('php-check-config') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
PHP
Check PHP Configuration Value
php{{version}} -r "echo ini_get('{{directive}}');"
#php
#ini
3 views
0 copies