When I run composer install in laravel, I got this error-message Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with an error [RuntimeException] Error Output: install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress]…
Sublime Text Remove Whitespace Characters End of the Line
Open Preferences → Settings-User to open user configuration and add the following line "trim_trailing_white_space_on_save": true, Save the file will be automatically deleted when trailing whitespace characters.
Remove the index.php in ThinkPHP
For example, your original path is http://localhost/test/index.php/index/add, and you want to it like this http://localhost/test/index/add. Configure Apache Make sure that httpd.conf configuration file loaded mod_rewrite.so module, uncommented: # LoadModule rewrite_module modules/mod_rewrite.so Modify AllowOverride None to AllowOverride All Configure ThinkPHP Make…
Install KVM on Ubuntu Server 12.04 LTS and Create a Virtual Machine
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific…