+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP 5.3 latest

  1. #1
    sckramer is offline Registered User
    Join Date
    Jul 2009
    Posts
    17
    Downloads
    1
    Uploads
    0

    Default PHP 5.3 latest

    PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\inclu de\iniset.php on line 63 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\P EAR.php on line 563 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\P EAR.php on line 566 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\M DB2.php on line 392 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\M DB2.php on line 2614

    I dont even get the login page...

    I can comment out set_magic_quotes_runtime() & fix iniset.php--

    How do I fix this...? it's running on the newest php, windows...

    also I tried newer versions of rc, including today's latest svn version
    Last edited by sckramer; 07-15-2009 at 07:11 PM.

  2. #2
    sckramer is offline Registered User
    Join Date
    Jul 2009
    Posts
    17
    Downloads
    1
    Uploads
    0

    Default things I tried:

    error_reporting(0);

    this clears up some warnings... but not all--

  3. #3
    Rustig is offline Registered User
    Join Date
    Sep 2009
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Snow Leopard

    After upgrading from Leopard to Snow Leopard i have the same problem (i think it has something to do with the PHP version 5.3.0)

    I was using RoundCube version 2.1

    My error on the front page is: (also no login screen)

    .../program/lib/iniset.php on line 63
    .../program/lib/PEAR.php on line 563
    .../program/lib/PEAR.php on line 566

    Roundcube was working great on my OSX (Leopard) but after the upgrade to Snow Leopard it stopt working.

    No login screen anymore and when i remove the .htaccess it gave me the errors you can see above.

    Reinstalled MySQL (new database) no sollution. Used the Roundcube 3 beta, here is some differents, i can see the login screen again, its not working because i got an error about Roundcube cant use cookies, but my configuration is able to accept cookies.

    The Installer pages result also in error:

    Code:
    main.inc.php:  OK
    db.inc.php:  OK 
    Check if directories are writable
    RoundCube may need to write/save files into these directories
    
    temp/:  OK
    logs/:  OK
    
    Check configured database settings
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 392
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 2613
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 563
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 566
    DSN (write):  OK
    DB Schema:  OK
    DB Write:  OK
    DB Time:  OK
    Hope someone can help me...

    Thanks in advance,
    Mike

  4. #4
    jcip is offline Registered User
    Join Date
    Jun 2008
    Posts
    4
    Downloads
    0
    Uploads
    0

    Unhappy Snow Leopard Server

    Quote Originally Posted by Rustig View Post
    After upgrading from Leopard to Snow Leopard i have the same problem (i think it has something to do with the PHP version 5.3.0)

    I was using RoundCube version 2.1

    My error on the front page is: (also no login screen)

    .../program/lib/iniset.php on line 63
    .../program/lib/PEAR.php on line 563
    .../program/lib/PEAR.php on line 566

    Roundcube was working great on my OSX (Leopard) but after the upgrade to Snow Leopard it stopt working.

    No login screen anymore and when i remove the .htaccess it gave me the errors you can see above.

    Reinstalled MySQL (new database) no sollution. Used the Roundcube 3 beta, here is some differents, i can see the login screen again, its not working because i got an error about Roundcube cant use cookies, but my configuration is able to accept cookies.

    The Installer pages result also in error:

    Code:
    main.inc.php:  OK
    db.inc.php:  OK 
    Check if directories are writable
    RoundCube may need to write/save files into these directories
    
    temp/:  OK
    logs/:  OK
    
    Check configured database settings
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 392
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 2613
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 563
    
    Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 566
    DSN (write):  OK
    DB Schema:  OK
    DB Write:  OK
    DB Time:  OK
    Hope someone can help me...

    Thanks in advance,
    Mike
    I am also having these exact same issues with snow leopard server. Anyone have any tips for fixing this issue?

  5. #5
    Rustig is offline Registered User
    Join Date
    Sep 2009
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default solved

    Had succes with help from DIYMacServer Installing everything on Snow Leopard

    Credits goes to Richard for helping me out installing PHP 5.2.11 on my Snow Leopard.

    In my previous attempts it did not worked with version PHP 5.2.10 but with the new 5.2.11 in combination with the latest stable version of Roundcubemail it works like a charm.

    Here are my fast scratch steps how i did it, try to run true this in combination with the detail explanations from Richard -> DIYMacserver.com



    ---

    MySQL (64 bit) installeren via DMG installer http://dev.mysql.com/downloads/mysql...tml#macosx-dmg
    PreferencePane installeren
    MySQL source downloaden voor later gebruik http://dev.mysql.com/downloads/mysql/5.1.html#source

    - MySQL met shared libraries http://diymacserver.com/compiling-my...-snow-leopard/

    Ga naar de reeds gedownloade Source (tar) file en voer onderstaande uit

    CFLAGS="-arch x86_64" \
    CXXFLAGS="-arch x86_64"

    ./configure -prefix=/usr/local/mysql \
    -with-server-suffix=-standard \
    -enable-thread-safe-client \
    -enable-local-infile \
    -enable-shared \
    -with-zlib-dir=bundled \
    -with-big-tables \
    -with-readline \
    -with-plugins=all \
    -without-docs

    make
    sudo make install

    - configureren MySQL http://diymacserver.com/installing-m...mysql-install/

    chmod 644 /etc/my.cnf

    mysql> drop database test;
    mysql> use mysql;
    mysql> delete from db;
    mysql> delete from user where User = '';
    mysql> flush privileges;

    mysql> update user set Password=PASSWORD(’new_password’)
    where User=’root’;
    mysql> flush privileges;

    mysql> update user set user=”mydbadmin” where user=”root”;
    mysql> flush privileges;

    ---

    PCRE downloaden http://www.pcre.org/

    Installeren in 64 bit mode:

    CFLAGS="-arch x86_64" \
    CXXFLAGS="-arch x86_64"

    ./configure
    make
    sudo make install

    ---

    PHP 5.2.11 downloaden: http://www.php.net/

    export MACOSX_DEPLOYMENT_TARGET=10.5 \
    CFLAGS="-arch x86_64" \
    CXXFLAGS="-arch x86_64"

    ./configure --prefix=/usr/local/php5 \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --sysconfdir=/etc \
    --with-config-file-path=/etc \
    --with-zlib \
    --with-zlib-dir=/usr \
    --with-openssl \
    --without-iconv \
    --enable-exif \
    --enable-ftp \
    --enable-mbstring \
    --enable-mbregex \
    --enable-sockets \
    --with-mysql=/usr/local/mysql \
    --with-pdo-mysql=/usr/local/mysql \
    --with-mysqli=/usr/local/mysql/bin/mysql_config \
    --with-apxs2=/usr/sbin/apxs \
    --with-pcre-dir=/usr/local/lib

    nano makefile

    (zoek naar EXTRA_LIBS) en dit toevoegen aan het einde van de regel: -lresolv

    voorbeeld:
    EXTRA_LIBS = -lmysqlclient -lssl -lcrypto -lz -lssl -lcrypto -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lmysqlclient -lz -lm -lmysqlclient -lz -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lresolv


    make
    sudo make install

    ---

    httpd.conf aanpassen:

    LoadModule php5_module /usr/libexec/apache2/libphp5.so
    AddType application/x-httpd-php .php .phtml
    AddType application/x-httpd-php-source .phps




    Mike
    Last edited by Rustig; 09-29-2009 at 06:48 AM.

  6. #6
    pillarsdotnet's Avatar
    pillarsdotnet is offline Roundcube Newcomer
    Join Date
    Sep 2011
    Posts
    4
    Downloads
    0
    Uploads
    0

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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