This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

How do I open .php files as a pdf. Can do it in Safari, not in FF

  • 4 fhreagra
  • 1 leis an bhfadhb seo
  • 28 views
  • Freagra is déanaí ó cor-el

more options

I have tried opening a file from a web page that downloads as a .php. When I open it, it comes up as jibberish (to me), not as a pdf. If I use Safari, it comes up as a pdf in the proper format. Thanks in advance.

I have tried opening a file from a web page that downloads as a .php. When I open it, it comes up as jibberish (to me), not as a pdf. If I use Safari, it comes up as a pdf in the proper format. Thanks in advance.

Réiteach roghnaithe

You can rename the file in Finder and add a .pdf file extension if it currently has a .php file extension.

Best is always to check the file name when you download and save a file to make sure that the file has the correct file extension to prevent such issues.

Read this answer in context 👍 0

All Replies (4)

more options

Réiteach Roghnaithe

You can rename the file in Finder and add a .pdf file extension if it currently has a .php file extension.

Best is always to check the file name when you download and save a file to make sure that the file has the correct file extension to prevent such issues.

Athraithe ag cor-el ar

more options

ccarterdvm said

I have tried opening a file from a web page that downloads as a .php. When I open it, it comes up as jibberish (to me), not as a pdf. If I use Safari, it comes up as a pdf in the proper format. Thanks in advance.
more options

It automatically saves the file to the downloads folder

more options

If this happens a lot then you can consider to disable automatic saving in the download settings in Options/Preferences > General (Always ask me where to save files).