where is the "session.save_path" directive

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

where is the "session.save_path" directive

Postby adamon » 26. August 2008 22:02

last issue hopefully --
I had an issue that has returned with the upgrade. I receive the following error when I try to import SQL files that are relatively small 4k:

Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.

I fixed this last time by:
Open the file /xmapp/etc/php.ini
and uncomment the line that reads
; session.save_path = /tmp
to read
session.save_path = /tmp
Save the file. Restart xampp.

Does anyone know where this file/directive is or if it has a different name now?
Or is there another way to fix it?

Thanks in advance for any help.

Regards,
Rob
adamon
 
Posts: 15
Joined: 19. February 2008 19:11

Postby adamon » 26. August 2008 22:19

Actually I found the file and the line was not commented out. I still have the problem. The file is only 4k. Is there another line somewhere that I need to modify? How can I fix this error?

Rob
adamon
 
Posts: 15
Joined: 19. February 2008 19:11

Re: where is the "session.save_path" directive

Postby jmdirc » 27. August 2008 03:13

adamon wrote:Does anyone know where this file/directive is or if it has a different name now?


Check your Session's section of your phpinfo.php. It list your directory for the session.save_path.

The error you posted "Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16" is that exactly what it said?
User avatar
jmdirc
 
Posts: 154
Joined: 10. February 2008 22:44

Postby jmdirc » 28. August 2008 03:28

adamon wrote:I found the solution.

I had to uncomment the upload_tmp_dir line and add
upload_tmp_dir= "/tmp" in the php.ini file.

The import function works great now.


I put this here if someone is keeping an eye on this particular thread.
User avatar
jmdirc
 
Posts: 154
Joined: 10. February 2008 22:44


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 24 guests