Add the following line within your <VirtualHost></VirtualHost> directive: php_value memory_limit 128M For increasing the allowed memory to 128 MB for php to consume for the specific virtual host.
Tag: PHP
xsl transform template for php5
// path to the xml document (may be url) $xml = “data.xml”; // path to the xsl document (may be url) $xsl = “transformation.xsl”; $xslDoc = new DOMDocument(); $xslDoc->load($xsl); $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); $proc = new XSLTProcessor(); $proc->importStylesheet($xslDoc); echo $proc->transformToXML($xmlDoc);