memcached not getting loaded for php7 - memcached

I am using Easyphp-DevServer-17 and PHP7 ,I want to use "memcached" with PHP-7.1 , I downloaded memcached dll files from the following link
php 7 memcahced
I tried adding dll files to ext folder in php 7 but phpinfo file
doesn't reflect it
and i tried following code
$servers = array(array('localserver', 11212));
$memcacheD = new Memcached;
but it throws following error "Fatal error: Uncaught Error: Class 'Memcached' not found"
Please help me on this issue as i am new to php and struggling to load memcached extension

First of all ensure you have the correct version of memcacheD. Most of the versions for Windows out there are memcache, without the D at the end, even the name of the libraries are called memcacheD. It's very misleading but I have added the link to the correct version below. To clarify, memcache and memcacheD are not the same and cannot be interchanged.
Run phpinfo() and make notations of Compiler, Architecture, Thread Safety, you will need this to get the correct version of the DLL.
Download the correct memcacheD version from https://github.com/lifenglsf/php_memcached_dll There are 2 files, the php extension DLL and the lib DLL. You need both.
Save the php extension DLL in your easyPHP folder, in my case was \eds-binaries\php\php713vc14x86x220414190951\ext.
Enable the extension in php.ini, I renamed the DLL so in my case I had to add the line extension=php_memcached.dll
Save libmemcached.dll in C:\windows
Reload Apache to ensure the config is refreshed.
And that's it. Now run phpinfo() again and should show there. If it's not working check Apache error log, it will tell you if the DLL failed to load. If you get the "not a Win32 application" message it means you didn't download the correct DLL.
Remember you also have to have the service running, memcached.exe -d start from cmd should do.

Related

TYPO3 Upgrade Psr Problem vom 10.x to 11.5.8,

I tried to upgrade from 10.x to 11.5.8 and nothing was working anymore. If I try to open the url I recieve the following error message:
Fatal error: Declaration of TYPO3\CMS\Extbase\Mvc\Controller\AbstractController::processRequest(TYPO3\CMS\Extbase\Mvc\RequestInterface $request, TYPO3\CMS\Extbase\Mvc\ResponseInterface $response) must be compatible with TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface::processRequest(TYPO3\CMS\Extbase\Mvc\RequestInterface $request): Psr\Http\Message\ResponseInterface in C:\inetpub\wwwroot\typo3\sysext\extbase\Classes\Mvc\Controller\AbstractController.php on line 243
So the next step was to disable all my extensions.
If I try to open the backend, I recieve the same message as above.
The next step was to use the Install Tool, which was working. But if I try to use some functions like "Upgrade Wizard", "Analyze Database Structure", "
Remove Temporary Assets", ....
But the sys_log and the log files under typo3temp are empty!
And also the firefox degugger is not showing any information.
PHP 7.4.15, no composer installation and chaches all deleted!
What should I do next?
The first error message says that there are Extbase extensions which are not compatible with v11. See https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92502-MakeExtbaseHandlePSR7ResponsesOnly.html
For the second error I'd recommend to look into the dev console of your browser. There you might see more information about the error when there is nothing in the logs. (Maybe there is an error when writing log?)
The mentioned file "AbstractController.php" exists only in version 10 and was removed afterwards.
So TYPO3 is using some old files, probably from the file-cache.
You wrote that you use an installation without composer-setup. Those installations have the file-cache saved in typo3temp/var/cache. This folder can be deleted completely and will be rebuilt automatically.
Afterwards TYPO3 version 11 should run and the error-message should never be shown again.
Due to my experiences with updating TYPO3 to a new mayor release, i did the following steps.
Renamed fileadmin dir
Deleted all TYPO3 dirs
Installed the new version of TYPO3
Start TYPO3 from scratch with an new database (use the ID and passwort from the final database, use the right sitename)
Rename the fileadmin dir back to fileadmin
Go into LocalConfiguration.php and switch under DB to the original database
(Maybe) enable 'debug' => true, for BE and FE and set 'displayErrors' => 1, under SYS
Try to start the BE, if failed go to the Install tool.
Start Upgrade Wizard under Upgrade
In the Install tool start the Analyze Database Structure, but be carefull. that you dont't delete any database of your extensions, which not installed yet!
Now the BE should work now and you can upgrade your extensions!
Good Look.

httpd.exe - Entry Point Not Found XAMPP

I am working on some stuff for mongodb and when I try to launch Apache using XAMPP an error occurs: "The procedure entry point compiler_globals_offset could not be located in the dynamic link library D:\XAMPP\php\ext\php_mongodb.dll" I do have a comment in php.ini (D:\XAMPP\PHP) that targets it: extension=php_mongodb.dll. The launch does work if I comment the extension=php_mongodb.dll
Thanks for your help.
I run into the same issue. But than I saw, that I had chosen the DLL for a wrong php version.
Just check for your self if you download the dll for the right php version

