![]() ![]() The following NEW packages will be installed: Php-common php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-opcache php7.0-readline The following additional packages will be installed: Kushal at kushal-VirtualBox:~$ sudo apt install php The program 'php' can be found in the following packages: Kushal at kushal-VirtualBox:~$ php -version Options Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI Options Indexes SymLinksIfOwnerMatch IncludesNoExecĪdd the ExecCGI option. Uncomment the following lines in /etc/apache2/nf. Add the following line to /etc/apache2/nfĬonfigure the userdir module. Sudo update-binfmts -install PHP /usr/bin/php5-cgi -extension phpĮnable Apache's handling of PHP files. Sudo apt-get install apache2 php5-cgi binfmt-supportĬonfigure PHP 5 to run. Install Apache 2, PHP 5, and support for executing pseudo-binaries. As a result, it should be avoided at all costs. '''Note:''' The below method for allowing all users to exec their own PHP scripts as themselves is dangerous both to the users' data, and possibly the system itself - especially if it is enabled system-wide. When completed, this procedure allows users to securely run PHP files from tag for more information. I've also attached the output of my terminal in scratch.txt Please take a look at UserDirectoryPHP.txt edit it as you see fit and Previous message: PHP 7 is here with 16.04.PHP 7 is here with 16.04 Kushal Dev kushaldeveloper at ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |