• 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)
  • Hi euroreseller,

    If the file is in fact in your web root you should be able to access it via:
    https://mydomain.com/file.php

    If WordPress is installed in your web root you should, for example, be able to view the license at https://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:
    https://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

    (@euroreseller)

    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.