Title: How to run php file
Last modified: August 31, 2016

---

# How to run php file

 *  [euroreseller](https://wordpress.org/support/users/euroreseller/)
 * (@euroreseller)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-run-php-file/)
 * Hello
    i have some problem…i cant find the answer, so if anyone want to help 
   i’ll be grateful if get answer. I have wordpress site and i have some program
   that i need to install, i uploaded all filles and i need to run pfp file in browser
   to setup installation… so when i type :mydomain.com/file.php it just want let
   me open file cause its looking for a page that offcourse dont exist. How can 
   i run this file? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Peter Toi](https://wordpress.org/support/users/petertoi/)
 * (@petertoi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-run-php-file/#post-7291129)
 * Hi euroreseller,
 * If the file is in fact in your web root you should be able to access it via:
   
   [http://mydomain.com/file.php](http://mydomain.com/file.php)
 * If WordPress is installed in your web root you should, for example, be able to
   view the license at [http://mydomain.com/license.txt](http://mydomain.com/license.txt).
   Is the PHP file you are trying to run in the same folder as license.txt?
 * There’s a possibility the file is in a subfolder if you uploaded an entire program
   in which case you must access the file in the subfolder:
    [http://mydomain.com/subfolder/file.php](http://mydomain.com/subfolder/file.php)
 * Finally, if you are certain you have the URL, folders and filename correct (might
   be case sensitive) you should check the ownership and permissions of the files
   and folders. The ownership and permissions should be the same as the WordPress
   files that you are able to execute.
 * Peter
 *  Thread Starter [euroreseller](https://wordpress.org/support/users/euroreseller/)
 * (@euroreseller)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-run-php-file/#post-7291132)
 * thanks petertoi….it was about permission of file….solved now!!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to run php file’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [euroreseller](https://wordpress.org/support/users/euroreseller/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-run-php-file/#post-7291132)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
