187 Gallery install help!

SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 18:39

The exec() function is disabled on your server. Gallery will not function with this PHP configuration.

i dont know how to fix this problem any suggestions?
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.187th-infrantry.com/modules.php?name=gallery
Gallery version: 1.5
Apache version: i dont know
PHP version (don't just say PHP 4, please): php7.5 i think or 7.6
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

mysql version: 4.x.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-05-19 18:43

If you are the server admin, fix it in php.ini. If you are not, you need to contact the people that are.

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 18:53

wat do i do withing php,ini????

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 18:55

where do i even find php.ini?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-05-19 19:01

check http://example.com/gallery/setup/phpinfo.php - That should show you all the php settings, as well as where the php.ini file is located.

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 19:10

<?php
/*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2005 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id: phpinfo.php,v 1.9.6.1 2005/03/10 02:36:35 cryptographite Exp $
*/
?>
<?php
/* load necessary functions */
require (dirname(__FILE__) . '/init.php');
require (GALLERY_SETUPDIR . '/functions.inc');
configLogin(basename(__FILE__));
phpinfo();
?>

i dint see anything about php.ini in there

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-05-19 19:14

Try opening it in your browser, via your webserver...

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 19:17

http://www.187th-Infrantry.com/gallery/setup/phpinfo.php

that dont open up
when i open it from the ftp it dont show up or when i save n open nothing about a php.ini within

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-05-19 19:25

ok. Make a new file, called info.php, somewhere in your webspace and copy this into it:

<?php phpinfo(); ?>

Then open it via your browser.

Are you the server admin for this box?

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 19:40

im server admin to FTP to my webspace.

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 19:46

I did the info.php still dont work.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-05-19 19:46

In that case, you won't be able to change these settings anyway. You need to contact your host.

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 20:39

i emailed my company let me see wat they say :cry: :cry:

 
SimbaDC650

Joined: 2004-09-28
Posts: 27
Posted: Thu, 2005-05-19 23:35

Anyone else have any comments t this issue which can help me out?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-05-19 23:47

There is NOTHING you can do, unless your host changes their settings. Sorry, but disabling exec() does render Gallery unusable.