Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8832993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:40:17+00:00 2026-06-14T08:40:17+00:00

Since I installed suPHP (to be able to run WordPress properly) I am getting

  • 0

Since I installed suPHP (to be able to run WordPress properly) I am getting “500 Internal Server Error”. Not when I load the WP index.php, but when I load phpinfo.php (just the phpinfo function). Also phpMyAdmin can no longer log in (Chrome brings up a “save file as” dialogue instead).

So I found this answer. Only now the php.ini file seems to be causing trouble, and every page throws a 500 error, even index.php which was loading before. Here is my php.ini in full, as suggested by that site, only it breaks everything for some reason:

register_globals = On 
allow_url_fopen = On
upload_max_filesize = 80M 
post_max_size = 80M 
memory_limit = 80M 
upload_tmp_dir = 80M 
max_execution_time = 20000

and here is the .htaccess:

suPHP_ConfigPath /home/computer/Documents/Cf 
<Files php.ini> 
order allow,deny 
deny from all 
</Files>

I’m on Ubuntu Desktop 12.10. My virtualhost is pointing to my ~/Documents directory (everything was working fine before installing suPHP).

This is my first time setting up LAMP (I’ve been using repackaged MAMP/LAMPP until now… I want to learn how to manage a full LAMP setup, but I’ve been fighting with this thing all day and not being able to get any work done).

EDIT: Changing ownership (sudo chown -R www-data) of all the files to Apache enables me to write files from script… but still I’m unable to figure out what goes wrong with suPHP. I’ve disabled it until this is resolved.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:40:18+00:00Added an answer on June 14, 2026 at 8:40 am

    Chrome is asking you to “save file as” because your php file handler is botched and when Apache doesnt know how to use a file it just offers it up for download. Manually configuring Apache to work with PHP handlers (outside of mod_php) is not for the faint of heart, so I applaud taking on this challenge. While I’ve only had experience with CentOS and not Ubuntu, outside of any get/make differences, this guide should apply universally to cover the steps and see if you missed anything.

    http://markus.revti.com/2010/03/installing-suphp-on-centos-5/

    More than likely your problem is not from bad php.ini or htaccess settings, its from you missing something in your httpd/virtualhosts config where you load the suPHP module, turn on the suPHP engine, set the suPHP handler, setting your suphp.conf file, etc. If that were all correct and it were just a permissions issue of the suPHP_UserGroup your server would not be barfing .php source code files.

    Get it serving pages right before you go tweaking your php.ini. I’m not sure what those values are being suggested for but those are not ideal, like for example the max_execution_time of 20000 seconds (5.56 hours) or having post & upload limits the same size as your PHP script memory limit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Android SDK and packages. Since I had an error when opening
Since we installed ColdFusion 10, we have received several error messages such as Method
I recently installed Wordpress (3.2.1) onto my server. Prior to installing Wordpress, I already
Well since i installed IE 8 i get this error so i cant debug
I think that my server became slow since I installed XDebug. So, in order
Since I installed IE8 (Win XP) Visual Studio 2008 Pro stopped deebugging javascript. When
Ever since I installed emacs on a new machine I have seen an ugly
This started happening in the last few days; possibly since I installed Visual Studio
It's been a while since I've installed PHP for Windows, but every guide I've
Since WAS 8.5 is by default shipped with IBM JDK6, I have installed IBM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.