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
PHP needs to accept file uploads
Also activate the GD module
For info check www.php.net
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
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)
PS I FORGOT TO TELL YOU I AM RUNNING WIN2K BOX WITH THE ABOVE
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
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]
<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