coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: radl33t on August 19, 2005, 02:19:20 AM

Title: Installation trouble, fresh I swear!
Post by: radl33t on August 19, 2005, 02:19:20 AM
Default Fedora Core 4 server, mysql 4.x, apache 2.2x, PHP 5.x


I turned on long_arrays, restarted, and the install.php loops on "Let's Go". Also attempted some of the other fixes such commenting out 21-26 on install.php and double checking permissions.  Seems nearly all users have recovered by turning on long arrays. Suggestions?

I had a similar unresolved problem with the ezContents CMS system.
Title: Re: Installation trouble, fresh I swear!
Post by: Nibbler on August 19, 2005, 02:26:05 AM
Make a phpinfo() page and verify that register_long_arrays is actually enabled.
Title: Re: Installation trouble, fresh I swear!
Post by: radl33t on August 19, 2005, 02:33:00 AM
Good call.

/etc/php.ini has register_long_array = On
service httpd stop
service httpd start


However, phpinfo() results in: register_long_arrays   Off   Off

Somewhere else to edit it; some other way to restart?

Thanks  :-\\
Title: Re: Installation trouble, fresh I swear!
Post by: Nibbler on August 19, 2005, 02:42:38 AM
phpinfo will tell you the path to the php.ini that is being read by php near the top, check it is the file you think it is. Then verify that php.ini has been modified correctly (ie register_long_arrays). Restarting apache like that is correct.
Title: Re: Installation trouble, fresh I swear!
Post by: radl33t on August 19, 2005, 03:05:00 AM
The path and command are correct. hrm.  As the issue is more of a php thing I can search for help elsewhere. Thanks for narrowing it to the original problem  :-\\