About aziz

Hello World.. my name is abdul aziz.. http://www.aziz.or.id

Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP


Latest VestaCP comes with PHP5.6 by default. In this article, we will see how to upgrade PHP to it’s latest version, i.e PHP7.0

First, we need to add the correct REMI repository and enable remi update, remi release and remi-php70 repository. Here’s how

1
2
3
4
5
6
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
yum --enablerepo=remi update remi-release
yum --enablerepo=remi-php70

Now stop apache2 and remove the existing php package that comes with VestaCP

1
2
service httpd stop
yum -y remove php

Now install PHP 7.0

1
2
yum install php70-php
yum install php70-php-pear php70-php-bcmath php70-php-pecl-jsond-devel php70-php-mysqlnd php70-php-gd php70-php-common php70-php-fpm php70-php-intl php70-php-cli php70-php php70-php-xml php70-php-opcache php70-php-pecl-apcu php70-php-pecl-jsond php70-php-pdo php70-php-gmp php70-php-process php70-php-pecl-imagick php70-php-devel php70-php-mbstring

After this step, all you need to do is stop the old php-fpm service and start the new one

1
2
service php-fpm stop
service php70-php-fpm start

At some point, you may also want to create a global alias ‘php’ to run php70 cli, like this

1
ln -s /usr/bin/php70 /usr/bin/php

And you’re done

Advertisements

Upgrading PHP to 5.5 in a CentOS 6 server with Vesta CP


Vesta CP comes with PHP 5.4 by default. If you want to upgrade it to 5.5, follow these steps

1. Stop Apache and Remove current PHP

1
2
service httpd stop
yum -y remove php

2. Add remi repository

1
2
3
4
5
6
7
8
9
#For 32 Bit OS
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
#For 64Bit OS
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

3. Enable Remi Repository
open /etc/yum.repos.d/remi.repo and add 1 beside enabled for both [remi] and [remi-php55], as shown in the screenshot
Screen Shot 2014-06-03 at 8.44.47 PM

4. Install PHP 5.5

1
yum -y install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-pecl-apc phpMyAdmin roundcubemail php-opcache php-xdebug

Step 5: Cleanup, linking and finishing

1
2
3
4
5
6
7
mv -f /etc/php.ini.rpmsave /etc/php.ini
mv -f /etc/roundcubemail/db.inc.php.rpmsave /etc/roundcubemail/db.inc.php
mv -f /etc/roundcubemail/main.inc.php.rpmsave /etc/roundcubemail/main.inc.php
mv -f /etc/phpMyAdmin/config.inc.php.rpmsave /etc/phpMyAdmin/config.inc.php
mv -f /etc/httpd/conf.d/roundcubemail.conf.rpmsave /etc/httpd/conf.d/roundcubemail.conf
mv -f /etc/httpd/conf.d/phpMyAdmin.conf.rpmsave /etc/httpd/conf.d/phpMyAdmin.conf
service httpd start

And you’re done 🙂 Enjoy!

Level of GPU Smartphone (Graphic Processing Unit)


Kali ini saya akan membahas mengenai GPU..

Bagi para Gamers sebelum memutuskan smartphone yang akan dibeli ada baiknya mempertimbangkan spesifikasi smartphone-nya terlebih dahulu. GPU (Graphic Processing Unit) merupakan hal penting yang harus diperhatikan setelah CPU pastinya, GPU menentukan kasar halusnya objek/gambar, tekstur warna, serta tingkat kontras objek. Urutan Tingkat GPU yang biasa dipake di Smartphone bisa disimak di bawah ini.

Kelas Low End

– Adreno 130
– Adreno 200
– PowerVR SGX530

Kelas Mid End

– PowerVR SGX531
– Mali 400 biasa (yg biasa dipakai di tablet2 cina)
– Video core IV
– Adreno 200 enchanced/ adreno 200 ++
– Adreno 203
– Adreno 205
– Nvidia tegra 2
– PowerVR SGX535
– PowerVR SGX540
– PowerVR SGX544 (Lenovo A3000, S920, IMO S89)
– Adreno 220
– Mali 400MP2
– PowerVR SGX543
– Adreno 305

Kelas High End

– Nvidia tegra 3
– PowerVR SGX543MP4
– PowerVR SGX544MP3 (Tri-Core) (galaxy s4 dan iphone 5)
– Mali 400MP4
– Adreno 225
– Adreno 320 (Xperia Z)
– Adreno 330 (Xperia Z2, Xperia Z Ultra)  ===> Kelas Dewa

*Untuk PowerVR penomoran MP di belakang seri menunjukan Jumlah Core CPU.

Bagi agan-agan yg pengen tau tipe GPU yg agan pake, bisa instal aplikasi CPU Z, Quadrant Standard atau aplikasi Sejenis. Gratis kok di Playstore.

Sekian pembahasan mengenai tingkatan GPU ini ya gan. Maklum newbie

Ms Outlook – Cannot open your default email folders


Hello

Have you configured an e-mail account yet? If not then you could try going
through Control Panel \ User Accounts and Family Safety \ Mail \ E-mail
Accounts and create a new account there.

If you have configured an e-mail account and the problem is still there you
might want to go to the Control Panel \ User Accounts and Family Safety \
Mail \ Show Profiles \ and remove the current profile and create a new one
with a new name.

My Baby


15 April 2011 – Minggu ke 15 :

Hasil Pemeriksaan : USG Obstetri :
Tampak dua kepala janin, dua vertebra , denyut jantung kedua janin baik.
Placenta dan amnion baik.
BPD : 3.02 cm dgn FL 3.7 cm.

Alhamdullilah.. sepertinya berjuta kata2 bersyukur tidak cukup..

Info lengkapnya

sayap – sayap


sayap ku dan sayap mu
dia tetap berkepak walopun aku tidak jadi bagian dari nya
berlalu dan aku  hanya melihat suaranya saja..
dia pasti menemukan sayap baru
Terus lah berkepak terbang tinggi dan melihat indah nya dunia ini..