Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:36 AM
Charon
Guest
 
Posts: n/a
Default php.ini is not refreshing/being read when apache is restart

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, 01:36 AM
Jedi121
Guest
 
Posts: n/a
Default 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, 01:40 AM
Charon
Guest
 
Posts: n/a
Default 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 ??
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.