View previous topic :: View next topic |
Author |
Message |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Fri Jun 09, 2006 4:54 am Post subject: PHP errors. |
|
|
Hi,
There's days when I get these errors and I can't even login to gallery (I'm using Gallery and using this I usually see these errors.) Then some where I get errors and can successfully login.
And days when there's no errors at all.
I'm confused.
I usually get these in a set of 3 errors, I click on for the first, and then there's the second and then the third.
In this sequence:
1) php-cgi.exe - Entry point not found <window title>
The procedure entry point _zval_copy_ctor could not be located in the dynamic link library php5ts.dll
2) php-cgi.exe - Unable to locate component <window title>
The application has failed to start because php_pdo.dll was not found. Re-installing the application may fix the problem.
3) php-cgi.exe - Unable to locate component <window title>
This application has failed to start because CORE_RL_magick.dll was not found. Re-installing the application may fix this problem.
Now here's the deal. I have these DLLs, I don't know why I'm getting all this attitude. I do know that the way I enable them might make a difference, so here they are.. listed exactly in that order <snippet> in my php.ini:
;extension=php_sockets.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_sqlite.dll
extension=php_pdf.dll
extension=php_imagick.dll
I googled, and I did a lotta things. Looked here and on gallery, and couldn't find much. And Gallery's forums really seriously suck.
Now, please someone, pleaseee help.
Thanks.
Quote: | Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.1.4 cgi-fcgi
Webserver = Abyss/2.3.2-X1-Win32 AbyssLib/2.3.2
Database = mysql 5.0.21-community-nt, lock.system=database
Toolkits = Exif, Thumbnail, Gd, ArchiveUpload
Acceleration = none, none
Operating system = Windows NT XEUS 5.1 build 2600
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) |
|
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jun 09, 2006 12:19 pm Post subject: Re: PHP errors. |
|
|
Devileyezz,
It seems that you are using a PHP extension designed for a specific version of PHP on another version of PHP.
First of all, we suggest that you use our preconfigured PHP 5 package http://www.aprelium.com/abyssws/php5win.html . The php_pdo.dll and the php5ts.dll should disappear.
Regarding CORE_RL_magick.dll, try adding the directory where it is located to your Windows global environment variable PATH. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Fri Jun 09, 2006 1:08 pm Post subject: |
|
|
Thanks for replying. :)
Would I be able to use all those extensions with your pre-configured package that I'd like to use then? Like php_pdf.dll, etc? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jun 10, 2006 4:26 pm Post subject: |
|
|
Devileyezz wrote: | Thanks for replying. :)
Would I be able to use all those extensions with your pre-configured package that I'd like to use then? Like php_pdf.dll, etc? |
Yes. You can enable any extension you'd like to use (besides the default ones) as explained in the bottom of the page http://www.aprelium.com/abyssws/php5win.html . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Sat Jun 10, 2006 7:04 pm Post subject: |
|
|
Can I install in the same dir of the old PHP (v5.1.4)?
Or will it mess up? |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Sat Jun 10, 2006 8:25 pm Post subject: |
|
|
Well, I installed in another directory.
And I'm still getting those errors. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Jun 11, 2006 2:24 pm Post subject: |
|
|
Devileyezz wrote: | Well, I installed in another directory.
And I'm still getting those errors. |
Have you altered the php.ini file? Have you removed the PHP_RC custom environment variable? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Sun Jun 11, 2006 2:42 pm Post subject: |
|
|
I accidentally removed all info in the PATH from command prompt.
But I put most of it back, including the new path.
Then, I went to System properties (Win XP) and added a CEV PHPRC as the name, and address as E:\PHP5
What am I doing wrong? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Jun 11, 2006 2:58 pm Post subject: |
|
|
Devileyezz wrote: | I accidentally removed all info in the PATH from command prompt.
But I put most of it back, including the new path.
Then, I went to System properties (Win XP) and added a CEV PHPRC as the name, and address as E:\PHP5
What am I doing wrong? |
There is no need for PHP_RC with our new preconfigured package. In http://www.aprelium.com/abyssws/php5win.html there is no mention of PHP_RC.
Our guess is that your PATH variable contains directories where some PHP DLLs are located and these are used instead of the ones that come with our package. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Sun Jun 11, 2006 3:20 pm Post subject: |
|
|
Hmm, so do I empty out the PATH variable on command prompt, and delete the PHPRC variable in the CEV? |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Mon Jun 12, 2006 5:12 am Post subject: |
|
|
So, I looked at this again.
And yes, after installing the pre-conf package, I edited the .ini to add php_pdf.dll and php_imagick.dll, and those were the errors.
And since I don't currently need them, I commented those lines in the php.ini, and so far there hasn't been an error.
So, mystery solved.
__BUT__
What if I want to use these in the future? We still need to figure out how to run them error-free. :) |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Jun 12, 2006 3:00 pm Post subject: |
|
|
Devileyezz wrote: | And yes, after installing the pre-conf package, I edited the .ini to add php_pdf.dll and php_imagick.dll, and those were the errors. |
php_imagick.dll is not part of the preconfigured package. So declaring it in php.ini only is not sufficient. To add it, you'll have to use an extension that was compiled for the exact version of PHP you are using and it has to be put in the correct paths. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Mon Jun 12, 2006 4:04 pm Post subject: |
|
|
And how can I get that done for both those DLLs?
If you don't mind could you please point me in the right direction? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Jun 13, 2006 11:17 am Post subject: |
|
|
Devileyezz wrote: | And how can I get that done for both those DLLs?
If you don't mind could you please point me in the right direction? |
Look at the documentation of these extensions. There no general guidelines as each extension has its own prerequisites. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Devileyezz -
Joined: 18 Aug 2005 Posts: 29
|
Posted: Tue Jun 13, 2006 12:59 pm Post subject: |
|
|
Ok. Thank you so much in this regard. |
|
Back to top |
|
 |
|