473,788 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_pa th = C:\PHP\phpsessi ondata

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_3476e5 826cc724d730b79 148be0386ab,
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_pa th is correct (/tmp)
in Unknown on line 0
Jul 17 '05 #1
2 9986
"Charon" a écrit le 12/12/2003 :
Any ideas ?

- Eric

Warning: Unknown(): open(/tmp\sess_3476e5 826cc724d730b79 148be0386ab,
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_pa th is correct (/tmp)
in Unknown on line 0


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

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

Jul 17 '05 #2
Jedi121 <je*********@fr ee.fr.Removethi s> wrote in message news:<me******* *************** **********@free .fr.Removethis> ...
"Charon" a écrit le 12/12/2003 :
Any ideas ?

- Eric

Warning: Unknown(): open(/tmp\sess_3476e5 826cc724d730b79 148be0386ab,
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_pa th is correct (/tmp)
in Unknown on line 0


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


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 ??
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3001
by: Dan Foster | last post by:
Hi, this is my first post to this ng, so please be nice to me! :) ok we're running redhat 7.2 with apache 1.3.26. I had/have php 4.2.1, i need to use some cms package that needs 4.2.2 or better. so i thought i'd download the tar'd source for php 4.3.2 to keep him happy. followed all the instructions to compile and install it, and from the command prompt a php -v gives me 4.3.2; however phpinfo() from a webpage still shows the old...
1
2873
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on "http://www.modpython.org/live/current/doc-html/inst-testing.html". I've added specific information such as Windows filepaths and filenames so there's no ambiguity on what you should do. I encourage you to copy and paste to avoid typing errors. Cheers, Rolfe
4
6663
by: Jon Maz | last post by:
Hi All, I'm getting to grips with PHP and Apache (on Windows for current development, production site will be on Linux), and have a simple (I hope!) request. When you change the httpd.conf file and restart Apache, if you have made an error you simply get a popup saying that there has been an error, but giving no useful information about what or where the error is (on Windows anyway).
6
3565
by: black francis | last post by:
hello all, i`m trying to restart apache from php but have failed completely. has anyone sucesfully done it? i'm currently able to execute other unix commands from php adding the proper permissions to the sudo file but apache refuses to restart. here's the pseudo-script:
0
2351
by: willow1480 | last post by:
I am developing a small little Service Control Application. I am using a listview control with checkboxes and getting the list of services I want to control from a text file. When you check a checkbox, it should either stop the service or start the service depending on each respective service's status. I want the listView to update the status for each service as they are checked. instead all I can seem to do is clear the listView and I...
16
4987
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've set the POST limit in php.ini to 8 megs. What reasons, other than the POST limit, would a large upload fail?
1
6509
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
9
1548
by: John C. Frickson | last post by:
My company produces reports for our customers in PDF format. I have a php script that verifies login status and access rights, and sends the pdf to the client using readfile(). This has worked fine until recently. One of our customers' reports is 10.6MB, and the customer never receives it and I can't get it either. I checked the Apache access_log, and it shows varying amounts of bytes being sent, but always close to 10MB. I tried...
12
1595
by: Jerry | last post by:
I tried to turn on magic_quotes_gpc behavior shows that it is Off phpinfo shows it is Off phpinfo shows path to config file as C:\php\php.ini setting: magic_quotes_gpc = On in C:\php\php.ini does nothing
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.