[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] AtariForge
On Tue, 2005-07-26 at 15:32 -0700, Frederic Fouche wrote:
> Not to sound too picky or a pain in the butt, whoever is designing
> http://dev.sparemint.org/ should make sure that php is used as
> sparingly as possible. Same goes to mysql connection. The more you use
> static, the better. (unless your page needs dynamic content). But for
> a simple welcome page, you might want to redesign it to access better
> load, So errors like Warning: mysql_pconnect(): Can't connect to local
> MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
> in /var/www/dev.sparemint.org/connect.php on line 8
> Access to the sparemint database was denied... Sorry.. Please inform
> the webmaster
> would not occur.
Oops, power outage and for some reason MySQL doesn't come back up right
on reboot. Stupid debian. Anyway, when the sparemint site is done I
intend to host it on more reliable hosting (atariforge servers) that is
if Rob gives the final blessing. Where it's at now is fine for dev
work. aoi is a reliable server too, I just keep screwing with stuff for
development too. I use .php for all pages for consistency and
flexibility. It adds virtually no additional load to put html inside
a .php file with no php code, yet at the same time reduces the need to
change stuff crazily later. I understand your concerns and they're
valid but this is definitely my style and I'll be sticking to it... I'm
already too deep in a dynamic setup too.. the entire site is dynamic and
database driven and it's a good thing IMHO because all of the dependency
resolution and such will be done on the server due to my poor C coding
skills ;)
Thanks,
Mark