Thanks for your suggestions John. At the moment, I do need to run it as a CGI as I need different php.ini files for each virtual host. I think there may well be some issues with DNS, as suggested by Jochem. My configuration of DNS stuff locally is a bit patchy :) I'll investigate this avenue first... > > If you don't have to, don't run it as a cgi. > > A /possible/ solution, and I don't even know if it's possible, is to > compile two versions of the cgi; one with and one without. While I know > that part is at least possible, I don't know if you can make your > webserver *choose* which version of the cgi to run depending on the need. > > Can the cgi in PHP5 dynamically load modules? dl() is available in > PHP4, but I think they got rid of it in PHP5 > > -- > John C. Nichel IV > Programmer/System Admin (ÜberGeek) > Dot Com Holdings of Buffalo > 716.856.9675 > jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php