Can't upload files

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Can't upload files

Postby mikenew » 29. April 2008 09:10

I installed XAMPP on my mac, but I can't upload files through a PHP script.
When I use the same script on my "real" server it works fine.

Is this a shortcoming of XAMPP or did I do something wrong?

Thanks in advance!
mikenew
 
Posts: 2
Joined: 29. April 2008 09:03

Postby Nobbie » 29. April 2008 10:58

No error messages, nothing?
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Postby mikenew » 29. April 2008 11:47

Nobbie wrote:No error messages, nothing?

I found the solution. This is what I did:
1. Find the php.ini file (/Applications/xampp/etc).
2. Find the variable 'upload_tmp_dir' and set it to a dir that is writable.
3. Restart XAMPP and the uploading should work.
mikenew
 
Posts: 2
Joined: 29. April 2008 09:03


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 7 guests