ORA-32000: write to SPFILE requested but SPFILE is not modifiable
Use the command:

create pfile ='loc' from spfile;


To create a pfile named loc. The edit this file and change the parameter in this pfile. Now create a new spfile from it:

create spfile from pfile ='loc';