Install PHP4 on CentOS 5.5 Rumi, September 6, 2014 1. Install Apache yum install httpd 2. Install Mysql yum install mysql mysql-server php-mysql 3. Install dependencies yum install flex gcc* bison bison-devel httpd-devel make 4. Download PHP4 cource wget http://lu2.php.net/get/php-4.4.9.tar.gz/from/my2.php.net/mirror 5. Extract PHP4 tar zxvf php-4.4.9.tar.gz 6. Enter folder and configure cd php-4.4.9 ./configure –with-apxs2=/usr/sbin/apxs 7. Install and verify make make test 8. Finalise installation make install 9. Add configuration to php.conf nano /etc/httpd/conf.d/php.conf add this to the file and save the file # /etc/httpd/conf.d/php.conf # PHP is an HTML-embedded scripting language which attempts to make it # easy for developers to write dynamically generated webpages # LoadModule php4_module modules/libphp4.so # # Cause the PHP interpreter to handle files with a .php extension. # AddHandler php-script .php AddType text/html .php # # Add index.php to the list of files that will be served as directory # indexes. # DirectoryIndex index.php # # Uncommenting the following line to allow PHP to pretty-print .phps # files as PHP source code: # #AddType application/x-httpd-php-source .phps 10. Restart Apache service httpd restart Related Administrations CentOSPHP. PHP4. PHP 4
INSTALL IPTABLES IN DEBIAN 11 (BULLSEYE) February 26, 2024February 26, 2024 In this article you will learn how to uninstall default nftables framework, install iptables Debian 11 (Bullseye) and basic rules initial configuration. Uninstall nftables and its Dependencies IPtables is being replaced by nftables starting with Debian 10 Buster. Debian 11 comes with nftables framework. To install iptables first we need uninstall nftables and its dependencies. SSH… Read More
Linux ISO and DR Solution- Mondo Rescue July 1, 2011July 1, 2011 Mondo Rescue is a GPL disaster recovery solution. It supports Linux (i386, x86_64, ia64) and FreeBSD (i386). It's packaged for multiple distributions (RedHat, RHEL, SuSE, SLES, Mandriva, Debian, Gentoo). It supports tapes, disks, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware Raid. You need it to be… Read More
Linux Tune Network Stack (Buffers Size) To Increase Networking Performance December 23, 2015 By default the Linux network stack is not configured for high speed large file transfer across WAN links. This is done to save memory resources. You can easily tune Linux network stack by increasing network buffers size for high-speed networks that connect server systems to handle more network packets. The… Read More