Archive for the ‘PHP’ Category

install mod ssl on apache

I am going to give you the steps to install mod_ssl on an Apache server by compiling the source.
Download the following packages
1. apache_1.3.14.tar.gz   http://www.apache.org
2. openssl-0.9.6.tar.gz http://www.openssl.org
3.  mod_ssl-2.7.1-1.3.14.tar.gz http://www.modssl.org

I have created a folder called  /downloads/src and downloaded all packages here

Go to Apache source files and  compile it as shown below
# ./configure –enable-module=so [...]

How to install Zend frame work on a Linux and test it

Note :  This guide is for Admins only , who  is going to install Zend for the first time
Here I simply describe about how to install Zend framework and create a sample project
My server is running on Fedora 9, PHP5
Step 1:
Download the Zend framework (MINIMAL PACKAGE).  I have downloaded http://downloads.zend.com/framework/1.10.0/ZendFramework-1.10.0-minimal.tar.gz
Step2:  Extract the package
Step3:  Create [...]

Install php_mssql on PHP

In fact installing the mssql modules in php is easy, we may get  errors sometimes. In phpinfo() it may be shown that the  php mssql module is installed. But when we tried to connect to an SQL server through php script we will get error ” sorry something went wrong”
IF we need to install php [...]

Find PID of a PHP script

I have been trying to find the PID of a php site which is hosted in my apache web server. I did not know that it was very easy until in found the built in php function getmypid(). To find the process ID (PID) of a PHP script  use the following code in your php [...]

change php.ini values using htaccess

Using php_flag we can change php.ini values through an .htaccess file. For example if we need to change the php value of register_globals to Off we can do it using the following .htaccess

php_flag register_globals off


Fatal error: Call to undefined function wp_list_addonn() in /home/hellosys/public_html/wp-content/themes/Grante/sidebar.php on line 106