If the script prompt you to provide the path to ORACLE_HOME directory, respond with:/usr/local/instantclient/12_1
And your are done, normally pecl will automatically load the extension in your `php.ini`. If not, add the following line to your `php.ini`:
extension=oci8.so

Download the RPM instant client package from oracle website. Since it is Linux environment, use the this oracle linkInstall the RPMs as the root user
rpm –ivh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
rpm –ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
rpm –ivh oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm

Install some prerequisite

yum install php-pear
yum install php-devel

Set environment variables ORACLE_HOME and LD_LIBRARY_PATH# ORACLE_HOME=/usr/lib/oracle/12.1/client64; export ORACLE_HOME
# LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATHYou should also add the above two lines in ~/.bash_profile file. Edit the file by vi editor and add the lines above PATH=$PATH:$HOME/bin#vim ~/.bash_profile

Amazon AWS organizes its services into four main categories: Compute, Databases, Networking, and Storage & Content Delivery. Amazon has its own Hadoop framework called EMR, and it also offers Kinesis, which can process real-time data streams. AWS offers managed NoSQL and relational database services, many third-party integrations, and a strong encryption platform. It also supports Red Hat Enterprise Linux, which Azure doesn’t, and its GovCloud provides instant regulatory compliance for government agencies.

Microsoft Azure primarily targets PaaS customers, although its IaaS is expanding. If your company is interested in hybrid cloud services, Microsoft will soon offer Azure Stack for on-premises private clouds that integrate seamlessly with Azure’s public cloud. With Azure, developers worry only about maintaining their code. They don’t have to maintain their own VMs or worry about patches and security updates.

Rackspace is well known for its supports and its hybrid cloud offerings which is completely different than AWS or Azure offering. Rackspace offers Private Cloud for VMware, VCloud, Microsoft Cloud Platform and OpenStack(free and open-source cloud-computing platform written in Python). Dedicated hosting is Rackspace “Managed Hosting” solution which is a great feature of Rackspace offering.

They both automate our tasks, they both use Node, and they both require you to create tasks and install plugins.

Grunt handles this using intermediary files which are disk I/O operations. Your SASS file is compiled and then written to a temporary file. The temporary file is used by the autoprefixer and then the final product is written to the destination file.

Gulp takes care of all this in-memory. Your source SASS file is compiled, the result is passed to the autoprefixer without being written to a file and the destination file is then written out.
Compared to in-memory operations, disk writes are slow which means that Gulp has a big speed advantage (for now).

Working with the content heavy LMS website is not easy task. Today, I come across the problem where site is getting slower when concurrent users are hitting system at the same time. Our client has set up LMS in their network which should be accessible on internal as well as external environment. There are a million ways to boost your LMS site performance. The three main areas that should work on first Hardware (Web server)/Network set up, Server side scripting Language and front end performance.

• Network Set up

You could ask list of questions to client about their network setup.

1. Reducing the number of unique hostname may increase response time.
2. How much network bandwidth in internal network?
3. How many workstations running in internal network and how much far from application server?
4. How many VM loaded on the Single Host?
5. Adding second NIC on application server
6. Memory overcommit on VM
7. Protocol acceleration for high latency
8. Out-of-band management can improve overall network performance through greater uptime
9. Adding caching/media server

Today i am very interested to write about SCORM [Sharable content object reference model].Lets know little background about SCORM.Why we are using SCORM courses instead of normal Flash courses?The US Department of Defense has specified that all of its content must be delivered via SCORM in Online training program so we must have to follow SCORM courses in LMS.We had done couple of courses in Flash based actionscript to provide physically to the clients but this is first time experience to create online courses with SCORM complaint.

How SCORM communicate with LMS?SCORM is basically made in javascript objects so LMS and courses are communicating using SCORM JavaScript.Its kind of request javascript variable to courses and get response to LMS as form of javascript variable.Its slower down the speed of courses itself using javascript SCORM.

Last week, we have built couple courses with SCORM complaint and uploaded in online Moodle based LMS.We have been facing speed issue in internet because our courses size is more than 30MB and also SCORM javascript is sometime giving us timeout error with only 10 tester at same time.We are going to built our system more robust for more than 200 users at same time to access the courses but we are facing problem with 10 tester then how we can achieve goal of 200 users?

I came accross problem with 4D SOAP request while i was working on web service.Normally webservice have only .wsdl file and PHP function can take care of rest of things but in my case, my client have webservice in 4D server another third party website who handle their database as well as web service.

1. In my case, my Client using firewall to block IPs address,they have suggested to open their firewall for our specific IP addresses because they didnt want to ping any person in their web service and get result.

3.4DSOAP has basically two methods SoapServicesTxt and SoapServicesBlob.These method has written from 4D server.Basically you have to pass all parameters and call function.There is no such rule you can only pass single parameter and get result.

4.Let start with PHP,I am using Nusoap class to call 4DSOAP server.Nusoap is having sample examples where you can see where is your request is going by nusoap parser.if any fault occure,its will tell you where soap fault occure during transftering request.

Last week,I have faced very critical problem to connect moodle1.9 with MSSQL 2008 on window server 2008 R2 64bit Operating System.Moodle community has lot of information about how to connect MySQL with moodle but buried information for MSSQL 2008.First of MSSQL is not open source so if anyone need to use for production server they must have to buy license version but i had install Express version of MSSQL for my development server.I never done any work on MSSQL so kind of very new experience for me.

If you have Firewall on your network so please be careful for port number which you are going to enter in MSSQL installation.

Make sure that you choose mixed authentication (Windows and local accounts) to keep things simpler later. You’ll be asked to define the “sa” account password (it’s the default System Administrator account which has full access to all databases by default).

You might need to explicitly allow this in your Windows firewall (see the Control Panel). You may also need to edit options in the :SQL Server Configuration Manager -> Network Configuration -> Protocols -> TCP/IP enabled

3. Install SQL Server Management Studio.Open the “SQL Server Management Studio” and create a new empty database. If you are using the “sa” account then you don’t need to do anything else here.

4. Configure these settings in your created (and still empty) database:

6. Choose one of the following specific sections for your server to install the mssql extension alternative installed and running properly on your PHP box.

7. Set the following settings in your php.ini file

mssql.textlimit = 20971520

mssql.textsize = 20971520

Also, don’t forget to set one of the following alternatives, in order to get all the data properly “slashed”:

magic_quotes_gpc = Off or

magic_quotes_gpc = On and magic_quotes_sybase = On

8. With all this properly configured, you can continue with a standard Moodle installation.

Step 2:-Using FreeTDS to connect Moodle with MSSQL 2008

Moodle not easily allow to connect with MSSQL 2008.we need to install FreeTDS drive to connect with moodle.

Download the appropriate copy of php_dblib.dll from the list below, and save it into your /PHP/ext directory.

2. You can download the required DLL(msvcr71.dll) from Frank’s site, and save it into your /PHP root directory.

3. Edit your /PHP/php.ini file and add this line:

extension=php_dblib.dll

Make sure that any lines referring to the php_mssql.dll extension are DISABLED (commented out).

When the PHP engine loads the FreeTDS extension it needs to be passed certain information in order to be able to connect to your Moodle database. To retrieve this information FreeTDS looks for a file called freetds.conf in the root folder of the server that PHP installed on (e.g. C:\).

freetds.conf should have the following structure:

[global]

host = xxx.xxx.xxx.xxx (host name or ip of the MSSQL server)

port = 1433

client charset = UTF-8

tds version = 8.0

text size = 20971520

If you want to connect to a particular instance of MSSQL you should specify the instance name: