![]() 208835 files and directories currently installed.) Selecting previously unselected package php-common. Get:9 xenial/main amd64 php all 1:7.0+35ubuntu6 Get:8 xenial/main amd64 php7.0 all 7.0.4-7ubuntu2 Get:7 xenial/universe amd64 php7.0-fpm amd64 7.0.4-7ubuntu2 Get:5 xenial/main amd64 php7.0-readline amd64 7.0.4-7ubuntu2 Get:4 xenial/main amd64 php7.0-opcache amd64 7.0.4-7ubuntu2 Get:1 xenial/main amd64 php-common all 1:35ubuntu6 Php php-common php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-opcache php7.0-readlineĠ upgraded, 9 newly installed, 0 to remove and 33 not upgraded.Īfter this operation, 13.7 MB of additional disk space will be used. 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 |