983 reputation
31732
bio website xeoncross.com
location
age
visits member for 4 years, 11 months
seen 11 hours ago
Another PHP programmer responsible for things like the MicroMVC PHP framework.

You may notice that some of my questions run very deep into the heart of certain issues because I strive for the highest optimization that is possible in my apps.

Jun
5
comment Check result from grep of apt-get and use in bash conditional
If the grep matches, then I know there is a problem locating the package.
Mar
6
comment Why is my crontab not working, and how can I troubleshoot it?
Yes, that is what confused me since you answered in 2013 and the ticket was back in '07.
Mar
5
comment Why is my crontab not working, and how can I troubleshoot it?
That error report was closed back in 2007 with the status of the patch being added to the PHP 5.2+ branches. Are you sure this is needed? I just tried on PHP 5.4 and it seems to work fine. (It is still needed for PHP 4 though).
Jan
29
comment How do you conditionally include files in Nginx vhost?
Sorry, I think I finally solved whatever the problem was a different way.
Jan
7
comment Problems installing PHP libevent PECL Package
Recap: sudo apt-get install libevent-dev then pecl install channel://pecl.php.net/libevent-0.0.5.
Dec
22
comment Dynamic nginx domain root path based on hostname?
This looks like fun, I plan on playing more with map now. I also was not aware that the configuration files were not processed in a linear fashion.
Dec
22
comment Dynamic nginx domain root path based on hostname?
This is just what I was looking for!
Nov
27
comment Many ISP's is block port 25, how do I choose an alternative port?
Yep, in an ideal world that would be great. But, expecting them to pay the increased price just to open 25 isn't a reasonable cost/benefit ratio.
Nov
27
comment Many ISP's is block port 25, how do I choose an alternative port?
Well, I was hoping for something more professional since this might end up on thousands of system. ;)
Nov
27
comment Many ISP's is block port 25, how do I choose an alternative port?
@MichaelHampton, I'm not, however I need these installs to default to an alternative port so that even if they can't talk with other MTA, they can still talk with each other.
Nov
27
comment Many ISP's is block port 25, how do I choose an alternative port?
SMTP port 587 is only for MUA submission to a MTA - it's not for MTA's to talk with each other. There is no central MTA or MX server in this, each system install needs to run by itself.
Nov
9
comment Nginx - Change root directory based on server_name?
+1 This has been my recent approach.
Sep
18
comment Good reasons to keep 32-bit Microsoft Windows desktop OSes
Some hardware needs it. Depends on your setup. First, and some second generation Atom netbooks only work on 32bit OS's.
Jul
28
comment innodb memory usage mysql
For those of you wondering, rm /var/lib/mysql/ib_logfile0 /var/lib/mysql/ib_logfile1.
Jul
3
comment How easy/expensive is it to adopt Google Mini/Google Appliance for intranet search?
50,000 documents? That's it? I have more than that on my own PC!
Jun
16
comment How do you escape characters in heredoc?
Do you know how to disable injection of variable values without escaping each one?
Mar
20
comment What is the best way to help stop DOS attacks
"When you're regularly the target of DDOS attacks, you need to reconsider your public relations" That's the long and short of it.
Mar
10
comment A secure, standard iptables rule-set for a basic HTTP(s) webserver
So I should change -A INPUT -j REJECT to -A INPUT -P DROP?
Jan
19
comment How do you set server specific ENV values in Nginx?
@ShaneMadden perhaps you could help me with this.
Jan
19
comment How do you set server specific ENV values in Nginx?
@ShaneMadden, the nginx config isn't part of the project but must be created on each server manually. So it won't be overwritten. What I posted isn' the full configs - we are also just using standard fastcgi_pass to forward the request to ruby/php.