cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.6-p3 No input file specified.

SOLVED

Magento 2.4.6-p3 No input file specified.

Hello,

We've successfully completed the installation of Magento 2.4.6-p3. The installation process went smoothly. However, when attempting to access both the webshop and the admin area, we encounter the following error message: "No input file specified."

This error occurs regardless of whether the Public Path is set to the root directory or /pub. Do you have any insights into what might be causing this issue?

user@xxxxx:~/webapps/app-xxxx$ bin/magento --version
Magento CLI 2.4.6-p3
user@xxxxx:~/webapps/app-xxxx$ ls -ali bin/magento
275693 -rwxr-xr-x+ 1 user user 1039 Jan 5 01:22 bin/magento
user@xxxxx:~/webapps/app-xxxx$

Thanks a lot!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2.4.6-p3 No input file specified.

The problem could be solved with the following commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush

View solution in original post

4 REPLIES 4

Re: Magento 2.4.6-p3 No input file specified.

The PHP setting open_basedir was set incorrectly.

 

Original value
/home/magent/webapps/app-xxxxx:/var/lib/php/session

 

Correct value
/home/username/webapps/app-xxxxx:/var/lib/php/session:/tmp

 

The start page of the web store and the admin area now loads.

 

Magento2 wants to send an e-mail for the configuration of the 2-factor authentication after the first login as administrator. However, the server cannot send any emails. No SMTP mailer or MTA has been configured yet.

 

To deactivate the 2-factor authentication we need the following command:
bin/magento mod:dis Magento_AdminAdobeImsTwoFactorAuth Magento_TwoFactorAuth

 

Login is now successfully possible and 2-factor authentication is deactivated. Currently I still have the problem that the page is now loading continuously.

Re: Magento 2.4.6-p3 No input file specified.

The problem could be solved with the following commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush

Re: Magento 2.4.6-p3 No input file specified.

Hello,

 

There is no issue of Pub Directory Because latest version is working fine with pub directory

Do one thing, run all the command of Magento.

 

If you still facing any issue after that so please disable third party extension or custom extension.

For more details contact Rock Technolabs

 

 

 

Thanks & Regards,

Alkesh

Thank You & Regards,
Alkesh

Re: Magento 2.4.6-p3 No input file specified.

Hi Alkesh,

 

As mentioned in the last post, I was able to fix the problem with the mentioned commands. It was a fresh Magento 2 installation, so no third party extensions can be disabled.

 

The problem has already been solved.

 

Best regards