Php

By compiling PHP with mssql extension support one can have capability to connect to MS SQL server from a PHP Linux environment. For enabling mssql support in PHP we need FreeTDS installed and configured which is a set of Unix/Linux libraries that implement the TDS protocol. This post explains the steps for doing this, lets […]

Continue reading about How To : Install mssql extension for PHP in cPanel CentOS / Linux

I have been setting up a test server few days back by setting up MySQL , Apache and PHP from source. Though the installation all went smooth, but when I restarted apache it failed and when I checked the error logs they showed the following error : Syntax error on line xxx of /usr/local/apache/conf/httpd.conf: Cannot […]

Continue reading about Error : “/usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied” Resolution

cPanel stands among all other hosting control panels, and the reason is that its not only easy to use for end users, its also easy to manage for server admins. The ease of use it provides to end users is through a very good and friendly gui it provides for them to manage day to […]

Continue reading about How To : Check latest software versions available for cPanel server through easyapache

You may come across this error after server upgrades or server migrations. This may appear while loading WHM or you may experience this while running easyapache script or /scripts/rebuildhttpdconf The exact error that comes in easy apache case with few preceding lines is below : — Updating Apache configuration Distilled successfully read error at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 126 […]

Continue reading about Error : ” read error at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 126 ” Resolution

Riz Khan on May 13th, 2010

Installing extension managers like Zend Optimizer or Ion Cube etc is not very difficult, but Cpanel provides a script to install the extension managers making it further easy. The script is located under the normal /scripts directory on Cpanel servers : /scripts/phpextensionmgr It provides the options to list, check status , install or remove any […]

Continue reading about How to install extension Managers on Cpanel Server

When sending emails from scripts, not setting proper from address can give two problems, once is email ending up in spam/junk box of recieving email server and second is that the return path would be user@server.hostname.com. To avoid this and to setup return path using php mail() function you need to use the fifth parameter […]

Continue reading about How To : Use 5th parameter in php mail() function on Cpanel server