News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

install error

Started by dufas, December 27, 2004, 07:41:18 PM

Previous topic - Next topic

dufas

Quote from: [Unknown] on December 30, 2004, 10:45:10 AM
Sounds fine then.  You should still set the ini setting to C:\tmp, but... you should be fine now ;).

-[Unknown]

But but but..... I searched the PHP ini for "session.save_path" (got that form the error message)  in the PHP.ini it says "session.save_path = /tmp" so it should read "session.save_path = c:/tmp ???

If so by changing by adding the C: what else will that effect, other programs?

Thanks again

Trekkie101

It would be C:\tmp not a forward slash

And if your editing php.ini no it wont affect other programs.

[Unknown]

Dufas, remember that PHP is really written for Linux, still, in many ways.

I actually submitted the bug that FIXED the issue you're having.  Yes, this is a bug in PHP - the default for that setting should not be /tmp on Windows servers.  It's been fixed somewhere around 4.3.8.

-[Unknown]

mambo

if you are installing smf in your computer

here is the fix for SMF installation with usb2 stick

if you get this error

Please inform your host that the session.save [nofollow]_path specified in php.ini is not valid! It needs to be changed to a directory that exists, and is writable by the user PHP is running under.

DO THIS


Find in install.php:


if ((session_save_path() == '/tmp' && substr(__FILE__, 1, 2) == ':\\') || !is_writable(session_save_path()))

Change that to:


if (false)

Advertisement: