Knowledge Base

Get Expert Website Hosting

Choose website reliability and expertise with SiteGround!

Home / Website Help / Other / How to fix "No input file specified" error

How to fix "No input file specified" error

Last update: Nov 06, 2025

This error is usually produced by incorrect directives in either the php.ini or the .user.ini files for your website.

To resolve the problem check if there are files named php.ini or .user.ini in the document root folder of your website, open them and delete the following line:

open_basedir=/some/invalid/path/here

You can use the Site Tools -> File Manager to access and modify the files.

Web Hosting

Get Your Essential Guide to Fixing Database & PHP Errors

Master database and PHP troubleshooting for a faster, more stable website.

Google reCAPTCHA used. Privacy Policy and Terms of Service apply

Share this article