A
A
Alexander Builov2016-12-01 09:17:49
Google Chrome
Alexander Builov, 2016-12-01 09:17:49

How to remotely edit a file on the server?

Good afternoon.
Sometimes you need to quickly fix a file on the server, I perform the following manipulations:
1. Remotely open the file via phpStorm
2. Edit it
3. Upload changes to the server
4. Refresh the page in the browser, and everything is as it was and remains
Hosting on a virtual machine from reg .ru with a site on Bitrix.
Why is there such a sticking? Disable browser cache, Bitrix cache too. Sometimes you wait 5 minutes and, as it were, the file has been updated. But if you need to update the file 100500 times, it will go into a nervous breakdown. I cannot understand why. Can anyone help with advice?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2016-12-01
@esKei

Perhaps opcache is enabled there. Check in phpinfo and try to execute opcache_reset();after uploading a new file. For example, in the php-console in the Bitrix admin panel.

D
Dmitry Korolev, 2016-12-01
@workDNK

Sometimes it is necessary not only to disable the Bitrix cache, but also to reset the entire site cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question