+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP Session support

  1. #1
    Senior Member PSS is on a distinguished road
    Join Date
    Aug 2005
    Posts
    115

    PHP Session support

    Does Vbulletin require session support compiled to php?

  2. #2
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,702
    Can you provide an example of what that looks like in phpinfo?
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  3. #3
    Senior Member PSS is on a distinguished road
    Join Date
    Aug 2005
    Posts
    115
    in phpinfo() you get "Session support: enabled" under section "session" when you compile without --disable-session

    http://us.php.net/session

    I just want to remove all unneeded stuff from php binary (do not need session on my other software).

    I have impression that Vb stores sessions in database or memcached so php session functions are not used?
    Last edited by PSS; Sun 15th Jul '07 at 8:16pm.

  4. #4
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,702
    I don't ever recall ever running into a server that had that disabled (it's not here or on my server.) My guess is that you will need it enabled. Howeveer the best way to know for sure is to try it both ways.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  5. #5
    Senior Member PSS is on a distinguished road
    Join Date
    Aug 2005
    Posts
    115
    Well, some day it would be a great to have a list of REQUIRED php features. In another words, a way to know what is minimal php configuration to run vbulletin - testing this with live site is not what I would do right now - I thought developers would have a list ready. There are lots of functions in php that are compiled by default, but have a switch to disable them from compilation.

  6. #6
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    38
    Posts
    34,676
    Blog Entries
    1
    vBulletin does not require PHP Session Support. It uses its own session support since we had sessions before PHP did.

    A basic installation with MySQL support is the minimum that is required to run vBulletin. For full features you should include GD and CURL support.

    This is the PHP configure string we use for the vBulletin servers running PHP 5.1.x and Apache 2.2.x:

    Code:
    ./configure \
     --prefix=/usr/local/php \
     --with-config-file-path=/usr/local/php \
     --with-mysql=/usr \
     --with-mysqli=/usr/bin/mysql_config \
     --with-exif-dir=/usr \
     --with-jpeg-dir=/usr \
     --with-tiff-dir=/usr \
     --with-png-dir=/usr \
     --with-freetype-dir=/usr \
     --with-ttf=/usr \
     --with-openssl \
     --with-zlib \
     --with-gd \
     --with-iconv \
     --with-ldap \
     --enable-ftp \
     --enable-sockets \
     --enable-sysvsem \
     --enable-sysvshm \
     --enable-rpath \
     --enable-bcmath \
     --enable-memory-limit \
     --with-apxs2=/usr/local/apache/bin/apxs
    It's a pretty good all-purpose PHP configure string and supports everything that vBulletin needs, though it may need minor modification to work with other servers with libraries in different places etc.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

+ Reply to Thread

Similar Threads

  1. What's the difference between "$session[sessionurl_q]" and "$session[sessionurl]"
    By forumfolk in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 1
    Last Post: Fri 29th Sep '06, 4:43pm
  2. PHP Session support
    By sparky in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 0
    Last Post: Mon 6th Feb '06, 3:27pm
  3. What is the session user variable and the session password variable?
    By Darren884 in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 2
    Last Post: Tue 30th Mar '04, 11:44pm

Bookmarks

Posting Permissions

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