Home>
I want to open a php file with a php extension in safari.
Launch safari and
File → Open file
I can select files with
Only extension html or txt can be selected,
If it is php, it cannot be selected. (It is dimmed and the file cannot be selected)
How can I display a php file on a browser?
-
Answer # 1
Related articles
- php - i want the link to open in chrome
- php - i want to save the file path in mysql
- php - i want to open the same page on one side and another tab on the other side in the html form
- php - i want to save the file in the specified directory
- java - i want to open a word file from an android app in another app, edit it, and save it
- python - i want to open a file with an absolute path
- i want to open the url from onclick in php
- php - i want to get the file size of a blob file stored in the database
- php - i want to be able to use the validate function
- i want to implement a php mail form
- python - i want to read a csv file and output it
- i want to read a csv file with python numpy
- php - i want to pass music data from db to tag
- php - url parameters? i want to get the slug name from
- php - i want to pass the image file to the server
- i want to be able to describe it in [php] functionphp
- i want to get the name of the laravel php zip file
- c # - i want to read an xml file and display it on the datagrid
- wordpress - unable to include php file on post page
- i want to pass the php path
Related questions
- php : Redirecting from the feedback form
- php : Outputting data from a form to a page
- javascript : Displaying data from a google table on the site
- Problems with SQL in php [duplicate]
- javascript : Output based on selected values HTML CSS JS [closed]
- javascript : How to implement an additional block for table rows?
- Templating an HTML file into PHP format
- php : Pictures are duplicated when the page is refreshed
- Link php and html
- Cannot specify the link destination with an absolute path in PHP
When you want to display/Users/username/Documents/webroot/test.php
,
Move directory,
Start the server with/Users/username/Documents as the web root
After that, open a browser and enter
http: // localhost: 8000/test.php
in the address bar.