Ho fatto un upgrade di PHP dalla versione 5.2.3 alla versione 5.3.6 ed ora nell'eseguire una funzione preg_match apache si pianta dando nel log il seguente errore:
codice:
[Tue Aug 16 08:41:39 2011] [notice] Parent: child process exited with status 128 -- Restarting.
[Tue Aug 16 08:41:40 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Tue Aug 16 08:41:40 2011] [notice] Server built: Oct 18 2010 19:45:39
[Tue Aug 16 08:41:40 2011] [notice] Parent: Created child process 4024
[Tue Aug 16 08:41:42 2011] [notice] Child 4024: Child process is running
[Tue Aug 16 08:41:42 2011] [notice] Child 4024: Acquired the start mutex.
[Tue Aug 16 08:41:42 2011] [notice] Child 4024: Starting 150 worker threads.
[Tue Aug 16 08:41:42 2011] [notice] Child 4024: Starting thread to listen on port 80.
Ho effettuato tutta una serie di ricercche
codice:
[Tue Aug 16 08:41:39 2011] [notice] Parent: child process exited with status 128 -- Restarting.
senza trovare una soluzione che risolva il mio problema
La funzione preg match:
Codice PHP:
preg_match('/\s(href|src|action|codebase|archive)\s*=\s*(("((\\\"|[^"])+)")|(\'((\\\\\'|[^\'])+)\')|([^\s]+))?/ims' ,$value, $mmatch);
se dalla funzione tolgo
Codice PHP:
preg_match('/\s(href|src|action|codebase|archive)\s*=\s*(("((\\\"|)+)")|(\'((\\\\\'|[^\'])+)\')|([^\s]+))?/ims' ,$value, $mmatch);
il problema scompare .....
Che cosa fa di preciso
Si può scrivere in altra maniera ?
Grazie per un consiglio