classic Posted August 8, 2008 Share Posted August 8, 2008 I have set up apache server with WampServer. PHP & mysql. My app has been written in Delphi PHP. The following error is showing. Warning: session_start() [function.session-start]: open(C:\WINDOWS\Temp\sess_t9tc39gf13a09cpv29ghrjc8s7, O_RDWR) failed: Permission denied (13) in C:\Websites\Mapping\vcl\forms.inc.php on line 130 What does this mean? Cheers SteveW Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 8, 2008 Share Posted August 8, 2008 What version of windows do you have installed? I'd recommend you to change the path in which sessions are written to, open the php.ini (accessible by WAMP's taskbar icon), scroll down and find the following line ;session.save_path = "/tmp" Remove the semi-colon ( ; ) from the start of the line and change /temp to C:/wamp/temp Save the php.ini and create a temp folder in C:\wamp. Afterwards restart WAMP Quote Link to comment Share on other sites More sharing options...
classic Posted August 9, 2008 Author Share Posted August 9, 2008 I am running om SBS server 2003. That setting is already in the PHP.ini session.save_path = "c:/wamp/tmp" The path already exists. I have one file in the folder named session_dir The file contains only the text session directory Should there be some other info here? (session logs maybe) Cheers SteveW Quote Link to comment Share on other sites More sharing options...
classic Posted August 9, 2008 Author Share Posted August 9, 2008 If I have 2 remote computers accessing the app and we hit a button at the same time we get the page not available error. The buttons are using ajax calls to add a record to the database. These work okay if the users are not clicking at the same time. How do I trace whats going on please Cheers SteveW Quote Link to comment Share on other sites More sharing options...
classic Posted August 9, 2008 Author Share Posted August 9, 2008 I am not fully undersatnding the apache / php/ mysql setup. We have three severs srv1 srv2 srv3 Srv1 controls user logins, has mysql setup with the tables stored in the mysql data directory. We have a fixed IP address (XX.345.345.34) and the code points this data on port 3306. Port forwarding on 80 to srv1 Srv2 runs terminal services Srv3 runs IIS. We have installed wampserver on this machine. The code reside in the apache www directory. We point to the code via (XX.345.345.34:8080) . Port forward ing on 8080 to srv3. So to my confusion. Which php / or mysql settings am I looking at using wampserver or more to the point which should I be using. Cheers SteveW Quote Link to comment Share on other sites More sharing options...
gs Posted August 18, 2008 Share Posted August 18, 2008 Ahh, I could never figure out how to download PHP/Apache, I just used free webhosts that supported it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.