1

I've been trying to associate .php files with Sublime Text 3 for the past few days, in Windows 10. I right click on the file, go to Properties, and under the General tab, I try to change the program which it opens with, which currently, is nothing. It doesn't change, and still shows, "Pick an app", next to, "Opens with:".

I tried to then associate it with Notepad too, in a similar manner, without any success. Suggestions from questions like this indicate some changes in the registry, which I have tried. I've rebooted my laptop after nearly every regedit, just in case. I've also checked if I could change or set file associations for other files, and I failed again, with .css. However, .mp4 and .bmp associations seem to be changeable, no issues (between VLC and Films & TV, and Photos and Photoshop, resp.).

Windows build is 1803. I only recently hard reset my laptop, so I'd like a solution which is a bit less drastic.

TIA

3

1 Answer 1

0

Have you tried the following?

  • In Windows Explorer, right-click on a .php file and select Open with (not Properties).
  • You should see a dialog, Windows can't open this type of file (.php).
  • Click Try an app on this PC.
  • Select the preferred application from the list, or browse to its location.
  • Click always use this app to open .php files to make the association permanent (at least until the next Windows update destroys file associations).
  • Click OK.

Set file association

2
  • Thanks for the reply. I have, and I have to keep doing it, every time I need to open the file. It just doesn't associate, after that.
    – Athena
    Oct 28, 2018 at 1:24
  • If your not logging in as Administrator, try doing so to make the changes, then log back to a user account to see if they stick. Oct 28, 2018 at 3:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .