Web 2.0 has brought more and more social and syndication medium to the Internet world. Nowadays, every other web application is exposing web services for exposing their content and functionality. To enable web services, we rely on the protocols such as REST, SOAP, XMLRPC etc. Among these, REST is fast becoming a de-facto standard for the ...
If you are looking to connect the PHP to an oracle database, you would require to install PHP OCI8 extension. Following instructions will explain you the installation of PHP OCI8 extension using PECL on CentOS 5.5 64-bit server. We assume you already have installed the PEAR extension for PHP.
1. First install the Oracle Instant client ...
Often for my clients, I have to prepare the deployment strategy for their LAMP based web applications. Some of them are small to medium businesses and are starting up so a single server setup work out for them. But there are few large web applications too which are growing continuously in terms of users and demands scaling either ...
In my earlier post (The Perfect LAMP Stack), I have explained about how to install the PHP-FPM and configure Apache + FastCGI to connect to PHP over TCP/IP connection at port 9000. PHP-FPM not only supports TCP/IP connections but also the socket based connections.
The advantage of running PHP-FPM on socket connections instead of ...
Last time, I have provided information on Apache Httpd Startup Script. This time its turn for PHP-FPM.
Below is the init script for PHP-FPM.
[sourcecode language="bash"]
#! /bin/sh
# chkconfig: 2345 90 10
# description: PHP fast process ...
I was working on one of my client project which was based on Zend Framework. It is a complete modern Zend Framework application with HTML5 support and definitely, the forms were the integral part of this application. While developing the application, my intention was to try to use HTML5 conventions as much as possible with the Zend ...
Netbeans for PHP is a wonderful IDE and it is continuously becoming favorite among the PHP developers. Carrying tons of features for PHP development it is a breeze to work with it and develop simple and large PHP application development.
If you are a good developer, you might know that for a project it is always very important to ...
The Apache + mod_php combination has been ideal choice for most of peoples for their LAMP webserver. Easy to install and works most of the time make it favorite among the users. However, this setup is quite performance intensive and has some drawbacks which can be seen when the site grows in terms of users. Apache require more RAM to ...
PHP SOAP extension sometime returns "[HTTP] Error Fetching http headers" when using PHP SoapClient to call the SOAP webservice. The reason for this error is the SOAP webservice took more time to respond than expected.
Solution
To fix this error, we can increase the either increase the socket timeout "default_socket_time" in php.ini or ...
Tags:
For many PHP scripts, it is always been a requirement to fetch the HTTP request headers coming from client for server side processing. I have made a list of all these functions and tried to benchmark them.
Here it follows:
(more...) ...
Tags: