Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: apache server and coppermine  (Read 7399 times)

0 Members and 1 Guest are viewing this topic.

moffl

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
apache server and coppermine
« on: November 02, 2003, 12:56:00 am »

I am looking for some information as to what the rest of the forum is doing besides being hosted.

I have apache 2.04, mysql and php but i am having trouble setting the server up everytime i go to upload a file into ausers account i am told that the server possibly isn't set for uploading.  I know that Apache is a web server and noy a ftp server.  So are you running ftp server or have you got apache configured for uploads

thanks

lorne
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
apache server and coppermine
« Reply #1 on: November 02, 2003, 01:03:46 am »

PHP needs to accept file uploads
Also activate the GD module

For info check www.php.net
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
apache server and coppermine
« Reply #2 on: November 02, 2003, 01:05:05 am »

Make sure your userpics and album dir are set to 0777
php as a module? you should try setting the permission in your config  "Default mode for directories" to 0766 instead of 0755

moffl

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
apache server and coppermine
« Reply #3 on: November 02, 2003, 01:28:12 am »

I have the following in my php.ini
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = c:\tmp

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

c:\tmp does exist

gd is installed and working

album and userpics are set to full access

I really don't understand last line  (you should try setting the permission in your config "Default mode for directories" to 0766 instead of 0755)
Logged

moffl

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
apache server and coppermine
« Reply #4 on: November 02, 2003, 01:35:47 am »

PS I FORGOT TO TELL YOU I AM RUNNING WIN2K BOX WITH THE ABOVE
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
apache server and coppermine
« Reply #5 on: November 02, 2003, 01:48:33 am »

php.ini:
activate gd module

Apache httpd.conf:
add the PHP module and settings

THAT'S ALL

I only did that to activate it on Win2K and it works.

I also put an Alias for my coppermine directory which is placed on a other drive. But that's just a extra advantage in httpd.conf
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

moffl

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
apache server and coppermine
« Reply #6 on: November 02, 2003, 02:10:26 am »

DJMAZE:

Sorry to be a PEST i have it all configured as you but i don't know the setting you are talking about in httpd file after module is loaded this is what i have to load module.

LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php

[/quote]
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
apache server and coppermine
« Reply #7 on: November 02, 2003, 04:47:27 am »

<IfModule mod_dir.c>
    DirectoryIndex index.html index.php
</IfModule>

<IfModule mod_mime.c>
    AddType application/x-httpd-php .php


that's it then it works
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.