Hi everybody,
I just set up a LAMP server with cPanel/WHM. I then tried to install WordPress, but I received this error: Input file not specified. I did a search on Google, but nothing relevant turned up. I then posted on the WordPress forum, and somebody told me it is a LAMP problem, and that I should post on a LAMP forum.

Any idea what is going on here? I am trying to get this server set up for production this month, so your reply is greatly appreciated.

Here is a link to the WordPress forum post (there is some info on there which might help you):

http://wordpress.org/support/topic/error-while-trying-to-install

--techningeer

Dani AI

Generated

Brief, practical summary tied to the thread (for later readers): the browser message "Input file not specified." is produced by the PHP CGI/FastCGI process when it isn’t handed a valid script path (SCRIPT_FILENAME) or the PHP process cannot open the file. Typical causes are a misconfigured PHP handler/fastcgi param, wrong document root or rewrite rules, missing index.php, or file-permission/chroot problems. (nginxlibrary.com)

Checklist to diagnose this quickly:

  • Confirm a minimal PHP page works (create phpinfo() in a file and load it from the same document root).
    <?php phpinfo(); ?>
  • Inspect Apache and PHP error logs for the failing request (per-cPanel/PHP error locations: per-account error_log and the global Apache logs). Collect the exact error lines before asking for help. (support.cpanel.net)
  • Verify the PHP handler (suPHP, CGI, FPM, LSAPI, DSO) in WHM/MultiPHP Manager — handler choice affects ownership/permission rules and how per-site php.ini/.user.ini works. If you recently changed handlers, revert or test another handler. (docs.cpanel.net)
  • Check ownership/permissions: files normally 644 and directories 755 for suEXEC/suPHP setups; wrong owner or overly permissive files can prevent execution. Run a quick ls -la on the site root and compare. (support.cpanel.net)
  • Verify required PHP extensions for WordPress (json, mysqli/mysqlnd, curl, dom, mbstring, fileinfo, xml, zip, plus gd/imagick as image fallbacks). Missing extensions can cause fatal errors during bootstrap; Site Health/phpinfo() shows what’s loaded. (make.wordpress.org)

About Suhosin: it’s a hardening extension and can block requests (POST/vars/includes) if defaults are strict. Removing it fixes symptoms but reduces protection; prefer increasing suhosin limits or adjusting per-site .user.ini/php.ini entries (for example raise suhosin.post.max_vars / suhosin.request.max_vars) or disable it only for the affected vhost after testing. See the Suhosin config notes and common WooCommerce/WordPress reports for guidance. (suhosin5.suhosin.org)

If those checks don’t reveal the cause, collect: the exact request URL, the vhost config (DocumentRoot), the PHP handler, the phpinfo output snippet, and the Apache/PHP error lines — that information lets someone spot whether the issue is a path/fastcgi param, permission, or an extension problem.

Recommended Answers

All 5 Replies

IS your issue solved now ?

if not how you tried to install wordpress ? I mean after downloading the wordpress file to server right ?

I got the problem solved. I was missing some PHP modules and I also needed to remove Suhosin.

My site is built around a busy plugin (Feed WordPress), so turning it off isn't really an option. DreamHost won't tell me how much memory I'm using or how much I'm allotted so I don't really have enough information to understand the problem. I think this TPC memory plugin will help, Thanks! I've heard of people having memory issues with VPSs as well, so before I move to another hosting company or a VPS, I want to have a good idea of how much memory I'm using.
Here are the links the DreamHost people sent me about memory issues.

http://www.techyv.com/questions/error-when-running-wordpress-new-server

Try to work to upgrade WordPress again

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.