PDA

View Full Version : Setup.php not running ???


lost
17th of January 2005 (Mon), 23:42
Ok here is my delima. I have Apache and Mysql running on Linux server. I have uploaded all the files for 1.22 and am attempting to run gallery/setup.php. I get the page that displays "Database Installer 1.22" " SCROLL DOWN THE PAGE UNTIL YOU SEE A CONFIRMATION BOX" but nothing else. I have checked my connect.php and it is good. I have checked PHP and it seems to be working properly. What am I missing?

Thanks in advance for the Help

Pekka
18th of January 2005 (Tue), 02:49
Go to http://photography-on-the.net/forum/showthread.php?t=29266 download RC4 and follow the instructions in post "Clean install of EE 1.5 RC 4".

Patch it with http://photography-on-the.net/forum/showthread.php?t=30778

lost
18th of January 2005 (Tue), 10:00
Thanks I will try now!!!

lost
18th of January 2005 (Tue), 10:48
Whey I run /gallery/rc4_installers/full_15rc4.php I get a blank screen.

Pekka
18th of January 2005 (Tue), 11:17
I replied you in PM, too :)

1. main problem: you do not have MySQL at all in your PHP. I can see in phpinfo that adding MySQL was attempted, but install was not done. Probably wrong path to mysql on php's ./configure.

Note that MySQLi is not the same thing.

2. In PHP 5 php.ini you should set register_long_arrays ON

3. while you ask system admin to make mysql work for php, ask them also to add EXIF support to php. Very useful.

Let me know how it goes!

lost
18th of January 2005 (Tue), 18:46
Ok guys I have made significant progress today, and will try to document for those that decide to follow.


My problem was with the mysql.default_socket stament in php.ini, well turns out it was incorrect my default. Possibly just in my distro. But any way to find out what socket mysql connects to on our puter run the following command. "./mysqladmin variables -u root -p" This is assuming you have a password set for root. If not run "./mysqladmin variables" and that shoud get it for ya.

Hope this helps someone in the future.

In the mean time I will proceed with the configuration of my wonderful gallery installation.

The problems I have had have not been due to problems with the Gallery more my lack of knowledge when it comes to Linux,Apache,MySql... Now considering I started this project on Sunday afternoon with zero Linux knowledge and a spare pc I feel I am coming along nicely.

Soo much thanks goes to Pekka. He has pointed me in the right direction if not pointed directly to the problem. I will post the gallery when I am done. Doubt anyone would want to see the 1,000s of pictues of my family but who know.

Thanks,

Cajun with DSLR

lost
19th of January 2005 (Wed), 16:56
Ok so I really wasn't happy with my version of Linux (Trustix). I had major problems getting imagemagick on it. So I am asking which flavor of linux would be the easiest to get up and running with Apache, Mysql, PHP5.0 ,Imagemagic, Imagick and all the other stuff required by EE? I am open to ANY suggestions.

Thanks in advance.

Pekka
19th of January 2005 (Wed), 17:09
I have been very happy with Redhat. This server uses Redhat Enterprise Edition 3.

And I do not use RPM's for server components, I have compiled Apache 2, MySQL, PHP and Imagemagick. I have found it to be more stable and easier to update that way.

As a sidenote: I agree that installing Linux system (so that it is secure and works) can be quite a task. But what I have also learned is that every time you do it again it gets easier.

Google is your friend.

lost
20th of January 2005 (Thu), 13:57
Ok I have tried Redhat and Suse but found them slow and bloated. I think I have found the fix for Imagemagick on Trustix so I will reinstall tonight(again) and give it a shot. I really like Trustix. It is so clean and great updates. I am learning lots about linux and having fun to boot. (pardon the pun) Oh the advice about google being my friend was right on the money. HaHa.