User Tools

Site Tools


aws:ec2-php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
aws:ec2-php [2018/11/28 08:25] – created eduardoaws:ec2-php [2024/02/23 06:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== EC2 - HTTP2.0 PHP5.======+====== EC2 - HTTP2.0 PHP 7.======
  
   * Launch AMI Image - Amazon Linux AMI 2018.03.0 (HVM) (Not Amazon Linux 2 AMI (HVM))   * Launch AMI Image - Amazon Linux AMI 2018.03.0 (HVM) (Not Amazon Linux 2 AMI (HVM))
-  * Install Apache 2.0 and PHP 5.6+  * Install Apache 2.0 and PHP 7.2
  
 <code> <code>
 > sudo su > sudo su
-> yum install httpd24 php56+> yum install httpd24 php72
  
 </code> </code>
Line 15: Line 15:
 > yum list installed | grep php > yum list installed | grep php
  
-php56.x86_64                         5.6.38-1.140.amzn1            @amzn-updates +php72.x86_64                         7.2.11-1.6.amzn1              @amzn-updates 
-php56-cli.x86_64                     5.6.38-1.140.amzn1            @amzn-updates +php72-cli.x86_64                     7.2.11-1.6.amzn1              @amzn-updates 
-php56-common.x86_64                  5.6.38-1.140.amzn1            @amzn-updates +php72-common.x86_64                  7.2.11-1.6.amzn1              @amzn-updates 
-php56-jsonc.x86_64                   1.3.10-1.20.amzn1             @amzn-main    +php72-json.x86_64                    7.2.11-1.6.amzn1              @amzn-updates 
-php56-mbstring.x86_64                5.6.38-1.140.amzn1            @amzn-updates +php72-process.x86_64                 7.2.11-1.6.amzn1              @amzn-updates 
-php56-process.x86_64                 5.6.38-1.140.amzn1            @amzn-updates +php72-xml.x86_64                     7.2.11-1.6.amzn1              @amzn-updates
-php56-xml.x86_64                     5.6.38-1.140.amzn1            @amzn-updates+
 </code> </code>
  
Line 27: Line 26:
  
 <code> <code>
->  yum search php56+>  yum search php72
  
 Loaded plugins: priorities, update-motd, upgrade-helper Loaded plugins: priorities, update-motd, upgrade-helper
-===================================== N/S matched: php56 ===================================== +===================================== N/S matched: php72 ===================================== 
-php56-pecl-propro-devel.x86_64 : php56-pecl-propro developer files (header) +php72.x86_64 : PHP scripting language for creating dynamic web sites 
-php56-pecl-raphf-devel.x86_64 : php56-pecl-raphf developer files (header) +php72-bcmath.x86_64 : A module for PHP applications for using the bcmath library 
-php56.x86_64 : PHP scripting language for creating dynamic web sites +php72-cli.x86_64 : Command-line interface for PHP 
-php56-bcmath.x86_64 : A module for PHP applications for using the bcmath library +php72-common.x86_64 : Common files for PHP 
-php56-cli.x86_64 : Command-line interface for PHP +php72-dba.x86_64 : A database abstraction layer module for PHP applications 
-php56-common.x86_64 : Common files for PHP +php72-dbg.x86_64 : The interactive PHP debugger 
-php56-dba.x86_64 : A database abstraction layer module for PHP applications +php72-devel.x86_64 : Files needed for building PHP extensions 
-php56-dbg.x86_64 : The interactive PHP debugger +php72-embedded.x86_64 : PHP library for embedding in applications 
-php56-devel.x86_64 : Files needed for building PHP extensions +php72-enchant.x86_64 : Enchant spelling extension for PHP applications 
-php56-embedded.x86_64 : PHP library for embedding in applications +php72-fpm.x86_64 : PHP FastCGI Process Manager 
-php56-enchant.x86_64 : Enchant spelling extension for PHP applications +php72-gd.x86_64 : A module for PHP applications for using the gd graphics library 
-php56-fpm.x86_64 : PHP FastCGI Process Manager +php72-gmp.x86_64 : A module for PHP applications for using the GNU MP library 
-php56-gd.x86_64 : A module for PHP applications for using the gd graphics library +php72-imap.x86_64 : A module for PHP applications that use IMAP 
-php56-gmp.x86_64 : A module for PHP applications for using the GNU MP library +php72-intl.x86_64 : Internationalization extension for PHP applications 
-php56-imap.x86_64 : A module for PHP applications that use IMAP +php72-json.x86_64 : JavaScript Object Notation extension for PHP 
-php56-intl.x86_64 : Internationalization extension for PHP applications +php72-ldap.x86_64 : A module for PHP applications that use LDAP 
-php56-jsonc.x86_64 : Support for JSON serialization +php72-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling 
-php56-jsonc-devel.x86_64 : JSON developer files (header) +php72-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases 
-php56-ldap.x86_64 : A module for PHP applications that use LDAP +php72-odbc.x86_64 : A module for PHP applications that use ODBC databases 
-php56-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling +php72-opcache.x86_64 : The Zend OPcache 
-php56-mcrypt.x86_64 : Standard PHP module provides mcrypt library support +php72-pdo.x86_64 : A database access abstraction module for PHP applications 
-php56-mssql.x86_64 : MSSQL database module for PHP +php72-pdo-dblib.x86_64 : PDO driver Microsoft SQL Server and Sybase databases 
-php56-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases +php72-pecl-apcu.x86_64 : APC User Cache 
-php56-odbc.x86_64 : A module for PHP applications that use ODBC databases +php72-pecl-apcu-devel.x86_64 : APCu developer files (header) 
-php56-opcache.x86_64 : The Zend OPcache +php72-pecl-igbinary.x86_64 : Replacement for the standard PHP serializer 
-php56-pdo.x86_64 : A database access abstraction module for PHP applications +php72-pecl-igbinary-devel.x86_64 : Igbinary developer files (header) 
-php56-pecl-apcu.x86_64 : APC User Cache +php72-pecl-imagick.x86_64 : Extension to create and modify images using ImageMagick 
-php56-pecl-apcu-devel.x86_64 : APCu developer files (header) +php72-pecl-imagick-devel.x86_64 : imagick extension developer files (header) 
-php56-pecl-http.x86_64 : Extended HTTP support +php72-pecl-mcrypt.x86_64 : Bindings for the libmcrypt library 
-php56-pecl-http-devel.x86_64 : Extended HTTP support developer files (header) +php72-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon 
-php56-pecl-igbinary.x86_64 : Replacement for the standard PHP serializer +php72-pecl-memcached.x86_64 : Extension to work with the Memcached caching daemon 
-php56-pecl-igbinary-devel.x86_64 : Igbinary developer files (header) +php72-pecl-oauth.x86_64 : PHP OAuth consumer extension 
-php56-pecl-imagick.x86_64 : Provides a wrapper to the ImageMagick library +php72-pecl-redis.x86_64 : Extension for communicating with the Redis key-value store 
-php56-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon +php72-pecl-ssh2.x86_64 : Bindings for the libssh2 library 
-php56-pecl-memcached.x86_64 : Extension to work with the Memcached caching daemon +php72-pecl-uuid.x86_64 : Universally Unique Identifier extension for PHP 
-php56-pecl-oauth.x86_64 : PHP OAuth consumer extension +php72-pgsql.x86_64 : A PostgreSQL database module for PHP 
-php56-pecl-propro.x86_64 : Property proxy +php72-process.x86_64 : Modules for PHP script using system process interfaces 
-php56-pecl-raphf.x86_64 : Resource and persistent handles factory +php72-pspell.x86_64 : A module for PHP applications for using pspell interfaces 
-php56-pecl-redis.x86_64 : Extension for communicating with the Redis key-value store +php72-recode.x86_64 : A module for PHP applications for using the recode library 
-php56-pecl-ssh2.x86_64 : Bindings for the libssh2 library +php72-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices 
-php56-pecl-xdebug.x86_64 : PECL package for debugging PHP scripts +php72-soap.x86_64 : A module for PHP applications that use the SOAP protocol 
-php56-pgsql.x86_64 : A PostgreSQL database module for PHP +php72-tidy.x86_64 : Standard PHP module provides tidy library support 
-php56-process.x86_64 : Modules for PHP script using system process interfaces +php72-xml.x86_64 : A module for PHP applications which use XML 
-php56-pspell.x86_64 : A module for PHP applications for using pspell interfaces +php72-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
-php56-recode.x86_64 : A module for PHP applications for using the recode library +
-php56-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices +
-php56-soap.x86_64 : A module for PHP applications that use the SOAP protocol +
-php56-tidy.x86_64 : Standard PHP module provides tidy library support +
-php56-xml.x86_64 : A module for PHP applications which use XML +
-php56-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol +
-uuid-php56.x86_64 : Universally Unique Identifier library+
  
   Name and summary matches only, use "search all" for everything.   Name and summary matches only, use "search all" for everything.
 +</code>
 +
 +
 +----
 +
 +
 +===== Dokuwiki =====
 +
 +  * In addition, Dokuwiki requires the following php packages
 +    * php72-mbstring - PDF Export
 +    * php72-sqlite3 - Table Edit
 +
 +<code>
 +> yum install php72-mbstring
 +> yum install php72-sqlite3
 +</code>
 +
 +  * Edit /etc/httpd/conf/httpd.conf to restrict access
 +
 +<code>
 +
 +<Directory /var/www/html/dokuwiki>        
 +    order deny,allow        
 +    allow from all        
 +</Directory>        
 +
 +<LocationMatch "/(data|conf|bin|inc)/">        
 +    order allow,deny        
 +    deny from all        
 +    satisfy all        
 +</LocationMatch>        
 +
 </code> </code>
aws/ec2-php.1543393558.txt.gz · Last modified: 2024/02/23 07:03 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki