Installation trouble shoot for Pacsone 6.1.3

Trouble during PacsOne Server installations
Post Reply
LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm
Installation trouble shoot for Pacsone 6.1.3

Post by LMSSML » Fri Dec 17, 2010 10:06 pm

Hi there,

I've setup up the new verion of Pacsone with the following:
mysql 5.5.8
Apache 2.2.17
PHP 5.3
Althout the error on PHP is:
PHP Fatal error: Call to undefined function imagick_readimage() in C:\Program Files\PacsOne\php\login.php on line 51
And the image for anti-spam doesn't appear

:twisted:

Any Help ?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sat Dec 18, 2010 1:22 am

It looks like the ImageMagick PHP extension was not loaded successfully, so can you verify this by checking if it's on the list of loaded PHP extensions from the output of the test page?

http://localhost/pacsone/Hello.php

LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm

Post by LMSSML » Sat Dec 18, 2010 2:07 am

Hi there,

Probably my probglem I will review the manual.

Because the dll has been put on the folder that needed.

but imagic does not appear on that page.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sat Dec 18, 2010 1:03 pm

Can you post the HTML output of the test page from your server?

http://localhost/pacsone/Hello.php

LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm

Post by LMSSML » Sat Dec 18, 2010 2:50 pm

Ok


I've got a worng installation with PHP vc 9 and uninstalled and installed vc6 has told on manual at this moment I could not load php5apache2_2.dll and could not load web pages with php .

So at the moment could not post the hello.php

Faulting application httpd.exe, version 2.2.17.0, faulting module php5ts.dll, version 5.3.4.0, fault address 0x000e837c.

But no errors on apcahe log and no errors on php log.

LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm

Post by LMSSML » Sat Dec 18, 2010 3:28 pm

So I made something

to recover from the error on last post

I copied the dll from php 5.3 VC9 to version 6.

and the error disappear (I've uninstalled vc 9 and rebooted, then installed vc6 and appears an error posted before)

But now I've got no anti spam code

php error log
18-Dec-2010 15:37:32] PHP Warning: PHP Startup: tidy: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC6
PHP compiled with build ID=API20090626,TS,VC9
These options need to match
in Unknown on line 0
[18-Dec-2010 15:37:32] PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC6
PHP compiled with build ID=API20090626,TS,VC9
These options need to match
in Unknown on line 0
[18-Dec-2010 15:37:32] PHP Warning: PHP Startup: xsl: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC6
PHP compiled with build ID=API20090626,TS,VC9
These options need to match
in Unknown on line 0
[18-Dec-2010 15:37:32] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php5/ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
[18-Dec-2010 15:37:42] PHP Fatal error: Call to undefined function imagick_readimage() in C:\Program Files\PacsOne\php\login.php on line 51

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sun Dec 19, 2010 12:38 am

LMSSML wrote: php error log
18-Dec-2010 15:37:32] PHP Warning: PHP Startup: tidy: Unable to initialize module
Module compiled with build ID=API20090626,TS,VC6
PHP compiled with build ID=API20090626,TS,VC9
These options need to match
in Unknown on line 0
The error means you've installed VC9 build of PHP package, but the ImageMagick PHP extension was built with the VC6 libraries which won't work with the VC9 build of PHP. So you should un-install VC9 build of PHP and re-install VC6 build of the same PHP version.

LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm

Post by LMSSML » Sun Dec 19, 2010 12:28 pm

OK

Is there any simple way to build php on windows 2003 without microsoft tools ?


Wouldn't a remove program (php) and reboot would be enough ?

Sorry for the basic questions ?

LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm

Post by LMSSML » Sun Dec 19, 2010 7:13 pm

Found and correct the problem

All extensions on file php.ini must be commented out

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Mon Dec 20, 2010 2:13 am

This should not be the case where you had to remove all extensions to be loaded, but you do need to load the 'mysql/mysqli' and the ImageMagick extensions in order to run PacsOne Server.

LMSSML
Posts:71
Joined:Thu Sep 04, 2008 9:17 pm

Post by LMSSML » Tue Dec 21, 2010 7:09 pm

Hi there,

Even that extension I've commented out and no problem at the moment.

Post Reply