On Tuesday 29 May 2007, Clinton Gormley wrote: > > Ok, then I finally understand what is happening. But is there any other > > option to use every script under mod_perl even calling it from php? > > The only way I can think of would be to make a web request in PHP, so > the PHP program does an HTTP request to your web server, to call the > perl script, then does something with the data that is returned. > > Not optimal, but it may suit your needs
I actually do the reverse for one situation (call php from mod_perl by making a request and processing the result). As long as you have the capacity to handle the double request, it works fine, and is almost certainly more efficient than spawning a new perl process every time. -- Suppose they held a war and nobody came?