Problems with 3.0.1928.0 (PHP exts & PDO)

Discussion in '3CX Phone System - General' started by alchaemist, May 20, 2007.

  1. alchaemist

    Joined:
    May 20, 2007
    Messages:
    1
    Likes Received:
    0
    Hi there,

    I've just downloaded and installed v3.0.1928.0
    First time with 3CX for me.

    Installation went fine but 3CX's Apache said "Starting" and hang there.
    I rebooted, and after that Apache was up.

    Next problem was that the console did not load, but I verified that it was a PHP problem. It seemed that the php version difered from the extensions versions? Odd.

    [Sun May 20 01:54:24 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sun May 20 01:54:24 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sun May 20 01:54:24 2007] [notice] Parent: Created child process 2244
    PHP Warning: PHP Startup: bz2: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    PHP Warning: PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    PHP Warning: PHP Startup: pgsql: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    PHP Warning: PHP Startup: PDO: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX PhoneSystem\\Bin\\Php\\extensions\\php_pdo_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0
    PHP Warning: PHP Startup: xsl: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    PHP Warning: PHP Startup: cmstatus: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    PHP Warning: PHP Startup: phpSHIELD: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
    [Sun May 20 01:54:33 2007] [notice] Child 2244: Child process is running
    [Sun May 20 01:54:33 2007] [notice] Child 2244: Acquired the start mutex.
    [Sun May 20 01:54:33 2007] [notice] Child 2244: Starting 250 worker threads.
    [Sun May 20 01:54:34 2007] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.


    I got PHP 5.2.2 in there and restarted Apache. The console login did load. So great, lets try to login.

    Ups... now I am getting an error, this time in the actual console files..
    It said that http/functions/PDO.php is missing, and classes.php was requiring it.

    Fatal error: require_once() [function.require]: Failed opening required 'C:/Program Files/3CX PhoneSystem/Data/Http/functions/PDO.php' (include_path='.;C:\Php\pear') in C:\Program Files\3CX PhoneSystem\Data\Http\functions\classes.php on line 10


    I checked and that is actually true.. The file isn't there...

    So, what can I do? I doubt that it is an actual problem on the version, after all, it has been since a month ago aprox.

    Some info...
    Windows 2000 Server + SP4
    I don't have Apache installed in this server.
    I do have IIS 5.0 and PHP 5.2.2, but that shouldn't be a problem!, correct?
    PHP is not in the Path env var.

    OK, any help will be welcomed :cry: !!
    Regards!

    Alchaemist
     
  2. gbarnes

    Joined:
    Aug 3, 2007
    Messages:
    83
    Likes Received:
    0
    I had the same problem...

    I installed on a system where PHP was already installed.

    I found the ENV VAR PHP_DIR in system/environment vars and deleted this value.

    Next, I made sure both Apache versions had the Php directory set in the conf files and restarted.

    All worked fine from then on.

    You may have to copy the php_apache2.dll (or whatever its called now) to your current apache bin directory in both apache install locations though. And set the PHPINIDIR setting in your apache .conf file also.
     

Share This Page