luftwaffe
May 12th, 2003, 11:36 AM
Hello,
I have the following theorethical question and wait for some response from more experienced people in the field.
I have decided to make a website on my own. I consider to use either a linux distribution or windows to run apache. What I would like to do is some stuff what involves some access to a MySQL database. I wrote extensions to IIS and I seek something similar, namely to build a connection to the SQL server only once and then have instances of the page called as many times as request comes to avoid overhead of building a database connection each time. Heard about server extension (C++) but I did not manage to find a good tutorial on this. I am also interested if it can be done either by PHP, I red about mod_php (perl and mod_perl are also good). So, is it possible to do that way: start apache, load the stuff made, establish connection to the database and then as soon as request comes just process without establishing and closing connections?
Thanks. :)
I have the following theorethical question and wait for some response from more experienced people in the field.
I have decided to make a website on my own. I consider to use either a linux distribution or windows to run apache. What I would like to do is some stuff what involves some access to a MySQL database. I wrote extensions to IIS and I seek something similar, namely to build a connection to the SQL server only once and then have instances of the page called as many times as request comes to avoid overhead of building a database connection each time. Heard about server extension (C++) but I did not manage to find a good tutorial on this. I am also interested if it can be done either by PHP, I red about mod_php (perl and mod_perl are also good). So, is it possible to do that way: start apache, load the stuff made, establish connection to the database and then as soon as request comes just process without establishing and closing connections?
Thanks. :)