Installing PHP 7.3 on Centos 7
Make sure the EPEL repository is installed: sudo yum install epel-release yum-utils sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm Enable PHP 7.3: sudo yum-config-manager –enable remi-php73 Install the PHP modules that you need: yum install php php-common php-cli php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-pdo php-pear php-process php-soap php-xml That’s it! Source: https://linuxize.com/post/install-php-7-on-centos-7/
Install Composer into Project on Centos [Quick Reference]
Navigate to project directory curl -sS https://getcomposer.org/installer | php Create a file in same directory named composer.json Then add the required packages to the json file: (example) { “require”: { “psr/log”: “1.0.0”, “phpunit/php-timer”: “1.0.7”, “symfony/event-dispatcher”: “3.0.0” } } Once the json file has been edited and saved, execute the following: php composer.phar install This will download […]
Installing php-mbstring on RHEL 6
To install the php-mbstring on Red Hat Enterprise Linux 6 you have to add a new software channel to the system through the Red Hat Customer portal. 1. Log into RHN via rhn.redhat.com 2. Navigate to Subscription->RHN Classic->Registered Systems 3. Select the desired system from your list 4. Navigate to Software->Software Channels 5. Check the […]
Disable Errors from displaying for PHP
You can disable errors from displaying on you website by modifying the php.ini file or you can add the following to you web page: error_reporting(0); @ini_set(‘display_errors’, 0); Source: http://stackoverflow.com/questions/1308379/how-can-i-stop-php-notices-from-appearing-in-wordpress
Force WordPress not to display PHP errors
If you want to disable php errors from being displayed on your wordpress site you can add the following to your wp-config.php file: define(‘WP_DEBUG’, false); I have, however, experienced instances where plugins will still cause notices to show on the webpages of my site. To make sure no PHP notices show on the site I […]
This website uses cookies to improve your browsing experience. Cookies help us remember your preferences, keep you logged in, and understand how you interact with our site. We do not share any personal information collected by cookies with third parties.