Jump to content

corbin

Staff Alumni
  • Posts

    8,102
  • Joined

  • Last visited

Posts posted by corbin

  1. Is it the VC6 thread safe version?

     

    Aside from that, assuming those are valid locations, I don't see why Apache wouldn't start.  What errors do you get?

     

    Also, if you're using the old mssql_* extension, I'm not sure how easy it's going to be to get that working with a recent version of PHP.  Well, it shouldn't be too bad actually, if you're using MSSQL 2000.  If  I remember correctly, it requires ntwdblib.dll, and MSSQL 2000 was the last version to actively use (and contain) that.  You can of course download it from random places.

  2. Hmmm, I hope you don't take this the wrong way, but it seems kind of like you need to just forget everything you know about OOP, get a good book, and read a large part of it.

     

    Actually, how long have you been coding?  Because if you've been coding like 3 days, it might be easier to avoid OOP for a while and get a good grasp on procedural programming.  Just an opinion that procedural is easier though, since I would imagine some people find OOP easier.

  3. Most people have JavaScript enabled, so I doubt it would be an issue.  However, typically one should avoid using JS unless it actually adds a significant amount of user friendliness to a page.

     

     

    Instead of checking if JS is disabled or not, what you would want to do is code your website to work with or without JS, but sometimes that's not an option.  I could talk more on this, but I'm feeling quite lazy, so if you don't know what I mean, I'll try to explain more.

     

  4. Uhhh....  that's cracked out.

     

     

    I would check your hosts file (C:\Windows\system32\drivers\etc\hosts) to make sure there's not an entry in there for it.

     

     

    Otherwise, your DNS resolution is messed up somewhere, be it at a computer level, router level, or ISP level, I have no idea.

  5. Is it a crappy server?

     

    10 page loads should not flood a server by any means.  There's either a race condition, or something isn't right.  The easiest way to go about it if you already have it setup would be to use something like xdebug to see where the hang is (or the slow down).

     

    But, you could also just try to figure out what's taking so long.  Also, how many requests is Apache setup to handle at a time?

  6. I was fiddling around with nginx the other night, so this thread caught my attention.

     

    Anyway, I just duplicated your setup, and I was confused for quite a while.  File permissions....  You need to make sure whatever user you're running php-cgi under has read access to c:\wemp.

  7. That appears to be SQL Server style syntax.

     

     

    Try:

     

    UPDATE products SET RegionID = 0 WHERE RegionID IS NULL;

     

    The quote identifier (because I can't remember what it's really called) is ` in MySQL.  It's [] in MSSQL.

     

     

    Also, what error are you getting?

  8. I'm sure this has already occurred to you to check, but...  Case sensitivity?

     

     

    Aside from that...  Hrmmm...  File permissions shouldn't be it.

     

    Is the path name too long?  (I don't know what the path limit is under linux, but it's 256 chars on Windows.)

     

    I can't really think of anything else it could be.

  9. 1.  It's probably as easy as using yum or apt-get to install the necessary software.  (yum install php php-cli mysql mysql-client php-mysql httpd for example)

     

    2.  You've configured virtual hosts before, right?  If not, it's still not hard to figure out.

     

     

    You could definitely have it done by Wednesday.  Although, if you're never configured Apache before, or never run anything under linux, then I would say no lol.

  10. 2000 HTTP requests per second?

     

     

    Yeah...  Errr....  You won't reach that overnight.  Or even in a year (unless your site catches on like youtube did or facebook).  172.8 mil hits per day is quite a beastly load.

     

     

    Basically I would say roopurt offered the best advice.  Scale as needed: don't waste money.  (From what you said though, I gather that you got a dedi server.)

     

     

    As for performance monitoring tools, there are quite a few free ones if you're under linux.  http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html goes over a few of the basic ones.  As for more indepth ones, I've no idea.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.