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
How to enable Port Forwarding in Iptables April 17, 2015 Port forwarding allows remote computers, for example, computers on the Internet, to connect to a specific computer or service within a private local area network (LAN). Typical applications include the following: Running a public HTTP server within a private LAN Permitting Secure Shell access to a host on the private… Read More
Install wkhtmltopdf 0.12.5 on Centos 7 April 2, 2021April 2, 2021 Install Dependencies yum install fontconfig libXext freetype libpng zlib libjpeg-turbo libpng libjpeg openssl icu libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi Install wkhtmltopdf sudo yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm Test wkhtmltopdf http://www.google.com google.pdf Src:: https://otodiginet.com/software/tools/how-to-install-and-using-wkhtmltopdf-on-centos-7/ Related Read More
Install VNCServer on Centos 5 June 6, 2014 Install VNC Server to operate CentOS with GUI remotely from Windows client. VNC is already installed if you already build Desktop Environment. If it's not installed, Install by a command 'yum -y install vnc-server'. [root@ns ~]# yum -y install vnc-server [root@ns ~]# vi /etc/sysconfig/vncservers # line 20: make valid… Read More