trouble with swap files
I've spent 3 days researching and reading, and I still can't solve this.
I have a vds w/ RH9. I installed OS commerce, and I need to turn register_globals on in php.ini. So, using putty I ssh, and, I open php.ini in vi and accidentally close vi before saving changes. Now, when I locate php.ini, it's indicating that there's also a .php.ini.swp. So, I vi php.ini, and I get Code:
"php.ini" a new file I'm trying and reading trying to figure out how to straighten this mess up. It would seem I need to rm this .swp, but that doesn't work... and, i need my original php.ini file to exist, but it seems to be erased. I would be extremely grateful for any help. Thanks, kbf. |
When you are notified that there is a swap file for php.ini, press space until you reach the bottom of the page and press "E" for (E)dit Anyways. If you simply need the default PHP.ini, do a `find / -name php.ini -type f` in the console, I believe the default is stored in multiple places.
HTH |
All times are GMT -5. The time now is 02:02 PM. |