Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Best practice and info regarding PHP, FastCGI, Wincache and the command line

$
0
0

 We have several php scripts running on a separate machine that update items for the site's MYSQL database.  The scripts are long running - take several days to fully complete.  We are calling them via the command line.  The scripts are running on a Windows XP X64 machine with PHP 5.2.X that has WINCACHE installed.

 

We are trying to determine if best practices are being used for this situation.  Currently the scripts are manually called via a batch file that would go something like

 x:\php\PHP-CGI.exe script.php  The script runs in the CMD window and displays the echo statements of it's progress.

 

Since Wincache is enabled in the php.ini for this machine, I am assuming that these scripts are using Wincache (the cli is enabled in the Wincache portion of php.ini)  Since multiple scripts are running at the same time, are they all using the same shared memory of Wincache or does each script (running in a separate CMD window) using its own set of memory?

 

Thanks for the info in advance.


Viewing all articles
Browse latest Browse all 27852

Trending Articles