Doxygen - unable to load isutils.dll

I'm installing Doxygen on Windows 8.1 64 bit. At the end of installation, it throws up "unable to load isutils.dll" followed by an unable to set PATH error. I'm not bothered about the PATH error, I presume that is just a case of manually adding "C:\Program Files\doxygen\bin" to the PATH but what is the isutils.dll error about and how do I fix it?
Edited to add this:
I don't know if this is related or not but when I run the Doxygen wizard after installation and click the Select... button for scan/store directory, the application permanently shows the busy icon and stops responding, I have to break out of it using Task Manager.
I got a response on the Doxygen mailing list from Dimitri van Heesch, the developer of Doxygen. He said that this appeared to be a glitch in the installer script which he has fixed. I downloaded the new version and it installed with no issues.

failed to load RSL textLayout

I just installed gentoo linux amd64.
on that I installed eclipse 4.2M5 with FD5 for flex development.
after compiling my project, when I execute it i get the following in the log file:
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz
Failing over to RSL textLayout_1.1.0.604.swz
Error #2046: The loaded file did not have a valid signature.
i use FD5 with Flex 4.1A.
any ideas why it happens ?
update:
it seems that when I close and open my project I am able to execute my project once. the 2nd time that I execute the project on my browser I get the error and I need to close and reopen the browser to execute it again.
First of all thank you for all of your comments.
I finally was able to properly resolve the issue.
it seems that flash saves cache info at ~/.macromedia
(~ for home dir, for example if the user is ufk so it translates to /homeukf)
all I need to do is to delete that folder, since then I am able to refresh my app on the browser without any problems.

Problems with zend-tool reporting that providers are not valid

I have recently setup XAMPP 1.7.3 and ZendFramework 1.10.4 on a new computer and many of the commands that I normally use now fail.
Here are the steps I used to setup and test ZF.
First I added the ZF library folder (C:\xampp\php\ZendFramework-1.10.4\library) to the include path in php.ini.
Then I added the ZF bin folder (C:\xampp\php\ZendFramework-1.10.4\bin) to my Path system variable.
To test that everything is configured correctly I ran the command "zf show version" from the command line. The result is "Zend Framework Version: 1.9.6".
Immediately something appears to be wrong. The file that is downloaded is "ZendFramework-1.10.4.zip" and the reported version is 1.9.6. I have re-downloaded the latest version (1.10.4) and removed old copy. Still the incorrect version number problem persisted.
Having done some research there is a bug in the ZF knowledgebase that version 1.10.3 reports a wrong version number. So that may explain the version number problem.
Moving forward I tried to run some zf-tool commands and certain commands reports that the action or provider is not valid.
Example:
C:\xampp\htdocs>zf create project test
Creating project at C:/xampp/htdocs/test
C:\xampp\htdocs>cd test
C:\xampp\htdocs\test>zf create controller Test
Creating a controller at C:\xampp\htdocs\test/application/controllers/TestController.php
...
Updating project profile 'C:\xampp\htdocs\test/.zfproject.xml'
C:\xampp\htdocs\test>zf create action test Test
Creating an action named test inside controller at C:\xampp\htdocs\test/application/controllers/TestController.php
...
Updating project profile 'C:\xampp\htdocs\test/.zfproject.xml'
C:\xampp\htdocs\test>zf enable layout
An Error Has Occurred
Action 'enable' is not a valid action.
...
C:\xampp\htdocs\test>zf create form Test
An Error Has Occurred
Provider 'form' is not a valid provider.
...
Can any one provide insight into these errors and how to correct them?
I had a similar issue, it turned out that I needed to manually update the zf.bat and zf.php files that came included with xampp after updating to the latest zend framework.
I got them from the zend svn here: http://framework.zend.com/svn/framework/standard/trunk/bin/
the simple way if you are using xampp, just go to the path "xampp\php\PEAR" an replace the older Zend directory with all included files by a new one zend 1.10... dir and your porblems are lost :)
i think your problem is, that Zend Tool is shipped with xampp since some versions.
Try to find zf.bat in your Xampp directory and remove it ;)
ZF friends have written the worst kind of docs. For XAMPP user, it is more difficult. I have learning ZF and posting error getting on the path. I am also using XAMPP.
Your error list is very big. I hope I can help you.
Solution for error "An Error Has Occurred
Action 'enable' is not a valid action." is XAMPP's Zend Tool installation. Delete that.
Check here for more details about the solution and other possible errors: http://www.satya-weblog.com/2010/11/zend-framework-creating-layout.html.