1. gary
  2. Valentina Reports ADK
  3. Среда, Октябрь 03 2018, 04:13 PM
  4.  Подписаться через email
Hi,

I follow this video to install valentina adk for php.
https://www.youtube.com/watch?v=qgqiDGFKVnM

I am using wampserver64, and php is 5.6.25. So I copy php56_pdo_valentina.dll and php56_valentina.dll to wampserver php ext folder. And add these two lines:

extension=php56_pdo_valentina.dll
extension=php56_valentina.dll

And restart the apache service. But when I do the phpinfo(), I cant see valentina extension. But wampserver show that these two extensions are loaded, see the attachment.

Any idea? thanks


regards,
Gary
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Gary,

I think the problem is in the architecture mismatch.
Currently, VPHP extensions are 32-bit, so they can be used with 32-bit PHP.
Комментарий
There are no comments made yet.
gary Ответ принят
So what is the solution now? Do I need to download 64bit php adk? But it seems there is no for download
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Now you can use 32-bit wampserver with VPHP. Or it is undesirable to install it?
Комментарий
There are no comments made yet.
gary Ответ принят
Even I install wampserver 32bit, still cant load the extension. Please check the attachment, I add these two lines in php.ini, and also copy two valentina dlls to wamp32 php ext folder.

Anything wrong?
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
I'll try to install myself.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
1. I installed the latest version of wampserver 32-bit.

2. To start the servers it was necessary to install MSVCR 110 and 120.

3. Switched the PHP version to 5.6

4. Then I copied extensions to C:\wamp\bin\php\php5.6.38\ext

5. Added them to the Dynamic Extensions section of the PHP configuration - php.ini in the wampserver menu, turns out it is phpForApache.ini in C:\wamp\bin\php\php5.6.38 folder.

extension=php56_pdo_valentina
extension=php56_valentina

6. Restarted all services from wampserver menu.

Now the phpinfo() shows that the extensions are loaded.

What version of wampserver do you use? My php.ini file looks very different from yours (other extensions, ".dll" added to extension name)
Вложения
Комментарий
There are no comments made yet.
gary Ответ принят
I did the same thing as you except the 2. What MSVCR does in this issue?

Attachment is my wampserver info.
Вложения
Комментарий
There are no comments made yet.
gary Ответ принят
Alright, the problem solve. So I just need to mark wampserver32 to use 5.6 instead of 7.x. Thanks.

But I have an issue to switch from wamp64 to wamp32. I can't connect the wamp32 mysql, it said wrong password.

Switching from 64 to 32 is big cost for me. I still prefer the complete solution: adk 64 bit for php
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories