Title: mod_php -v- PHP as a CGI binary
Last modified: August 18, 2016

---

# mod_php -v- PHP as a CGI binary

 *  [nodisalsi](https://wordpress.org/support/users/nodisalsi/)
 * (@nodisalsi)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/mod_php-v-php-as-a-cgi-binary/)
 * My webhost does not run PHP as mod_php because they don’t want to allow access
   to database services to user ‘nobody’ – hence perl, PHP are not run as Apache
   mods, they are executed with the account’s shell user permissions; and their 
   corresponding MySQL accesses cannot overflow into someone else’s database account.
 * As a consequence of this set up, I cannot install WordPress without figuring 
   out which .php files are called via URL so that I can chmod 755 and add the #!
   shebang to each.
 * I got as far as modifying index.php and wp-admin/install.php but the latter returns
   HTTP 500 (server error).
 * **Is there hope of me continuing to use WordPress with this particular webhost?**

The topic ‘mod_php -v- PHP as a CGI binary’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [permissions](https://wordpress.org/support/topic-tag/permissions/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [server](https://wordpress.org/support/topic-tag/server/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [nodisalsi](https://wordpress.org/support/users/nodisalsi/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/mod_php-v-php-as-a-cgi-binary/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
