Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2004, 07:01 AM
Authorized User
 
Join Date: Oct 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to SiliconFuRy
Default

You sure the web server process has write access to the /tmp dir?

Many shoes,

Jamez/SiliconFuRy
 
Old December 15th, 2004, 07:36 AM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asbjoern
Default

thanks for your reply,
I managed to solve the problem ;).
The problem was that I had installed the opensource webshop osCommerce, and what I did't know was that the \temp value was stored the mysql database, and the value in php.ini wasn't used. Anyway I think that was the reason to the problem :-)

/asbjoern

 
Old March 9th, 2005, 03:11 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Common fault is

In Apache2\conf (or your directory)edit httpd.conf file looking for AllowOverride, the default of this is none, change it to All.

The default is 'very restircitive", I am not sure of the security implications, perhaps someone more with a few more smarts can answer...anyway this is the full section that comes with Apache

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>

Hope it helps...

 
Old March 4th, 2007, 10:20 AM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

rich you really are star!!

I installed php couple of days back and kept getting the error.
This forum helped me resolved the permissions issue.
I wonder why php won't inform you about setting permissions to sessions directory?
It should set the permissions on installing
or is it documented some place in bold and I just glossed over it :-)?

btw, reboot is not required, I use IIS and just had to restart IIS.






Similar Threads
Thread Thread Starter Forum Replies Last Post
session_start() changusee2k PHP How-To 2 February 11th, 2006 05:32 AM
Warning: session_start(): khile Beginning PHP 3 August 16th, 2005 04:09 AM
Problem with session_start() jmrdeuce32 Pro PHP 5 June 10th, 2005 01:53 PM
Problem with session_start() jmrdeuce32 Beginning PHP 4 May 8th, 2005 05:09 PM
Issues with Session_start() PreethEldhose BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 September 13th, 2004 03:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.