<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ServerAdmins.NET &#187; php</title>
	<atom:link href="http://serveradmins.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://serveradmins.net</link>
	<description>Stuff for Server Admins...</description>
	<lastBuildDate>Fri, 09 Jul 2010 16:46:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>XCache 1.3.0 install &#8211; with cPanel and CentOS</title>
		<link>http://serveradmins.net/xcache-1-3-0-install-with-cpanel-and-centos/</link>
		<comments>http://serveradmins.net/xcache-1-3-0-install-with-cpanel-and-centos/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 04:57:58 +0000</pubDate>
		<dc:creator>chrism</dc:creator>
				<category><![CDATA[Daemons]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[opcode]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[xcache]]></category>

		<guid isPermaLink="false">http://serveradmins.net/?p=79</guid>
		<description><![CDATA[XCache PHP Opcode Cacher installation on CentOS and cPanel]]></description>
			<content:encoded><![CDATA[<p>Hey there!</p>
<p>I figure it&#8217;s been a little bit, so I&#8217;ve gone ahead and decided to update the XCache installer for version 1.3.0, and my favorite control panel, cPanel. <img src='http://serveradmins.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is incredibly easy to do and should get a basic/barebones XCache installation up and going fairly quickly on your CentOS  + cPanel machine.</p>
<p>First, let&#8217;s grab our XCache sources&#8230;<br />
<code><br />
cd /usr/src/<br />
wget http://xcache.lighttpd.net/pub/Releases/1.3.0/xcache-1.3.0.tar.gz<br />
</code></p>
<p>Now, go ahead and unarchive the source, and change into the XCache build dir&#8230;<br />
<code>tar -xzvf xcache-1.3.0.tar.gz<br />
cd xcache-1.3.0<br />
</code></p>
<p>Let&#8217;s prep our sources for the current PHP ecosystem&#8230;<br />
<code><br />
root@SERVER [/usr/src/xcache-1.3.0]# phpize<br />
Configuring for:<br />
PHP Api Version:         20041225<br />
Zend Module Api No:      20060613<br />
Zend Extension Api No:   220060519<br />
</code></p>
<p>Now that should have gotten everything sorted with our sources so the XCache install is ready for our PHP version and environment, Let&#8217;s go ahead and kick off the build!  Keep in mind, this build should be fairly fast and lightweight.</p>
<p><code><br />
./configure &#038;&#038; make &#038;&#038; make install<br />
</code><br />
The above line basically says &#8220;Run configure, if that is successful w/o errors, run a make, and if that finishes w/o error, run the install&#8221;.  Once this is complete, you should see a line that says something like the following&#8230;<br />
<code><br />
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20060613/<br />
</code><br />
This is going to be where our xcache.so file is located, however when cPanel builds your php.ini file, it&#8217;s going to have that set already.  So getting the base module loaded is as simple as running the following command.<br />
<code><br />
echo "extension=xcache.so" >> /usr/local/lib/php.ini<br />
</code><br />
After that, you should be able to do a quick check of the PHP CLI and verify that it loaded properly with the &#8216;php -v&#8217; command&#8230;<br />
<code><br />
root@SERVER [/usr/src/xcache-1.3.0]# php -v<br />
PHP 5.2.13 (cli) (built: Jun 16 2010 09:27:33)<br />
Copyright (c) 1997-2010 The PHP Group<br />
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies<br />
    with XCache v1.3.0, Copyright (c) 2005-2009, by mOo<br />
</code></p>
<p>And there you go, you can safely restart Apache now and you should be serving cached content.  Please keep in mind, you&#8217;ll need to configure your XCache setup to ensure everything is working properly, all we&#8217;ve done here is install the base module.</p>
<p>I&#8217;d suggest taking a look at our other article regarding the tuning of XCache for a bit more information on this. <img src='http://serveradmins.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://serveradmins.net/tuning-xcache-for-fun-and-profit/"></p>
<p>That does it for now!</p>
<p></a></p>
]]></content:encoded>
			<wfw:commentRss>http://serveradmins.net/xcache-1-3-0-install-with-cpanel-and-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is not how you do it&#8230;  T-Mobile Hacked</title>
		<link>http://serveradmins.net/this-is-not-how-you-do-it-t-mobile-hacked/</link>
		<comments>http://serveradmins.net/this-is-not-how-you-do-it-t-mobile-hacked/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:18:05 +0000</pubDate>
		<dc:creator>chrism</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[T-Mobile Hacked Security Intrusion Credit Card Identity Theft]]></category>

		<guid isPermaLink="false">http://www.serveradmins.net/blog/?p=18</guid>
		<description><![CDATA[T-Mobile Hacked due to lame security.  ]]></description>
			<content:encoded><![CDATA[<p><a href="http://seclists.org/fulldisclosure/2009/Jun/0062.html">T-Mobile Hackers trying to sell Network and Customer data&#8230;</a></p>
<p>Wow.  That&#8217;s all I can say.  T-Mobile is hacked BIGTIME and from the looks of things, I&#8217;d say they knew about it.   Typically in these sorts of situations, the hackers will contact the company they just owned and try to buy their silence.  Now, if the company refuses, then that data gets shopped around.</p>
<p>Now, if there&#8217;s no buyer after that, the hacker isn&#8217;t just going to walk away, especially on a large scale hack like this.  They&#8217;re either going to A: Auction your data off to the highest bidder, or B: Publicly release it for the fame/glory/etc.</p>
<p>I think the biggest thing that concerns me about this, being a T-Mob customer and all, is that even after being contacted by the hackers (assumed at this point), I&#8217;ve seen ZERO notice from T-Mobile about this.   Given the scale of their operations, and the control they have over your private data, this is quite concerning.</p>
<p>Let&#8217;s think about this for just one second, here&#8217;s a bit of info T-Mobile has on you&#8230;</p>
<ul>
<li>Full Name</li>
<li>Home Address</li>
<li>Phone Number</li>
<li>Answers to private security questions (commonly reused by people from site to site)</li>
<li>Social Security Number</li>
<li>Birthdate</li>
<li>Credit Card Number</li>
<li>Credit Card Expiration Date</li>
<li>Credit Card CCV Value (possibly, vendors aren&#8217;t supposed to store, but you never know)</li>
<li>Billing address if it differs from your Main acct address.</li>
</ul>
<p>Now, that&#8217;s just the billing info alone, and if they hackers do have root access on the machines in that URL above, which contains quite a few billing machines, we can assume they have this data in some form.  Let&#8217;s look at the other data they have on you&#8230;  Here&#8217;s where things start to get even freakier than simple credit card fraud and identity theft potential of the situation.</p>
<ul>
<li>Your Phone Number</li>
<li>Your Phones IMEI (numerous repercussions from this)</li>
<li>Your Call History (Inbound and Outbound)</li>
<li>Radio Tag Number</li>
<li>GPS Tag (Yes, your phone has a GPS/Cell location unit.   Yes it can be used to track you without your knowledge)</li>
<li>Text Message History (inbound and outbound)</li>
<li>Email History</li>
<li>Access to your cam-phone pictures (most phones upload and store these online now)</li>
</ul>
<p>Now, the above list is all stuff that your cell provider logs and tracks.  We know this, it&#8217;s public knowledge, etc.  Let&#8217;s go ahead and put on the SUPAR BIG tinfoil hat now&#8230;   With the advent of government pushes into call logging/tracing/information tracking, we know for a fact that several of the big telcos already record phone calls, fully log all data communications, and have active taps on all of this information.</p>
<p>As more or less of a mental exercise, what do you think the repercussions from this hack look like now?   How far did the intrusion go, and what is the extent of the data turnover?</p>
<p>Spooky, isn&#8217;t it.  The even spookier part is that I doubt we&#8217;ll ever get a public acknowledgment from T-Mobile regarding this intrusion, any turnover of customer data, nothing.</p>
<p>If you don&#8217;t want to end up like T-Mobile, it might be time to look into a proper security audit of your network.<br />
<a href="serveradmins.NET">serveradmins.NET</a></p>
]]></content:encoded>
			<wfw:commentRss>http://serveradmins.net/this-is-not-how-you-do-it-t-mobile-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->