- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hosting PHP File
Hello, I'm trying to host a PHP file that I can ping. However, when I send to the URL, it returns with a failed callback. Is this due to the site not supporting PHP? I'm not using the PHP file to generate any website content. It's simply being hosted on the site.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@boolsis PHP is server-side script so wherever you're hosting the code, the host server has to be able to run it. Weebly doesn't support PHP server-side scripting so your PHP isn't going to run if hosted on a Weebly site.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
However - if you are self-hosting your Weebly site then PHP 5.3 or higher is a requirement from Weebly
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Right you are @NJRFTF. In a self-hosted environment, PHP scripts would work (https://cloud-developer.weebly.com/cl_gs_hosting.html). However @boolsis, since your PHP isn't working, I'm presuming that you are hosting your site on Weebly's servers, yes?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@PaulMathews @NJRFTF Correct. I'm hosting it on Weebly's servers. Since starting this thread, I've been searching for ways to host this file to no avail. I don't suppose either of you know of a simple way to host a single PHP script?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report