News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

apache server and coppermine

Started by moffl, November 02, 2003, 12:56:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

moffl

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

DJMaze

PHP needs to accept file uploads
Also activate the GD module

For info check www.php.net
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

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

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)

moffl

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

DJMaze

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
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

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]

DJMaze

<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
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