note 104215 added to simplexml.examples

From: Date: Wed, 01 Jun 2011 13:56:20 +0000
Subject: note 104215 added to simplexml.examples
Groups: php.notes 
Request: Send a blank email to php-notes+get-180165@lists.php.net to get a copy of this message
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); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 76.97.88.16 ---- Manual Page -- http://www.php.net/manual/en/simplexml.examples.php Edit -- https://master.php.net/note/edit/104215 Del: integrated -- https://master.php.net/note/delete/104215/integrated Del: useless -- https://master.php.net/note/delete/104215/useless Del: bad code -- https://master.php.net/note/delete/104215/bad+code Del: spam -- https://master.php.net/note/delete/104215/spam Del: non-english -- https://master.php.net/note/delete/104215/non-english Del: in docs -- https://master.php.net/note/delete/104215/in+docs Del: other reasons-- https://master.php.net/note/delete/104215 Reject -- https://master.php.net/note/reject/104215 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180165) next »