I've installed DocBlox 0.16 through the PEAR installer. I'm trying out the software in a middle-sized PHP project of my own, but it seems it needs more memory than the 128MB of my default PHP setup. What's the recommended and less messy way to increase the memory_limit directive only for DocBlox?
I've replaced bare "docblox" call with this:
php -d memory_limit=256MB "%PHP_PEAR_BIN_DIR%\docblox.php" ...
... will all the possible syntax variations I could think of but I just get this:
Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 261904 bytes) in Unknown on line 0
Could not startup.
The -d parameter is being used because I no longer have a 128MB limit when I add it, but my value for it is definitively ignored.
(BTW, the Google Groups link to DocBlox bug tracker is broken.)