Title: apache site file setup?
Last modified: August 20, 2016

---

# apache site file setup?

 *  [mfidelman](https://wordpress.org/support/users/mfidelman/)
 * (@mfidelman)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/)
 * I’ve been searching all over the documentation, web site, and web in general,
   and can’t seem to find a model apache/sites-available/<wordpress-site> file illustrating
   the proper configuration for using wordpress with either fastcgi or suphp. Seems
   like something that would be part of the install instructions, but can’t seem
   to find it. Can anybody point me in the right direction? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2755968)
 * > Seems like something that would be part of the install instructions, but can’t
   > seem to find it
 * There’s no reason why it would be part of the WordPress installation documentation.
   It’s strictly a server configuration issue.
 * Here’s a thumb-nail description of what I did to make it work last time I played
   with Ubuntu. [http://pastebin.com/VTnMCznS](http://pastebin.com/VTnMCznS) – But
   I’ll leave you to the research and verification.
 * More references:
 * [“how to” suphp on ubuntu](https://wordpress.org/support/topic/apache-site-file-setup/?output_format=md)
 * [“how to” suphp debian](http://www.google.com/#hl=en&output=search&sclient=psy-ab&q=%22how+to%22+suphp+debian&oq=%22how+to%22+suphp+debian&aq=f&aqi=g-bsK1&aql=&gs_l=hp.3..0i8i10i30.2813.7852.0.8022.21.21.0.0.0.0.242.2870.0j20j1.21.0...0.0.kRpG9cyDNhc&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=ee39e6d564b1abcb&biw=1280&bih=681)
 * When you’re done, you can use a phpinfo file to verify that suPHP is working 
   and apache is running as CGI/FastCGI.
 *  Thread Starter [mfidelman](https://wordpress.org/support/users/mfidelman/)
 * (@mfidelman)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2755979)
 * Thanks! Looks very helpful.
 * Re. “no reason why it would be part of the WordPress installation documentation:”
 * – when installing software that runs under a web server, part of installation
   IS a matter of pre-requisites and server configuration
 * – I’ve installed an awful lot of packages that include both instructions on “
   how to configure under [apache|tomcat|….]” as well as, in many cases, files to
   drop into /etc/apache2/sites-enabled — and installers will typically drop files
   into various places under /etc — the WordPress “5-minute” install is pretty limited
   when compared to, say “apt-get install mysql”
 * Seems like a gap to me.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2756001)
 * > Re. “no reason why it would be part of the WordPress installation documentation:”
   > – when installing software that runs under a web server, part of installation
   > IS a matter of pre-requisites and server configuration
 * While I understand and respect your viewpoint, teaching people how to properly
   build, configure and secure a web server is substantially beyond the scope of
   the WordPress forums. It’s a huge bonus that you can find a lot of that information
   here, but it’s not a gap in the WordPress documentation by any means. suPHP is
   just one method by which you can increase the security of your hosting in a shared
   server environment.
 * > WordPress “5-minute” install is pretty limited when compared to, say “apt-get
   > install mysql”
 * You’re mixing apples and oranges. You can’t compare installing the WordPress 
   package manually in a web directory to installing mysql on a server from the 
   command line. But, for the sake of enlightenment, if you want to see a real nightmare,
   open a console and run;
    apt-get install wordpress
 * After you’ve untangled the cluster of symlinked files, non-standard wp-config
   and broken upgrade feature because a command line install sets the WordPress 
   update path so it can only be updated from a Deb repo (and is always one release
   behind the secure version of WordPress) the instructions in that 5 minute install
   using the .zip archive on a properly configured web server starts to make a lot
   of sense. 🙂
 * All kidding aside… suPHP is just one of many server security configuration options,
   and is not a WordPress issue. Teaching people how to build and secure a web server
   is not the intent of the WordPress software, nor a WordPress installation prerequisite.
 * Installing WordPress -vs- Building and configuring a web server. Apples and Oranges
   in this case.
 *  Thread Starter [mfidelman](https://wordpress.org/support/users/mfidelman/)
 * (@mfidelman)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2756022)
 * Well, I guess I disagree with you. WordPress is essentially a web service – it
   lives “inside” a web server, rather than standing alone. As such, configuration
   of the environment is part of installation and should be documented.
 * Personally, I consider this a serious detractor from what is otherwise a very
   nice piece of software. Given that it’s free and open source, complaining without
   contributing puts me on shaky ground, but I consider it a reasonable piece of
   input to those who write documentation.
 * As examples of people who DON’T consider it apples and oranges, I’ll point to:
 * Mailman (list manager, depends on underling mail system, and on web server) –
   install documentation includes sections on:
    – setting up your web server (including
   lines to add to Apache config files) – setting up your mail server (with specific
   instructions for integration with Postfix, Exim, Sendmail, Qmail) – setting up
   cron jobs
 * Sympa (another list manager, depends on database manager as well as the above)–
   install documentation includes sections on:
    – prerequisites — system requirements—
   installing perl and CPAN modules — creating a Unix user — creating the database–
   compilation and installation – robot aliases (for mail) – web setup, including—
   alternatives (cgi, cgi+suexec, fcgi, dedicated server, notes for specific linux
   distributions) — detailed instructions for installing the fastcgi version, including
   a specific virtual hosts file — specific instructions for setting up under nginx
   and lighttpd – setting up log files (syslog configuration) – note that the included
   install script (as well as the various packaged versions) does a lot of this (
   e.g., checks for and installs perl modules, startup/shutdown scripts, cron jobs)
 * Among CMS’s:
    – MediaWiki has pretty detailed instructions, along with scripts
   that do a lot of the Apache setup – Plone has very detailed Apache configuration
   documentation (a little out of date, and a separate article rather than part 
   of the main documentation – still, it includes details of getting both virtual
   hosts running, and configuring SSL) – Drupal has some information, but hard to
   find – WordPress and Joomla have rather poor installation documentation by comparison
 * Sketchy documentation is understandable, and to a degree excusable. But defending
   it is another thing entirely.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2756025)
 * > Well, I guess I disagree with you.
 * That’s completely acceptable and absolutely essential for any learning process.
   I can genuinely understand and appreciate your point of view, and I will respect
   and defend your absolute right to be absolutely wrong to the bitter end. 🙂
 * Best wishes!
 *  Thread Starter [mfidelman](https://wordpress.org/support/users/mfidelman/)
 * (@mfidelman)
 * [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2756027)
 * Likewise 🙂
 * Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘apache site file setup?’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 6 replies
 * 2 participants
 * Last reply from: [mfidelman](https://wordpress.org/support/users/mfidelman/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/apache-site-file-setup/#post-2756027)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
