How do I install mbstring with PHP on CentOS 6.2 I've tried: $ sudo yum install php-mbstring Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile. How to install PHP mbstring on CentOS 6.2. Install PHP 5 on Red Hat Enterprise Linux version 4. It appears that many people or sys admin want to run php 5 on Red Hat Enterprise Linux. Unfortunately Redhat does not provide this package (RPM file) for RHEL. You can download source code and install php 5 from official php site. This requires compiler collection on your system. Download source code and just follow instructions presented in INSTALL or REDME file. Another option is search and installs PHP 5 packages. Use wget command to download these packages and rpm command to install new packages. But first remove old php. Alert: This post is outdated. Please use the latest version of RHEL/Cent. OS v. 6. x+ for PHP 5. The author no longer support php 5 rpm on RHEL 4. However these rpm packages 6. RPM file. Step # 1: Download src rpm# cd /tmp# wget http: //www. Step #2: Rebuild RPM for 3. RHEL version# cd /usr/src/redhat/SPECS# rpmbuild - bb php. It will take some time to compile and rebuild RPM files. Step #3: Install new php. RPM file. Remove old php.
Go to /usr/src/redhat/RPMS directory and install PHP5 RPM files. Please note that PHP 5 is not official supported by Red Hat on RHEL 4. You are using these packages on your own risk ; )Share this on. How To Install Linux Apache MySQL and PHP (LAMP) Stack on CentOS, RHEL 6. This article will help you to configure Web hosting server using LAMP Stack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2017
Categories |