Connecting Tech Pros Worldwide Help | Site Map

php.ini is not refreshing/being read when apache is restart

  #1  
Old July 17th, 2005, 02:36 AM
Charon
Guest
 
Posts: n/a
I am running php 4.3.4 Win 32 as a module with Apache 1.3.29.
I am trying show this modification in the php.ini file

session.save_path = C:\PHP\phpsessiondata

But when I restart then then go into PEAR to begin an install I
allways have the following errors at the bottom of the page.

Any ideas ?

- Eric

Warning: Unknown(): open(/tmp\sess_3476e5826cc724d730b79148be0386ab,
O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please
verify that the current setting of session.save_path is correct (/tmp)
in Unknown on line 0
  #2  
Old July 17th, 2005, 02:36 AM
Jedi121
Guest
 
Posts: n/a

re: php.ini is not refreshing/being read when apache is restart


"Charon" a écrit le 12/12/2003 :[color=blue]
> Any ideas ?
>
> - Eric
>
> Warning: Unknown(): open(/tmp\sess_3476e5826cc724d730b79148be0386ab,
> O_RDWR) failed: No such file or directory (2) in Unknown on line 0
>
> Warning: Unknown(): Failed to write session data (files). Please
> verify that the current setting of session.save_path is correct (/tmp)
> in Unknown on line 0[/color]

Beware of / and \ in file path.
Try to change your /tmp to \tmp

--
Have you read the manual?
http://www.php.net/manual/en/

  #3  
Old July 17th, 2005, 02:40 AM
Charon
Guest
 
Posts: n/a

re: php.ini is not refreshing/being read when apache is restart


Jedi121 <jedi121news@free.fr.Removethis> wrote in message news:<mesnews.60fa7d3c.769559e6.359.2689@free.fr.R emovethis>...[color=blue]
> "Charon" a écrit le 12/12/2003 :[color=green]
> > Any ideas ?
> >
> > - Eric
> >
> > Warning: Unknown(): open(/tmp\sess_3476e5826cc724d730b79148be0386ab,
> > O_RDWR) failed: No such file or directory (2) in Unknown on line 0
> >
> > Warning: Unknown(): Failed to write session data (files). Please
> > verify that the current setting of session.save_path is correct (/tmp)
> > in Unknown on line 0[/color]
>
> Beware of / and \ in file path.
> Try to change your /tmp to \tmp[/color]

That's not the problem
It would not read any change that was made to the php.ini file.
I has since updated the changes but only once a reboot. It may have
something to do with IIS but I am using IIS that is running on another
computer ??
Closed Thread