-
.Net
-
Backup
-
Data Storage Containers
-
Docker Containers
-
Environment Management
- Swap-Domains
- Clone Environment
- Create Environment
- Environment Aliases
- Environment Aliases
- Environment Migration between Regions
- Environment Regions
- Environment Transferring
- Environment Variable
- Environment Variables
- Environment Variables(Apache meaven, Memcached)
- Environment Variables(Go)
- Environment Variables(JAVA)
- Environment Variables(Load Balancer)
- Environment Variables(Node.js)
- Environment Variables(PHP)
- Environment Variables(Ruby)
- How to Migrate a WordPress Site to BitssCloud PaaS
- How to migrate my environments from another Jelastic provider?
- HTTP Headers
- Java VCS Deployment with Maven
- Setting Up Environment
- Share Environment
- Why is my environment in sleeping mode?
- Show all articles (9) Collapse Articles
-
Java
- Environment Variables - Java custom Environment Variables
- Java App server Configuration
- Java Options and Arguments
- Multiple Domains on Tomcat server
- Secure Java Encryption and Decryption
- Spring Boot Standalone and Clustered Java Applications with BitssCloud
- Timezone Data for Java/PHP App Server
- Tomcat HTTP to HTTPS redirect
- WildFly server
-
LiteSpeed Web Server
-
OOM Killer
-
Python
-
Reseller SetUp
-
Secure Socket Layer (SSL)
-
Troubleshooting
-
Account Management
-
CDN
-
Databases
- Database Configuration
- Database Connection Strings
- Database Hosting in BitssCloud
- Environment Variables(Database)
- Galera Cluster not working
- How to export/Import Database via Command line
- How to install MSSQL server on Linux (2017)
- MariaDB/MySQL Auto-Сlustering
- MongoDB Database Backups
- PostgreSQL Database Backups
- PostgreSQL Database Replication
- PostgreSQL Master-Slave Cluster
- Remote Access to PostgreSQL
- Schedule Backups for MySQL and MariaDB Databases
- Scheduling Databases Backups
-
Domain Name Management
- Container Redeploy
- Custom Domain Name
- DNS Hostnames for Direct Connection to Containers
- How to Bind Custom Domain via A Record
- How to Bind Custom Domain via CNAME
- Multiple Custom Domains on an Nginx Web Server
- Multiple Domains with Public IP
- Multiple Public IP Addresses for a Single Container
- Setup WordPress Multisite Network with Domain Mapping and CDN
-
Jenkins
-
Load Balancing
-
PHP
- Creating Environment for PHP
- Deploy PHP Project Via GIT SVN
- How to Check Change PHP Version in BitssCloud
- How to create environment for AngularJs/ReactJs
- How to Enable PHP Extensions
- How to Install Custom PHP Application
- Ion cube Loader
- MariaDB PHP connection
- MySQL PHP Connection
- NGINX PHP
- PHP App Server Configuration
- PHP Connection to MongoDB
- PHP security settings
- PHP Session Clustering
- PostgreSQL PHP Connection
- Running Multiple Domain Names on Apache Server
- Security configuration for Apache
- Zero Downtime (ZDT) Deployment for PHP
- Show all articles (3) Collapse Articles
-
Release Notes
-
Ruby
-
SSH
-
Wordpress
-
Application Management
-
Cluster
-
Deploying Projects
-
Elastic VPS
- CentOS VPS
- Elastic VPS configuratation
- Elastic VPS with full root access
- Installation of cPanel in BitssCloud
- Java Console Application with CentOS VPS
- Linux VPS Access via Public IP
- Linux VPS Access via SSH Gate
- Setting Mail Server Inside CentOS VPS
- Setting Mail Server Inside CentOS VPS
- SSH Access to VPS Gate
- Ubuntu VPS
- Ubuntu with CSF Firewall
-
High Availability
-
Jitsi
-
Node.js
-
Pricing System
-
Request Handling
-
Scaling
- Application Server with horizontal scaling
- Automatic Horizontal Scaling
- Automatic Horizontal Scaling: Multi Nodes
- Automatic Vertical Scaling
- Database Horizontal Scaling
- Docker Containers Horizontal Scaling
- Horizontal Scaling
- Load Balancer with horizontal scaling
- Memcached horizontal scaling
- Storage Container
- VPS Horizontal Scaling
-
Traffic Distributor
-
General
- Apache & NGINX Modules
- BitssCloud Dashboard Guide
- Build and Deploy Hooks
- Cron Job scheduler
- FFMPEG Setup
- File Synchronization
- FTP Overview
- FTP/FTPS Support in BitssCloud
- How to Deploy Magento into BitssCloud PHP Cloud
- How to Enable Expert Mode in JCA
- How to open a support ticket to BitssCloud
- Installation of FTP
- Kubernetes Cluster
- MarketPlace
- Reduce Cloud Waste with Automatically Scheduled Hibernation
- Run Configuration
- SFTP Protocols for Accessing BitssCloud Containers.
- Supported OS Distributions for Docker Containers
- Timezone Addon
- Two-Factor Authentication
- Types of Accounts
- Varnish
- Websockets Support
- What is Cloudlet
- What is PaaS & CaaS
- WordPress AddOn
- Zero Code Change Deploy with No Vendor Lock-In for Smooth Migration across Cloud Platforms
- Show all articles (12) Collapse Articles
-
Go lang
-
Wordpress category
-
Data Storage Container
-
Memcached
-
Account & Pricing
Extensions in PHP
PHP Extensions
At BitssCloud PaaS, PHP application servers are delivered with a number of embedded modules, which allows you to set different PHP extensions in httpd (Apache-PHP) and PHP-FPM (NGINX-PHP) daemons. Among these extensions, the following commonly required ones are inbuilt, i.e. loaded and run with PHP by default:
ctype date dom ereg filter | hash libxml mhash pcre Reflection | session SLPxml sockets |
The rest of provided extensions are dynamic, i.e. they are included to the appropriate servers’ builds (being stored within the dedicated modules server folder) and can be enabled upon the necessity:
apc.so apcu.so bcmath.so bz2.so calendar.so curl.so dba.so dom.so enchant.so event.so exif.so fileinfo.so ftp.so gd.so gearman.so geoip.so gettext.so gmp.so http.so iconv.so igbinary.so imagick.so imap.so | inotify.so intl.so json.so ldap.so mbstring.so mcrypt.so memcache.so memcached_2_1_0.so memcached_2_2_0.so mongo.so mongodb.so mysql.so mysqli.so mysqlnd_ms.so mysqlnd_qc.so mysqlnd.so ncurses.so oauth.so odbc.so opcache.so openssl.so pcntl.so pdo_dblib.so | pdo_firebird.so pdo_mysql.so pdo_oci.so pdo_odbc.so pdo_pgsql.so pdo_sqlite.so pdo.so pgsql.so phar.so posix.so propro.so pspell.so raphf.so rar.so readline.so recode.so redis.so shmop.so simplexml.so snmp.so soap.so solr.so solr2.so | sphinx.so sqlite3.so svn.so sysvmsg.so sysvsem.so sysvshm.so tidy.so timezonedb.so tokenizer.so uuid.so wddx.so xcache.so xdebug.so xmlreader.so xmlrpc.so xmlwriter.so xsl.so yaml.so ZendGuardLoader.so zip.so zlib.so |
Below, you can figure out how to:
- activate an extension
- configure an extension
- add your custom extension
Activate Extension
In order to make a dynamic extension available for the used PHP module (i.e. engine), it should be enabled within the corresponding configuration file.Note: The inbuilt extensions should not be loaded manually, as they are constantly running at all PHP servers in BitssCloud by default.
Below, you can find out how this can be accomplished:
1. Click the Config button for your app server.
2. Within the opened configuration tab, move to the, etc > php.ini file and scroll down to the Extensions provided by BitssCloud section. Here, each dynamic extension has its own sub-section, where it can be enabled and configured.
4. Now, locate the required section (they are listed in the alphabetic order) and uncomment the extension={module_name}.directive inside (i.e. remove semicolons at the beginning of the corresponding line) to enable it:
Also, here you can adjust the extension by means of the stated configuration parameters (or specify your own ones).
5. After all the necessary changes are made, do not forget to Save them and Restart the node to apply the new configuration.
Configure Extension
All the necessary PHP modules’ settings are to be handled via the php.ini file. Herewith, the majority of provided dynamic extensions are specified with a set of possible configuration parameters alongside.As an example, let’s consider such for the dynamic OPcache extension – PHP accelerator, based on the opcode caching and optimization:
- opcache.enable=1
enable/disable OPcache extension - opcache.memory_consumption=64
set the amount of memory to use - opcache.interned_strings_buffer=8
set the amount of memory to be used for storing internal strings (e.g. classnames) - opcache.max_accelerated_files=4000
the maximum number of files to be cached - opcache.revalidate_freq=60
the frequency of checking file timestamps for the shared memory storage allocation to be changed - opcache.fast_shutdown=1
enable/disable a fast shutdown sequence for accelerated code - opcache.enable_cli=1
enable/disable OPcache for the CLI version of PHP
Add Custom Extension
In addition to all of the modules, available at BitssCloud out-of-box, you have the possibility to integrate your own PHP extensions to a server if needed. For that, just follow the instruction below:
1. Compile the extension itself.
2. Navigate to the BitssCloud dashboard and click on the Config button for your PHP application server.
3. Now, using the opened manager, upload your custom extension to the modules folder. ( download the module and upload it) ( click on the settings icon and upload the module )
4. Move to the etc > php.ini file, find the Dynamic Extensions section and add the next command directive:
extension={module_name}.so
Tip: You can define all the necessary settings for your extension in the same section if needed.
5. Save the changes and Restart the node.
That’s all! Now your custom extension is activated.