The first thing we need to do is check a couple of PHP settings. The easiest way to do this is with a phpinfo file. If you don't know how to create a phpinfo file, you can
Now that you have a php info file, upload it to your website's public_html directory and view it in your browser by typing http://www.yoursite.com/phpinfo.php in your address bar. You want to find/verify the following in your phpinfo.php file:Your PHP version
Thread Safety is disabled
enable_dl is set to on
The path to your extension_dir
Path to your php.ini file
Now connect to your webserver using your favorite SSH client and login as root.
Create a new working directory then change directories:
mkdir ~/phpshield cd ~/phpshield
Download the phpSHIELD loaders:
wget http://phpshield.com/loaders/phpshield.loaders.linux.zip
or if you have a 64 bit OS (most people will have a 32 bit OS so you will most likely use the code above)
wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip
Extract the loaders:
unzip phpshield.loaders.linux.zip
If you do a directory list: ls
you will see a bunch of files named phpshield.4.3.lin to phpshield.5.2.lin
. What we want to do here is find the phpshield file with the number that matches your PHP version. You can find your PHP version at the very top of your phpinfo file from earlier.
Now we need to copy the appropriate phpshield loader file to your PHP extensions directory.
cp ~/phpshield/phpshield.x.x.lin /path/to/your/php/extensions/directory
Replace x.x above with your PHP version and use the path to your PHP extensions directory (you should have found this in step 2 above.)
Open your php.ini file
nano /path/to/php/ini/php.ini
You should have found the path to your php.ini file in your phpinfo.php file from earlier.
Append the following to the Dynamic Extensions section of your php.ini file:
extension=phpshield/phpshield.x.x.lin
Replace x.x with the number on the phpshield file you moved earlier.
Finally, restart httpd: /etc/rc.d/init.d/httpd restart
Woah! I'm really digging the template/theme of this
ReplyDeletesite. It's simple, yet effective. A lot of times it's very difficult to get
that "perfect balance" between usability and appearance.
I must say that you've done a very good job with this. In addition, the blog
loads very fast for me on Opera. Outstanding Blog!
I need to to thank you for this great read!! I absolutely loved every little bit
ReplyDeleteof it. I've got you bookmarked to check out new things
you post…
What's up to every one, as I am in fact keen of reading this website's post to be updated daily.
ReplyDeleteIt contains nice data.
I am really impressed with your writing skills as
ReplyDeletewell as with the layout on your blog. Is this a paid theme or did you
modify it yourself? Either way keep up the nice quality writing, it's rare to see a great blog like
this one today.
I was suggested this website through my cousin. I am not positive whether this publish is written by him
ReplyDeleteas nobody else recognize such distinctive approximately my difficulty.
You're wonderful! Thank you!
I constantly spent my half an hour to read this
ReplyDeletewebpage's content every day along with a cup of coffee.
Woah! I'm realkly loving the template/theme of this website.
ReplyDeleteIt's simple, yet effective. A lot of times it's difficult to get that "perfect balance" between superb usability
and appearance. I must say you have done a amazing job with this.
Also,the blog loads super fast for me on Chrome. Outstanding Blog!
Can I just say what a relief to discover somebody who genuinely knows
ReplyDeletewhat they're talking about online. You certainly realize how
to bring an issue to light and make it important.
A lot more people need to check this out and understand this side of the story.
It's surprising you aren't more popular since you most certainly have the gift.
Heya i am for the first time here. I found this board and I find It truly useful & itt helped me
ReplyDeleteout a lot. I hope to give something back and aid others likke you aided me.
I гead this iece of writimg fully about thhe difference of latest and preceding teсhnologies, it's
ReplyDeleteaweѕome artiϲle.
Very nice article, exactly what I wanted to find.
ReplyDeleteThis website was... how do I say it? Relevant!! Finally I
ReplyDeletehave found something which helped me. Many thanks!