note 104215 rejected from simplexml.examples by danbrown
| From: | danbrown@php.net | Date: | Wed, 01 Jun 2011 20:01:04 +0000 |
| Subject: | note 104215 rejected from simplexml.examples by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180177@lists.php.net to get a copy of this message | ||
Note Submitter: natere2ster at gmail dot com dot com
----
Hello all,
When I try and load my iTunes music library XML file I get "Fatal error: Allowed memory size of
8388608 bytes exhausted (tried to allocate 35 bytes)"
Is there a way to increase the size of the memory for this funtion (or PHP in general I think there
is a directive for memory size)
Code
<?php
$xml = simplexml_load_file("Music.xml");
var_dump($xml);
?>