problem when switch webserver to litespeed on directadmin

Discussion in 'General' started by he3am, Jan 8, 2014.

  1. he3am

    he3am New Member

    hi
    when switch webserver to litespeed phpmyadmin is not open and show this error :

    PHP:
    Fatal errorsession_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage modulefiles (path: ) in /var/www/html/phpMyAdmin-4.0.10-all-languages/libraries/session.inc.php on line 83
    and when change in php.ini not change to website
  2. NiteWave

    NiteWave Administrator

    what's the setting of
    lsws web admin->Server->General->PHP suEXEC
    ?
  3. he3am

    he3am New Member

    User home directory only
  4. NiteWave

    NiteWave Administrator

    this looks correct.

    can you put phpinfo.php somewhere and check the value of session.save-path ?
    the document:
    php.net/manual/en/session.configuration.php#ini.session.save-path
  5. he3am

    he3am New Member

    when build php by defualt Configure Parameters fix phpmyadmin problem !
    but when build php by
    Code:
    '--with-apxs2' '--with-curl=/usr/local/lib' '--with-gd' '--with-ttf' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql=/usr' '--with-pcre-regex=/usr/local' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-xsl' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-magic-quotes' '--enable-safe-mode' '--enable-soap' '--enable-sockets' '--enable-mbstring' '--enable-zip' '--enable-wddx'
    phpmyadmin is not open and show error
  6. NiteWave

    NiteWave Administrator

    have you done "build matching php for litespeed" i.e. lsphp5?

    if done, how did you build it ?
  7. he3am

    he3am New Member

    hi
    yeah i build completed

Share This Page