Loading...
 
Skip to main content

Architecture / Installation


Re: Re: session_start() and invalid argument(22) error on windows xp....

> Thank you for your suggestion...but it did not work.
>

well its supposed to work 😊

in php.ini it doesnt matter a lot if you use / or \ within you path's. php will understand you. i am using / but all other folk seems to use \ (only one, dont escape it like: \\)

now: apache needs to have write access to the temp folder, or the user that is running apache. make sure it is allowed to do so.

also dont use spaces in that path or "quote" the path in the php.ini

and well there is plenty of documentation for php/apache and windows.

http://httpd.apache.org/docs-2.0/platform/windows.htmlQuestion
http://www.php.net/manual/en/install.apache2.phpQuestion

for some comments on the php.ini file look at: http://www.php.net/manual/en/configuration.phpQuestion

all you probably need to do is go slowly through the php.ini file and adjust all the paths.

most of your errors (headers already sent...) are follow-ups from the session-create call.

note to put php.ini in c:\windows
(use in a dos-box: > echo %SystemRoot% to be sure which folder)

if you use notepad to edit php.ini the file might be php.ini.txt (use folder-options to make sure the fileextension is correct and shown).

its just the first jump. in a few hours you'll never have that problem again - trust me 😊