• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Drupal Installation Help Needed

Hurdler

Gawd
Joined
Jun 20, 2006
Messages
986
Hey guys, I'm trying to build a Drupal based website for my school, but I can't get it to install. I'm running Ubuntu 6.06, and just can't get it to work right. I've installed Apache2, PHP5, and MySQL5, and then when I try and run the "install.php" I either get a database error, or my broswer (firefox) asks if I want to download or open the file. Can anyone help me with this??
 
If it's asking if you want to download the page then it seems like the PHP isn't getting processed. Make a new page at root level, and put in this line of code (and nothing else):

<?php phpinfo(); ?>

Then use your browser to load the page. You should get a big page with all sorts of information about your PHP install. If you don't, that's the problem. By the way, delete the file when you're done...kind of bad security practice to leave something like that lying around.
 
Is the [site root]/settings/default/settings.php file set to allow write permissions? It should be. Once the auto-install is finished, you can then set it to read-only for security.

Overall though, I think your details are far too vague. It should work out of the box on a clean ubuntu 6 installation. Try answering these questions:

1. Is MySQL on the same machine or a separate / dedicated MySQL server?
2. Is php5-mysql installed? (it should be automatically)
3. Is libapache2-mod-php5 installed? (it should be automatically)
4. Is the MySQL server actually running? (i.e. can you do mysql -uroot and log in?)
5. As previously mentioned, what does PHPInfo tell you?
6. Do you have any related errors in your /var/log/apache2/error.log file?

I've never had a problem getting Drupal to work on a properly configured machine, so I'm betting it's an issue with the installation or configuration of the packages on the OS (specifically PHP or MySQL)
 
Yeah, for some reason, despite having all the necessary files and libraries installed, it wouldn't work. I ended up reinstalling Ubuntu, and now it works just fine.

Thanks for the help guys!
 
Back
Top