*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Wed Jan 7 13:57:29 2004] [notice] Apache/1.3.28 (Unix) PHP/4.3.4 mod_ssl/2.8.15 OpenSSL/0.9.7b configured -- resuming normal operations
so it looks like the modules is being loaded properly, however when I view the page I get a:
Warning: session_start(): open(/tmp/sess_c9f01a766506faf1a28048c934ea06cd, O_RDWR) failed: No such file or directory (2) in /htdocs/navbar.php on line 3
I've also checked the permisssions on tmp, and its 777.
I'm using openBSD 3.4. I never used the existing port because I couldn't figure out how I was supposed to compile it with apxs and mysql. Is there a config file or is ports supposed to do that automatically ?
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
depending on your shell either
# setenv FLAVOR "mysql"
or
# export FLAVOR="mysql"
# make install
# setenv FLAVOR ""
or
# unset FLAVOR
As near as I can tell, apxs is included by default, but MySQL is not. setting FLAVOR to mysql should cause it to be included (I see the depend is in one of the makefiles).
sort of fixed my own problem, unfortunatly everything is not quite yet fixed.
Apparently you've got to create a tmp folder in /var/www/ because it is chrooted The flavor environmental variable you suggested Chort doesn't seem to work, php is not loaded with mysql support. I've seen some other forums with php4-mysql packages, but there isn't one in the ports tree. There is however an extensions branch, maybe it has something to do with this ?
Have you ever had a problem when installing something with ports when tar can't find listed files. It's like an env is not set or something. What I mean, is tar can't find files in pkg/PLIST (lists included files) unless I go in and replace the ${var} with the absolute path.
Ever seen this before ? It has become very time consuming.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.