Article ID: 123910, created on Dec 14, 2014, last review on Feb 23, 2016

  • Applies to:
  • Plesk Automation 11.5
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 10.4 for Linux/Unix


WordPress application installation on specific domain fails with the error below:

The 'mysql' extension was not found.

Domain is configured to have 'FastCGI' as PHP handler. Issue disappears if 'Apache module' or 'CGI' handlers are selected.

Trying to open any .php page on this domain results in that .php file is being downloaded.


'FastCGI' module ('fcgid') is not working properly in Apache. This causes 'PHP' run under 'FastCGI' to malfunction and fail to detect the mysql extension.


  1. Make sure that the 'fcgid' module is enabled.

    For Debian/Ubuntu Execute the following command:

    # apachectl -M | grep fcgid

    If the module is not listed, enable it:

    # a2enmod fcgid

    For Redhat/Centos check the file '/etc/httpd/conf.d/fcgid.conf', you can see the example of it's content below:

    # This is the Apache server configuration file for providing FastCGI support
    # via mod_fcgid
    # Documentation is available at
    LoadModule fcgid_module modules/
    <IfModule mod_fcgid.c>
    <IfModule !mod_fastcgi.c>
        AddHandler fcgid-script fcg fcgi fpl
      FcgidIPCDir /var/run/mod_fcgid/sock
      FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
      FcgidIdleTimeout 40
      FcgidProcessLifeTime 30
      FcgidMaxProcesses 20
      FcgidMaxProcessesPerClass 8
      FcgidMinProcessesPerClass 0
      FcgidConnectTimeout 30
      FcgidIOTimeout 45
      FcgidInitialEnv RAILS_ENV production
      FcgidIdleScanInterval 10
  2. Verify that .php files can be opened and try to install WordPress again.

Search Words


Cant install application


zlib and mysql extensions


The 'mysql' extension was not found.




33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079 aea4cd7bfd353ad7a1341a257ad4724a 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040

Email subscription for changes to this article
Save as PDF