Hi stackoverlow community
My goal is to install Symfony.
Therefore I have installed Xampp and the Composer. Unfortunately I do not fulfill all requirements. As soon as I start the following path, e.g. http://localhost:8000/check.php
Then I get the following error message:
"Install and/or enable a PHP accelerator (highly recommended)."
I took a screenshot of the error message. You can find it in the attachment. You can also find a detailed description of the problem as Youtube video.
https://youtu.be/XM0Rv0eVI7Q
To solve the problem, I downloaded the file php_apcu.dll and copied it into the folder: C:\xampp\php\ext. In the PHP.ini file I added the line extension=php_apcu.dll. Unfortunately this did not help.
Can someone tell me how I can solve the problem so that the error message disappears "Install and/or enable a PHP accelerator (highly recommended)".
Kind regards, Juergenenter image description here
Related
I am trying to install XAMPP so that I can work it with PHP. But I have failed to open it, however I realised that other people downloading it, it comes as a dmg extension but mine comes as a bz2 extension. Is this the error? If so, how can I solve it? if it's not, would anyone share with me whats causing the error and how to solve it?
Thanks!
You can go check their repo https://sourceforge.net/projects/xampp/files/
you can find .dmg in "XAMPP Mac OS X/" folder
You can change the file extension of the downloaded file manually to dmg and it will work as it should.
I recommend to download the VM version.
if you encounter the following error: "Error starting “XAMPP” stack: Cannot calculate MAC Address" when you trying to start the server, you can solve it by updating the Bitnami HyperKit file.
detailed instructions in the following link:
https://pookidevs.com/solved-error-starting-xampp-stack-cannot-calculate-mac-address/
On macOS, simply change the extension from .bz2 to .dmg so the installer mentioned should be changed to xxxxx.dmg then you can install it right away just double click on it.
credit to : https://stackoverflow.com/a/68201277/7048025
i just build a wordpress site and use lasted version 4.8.3
i want to use python-wordpress-xmlrpc module, one year ago i use this is work
but ,when i use QuickStart guide to try connect my wordpress,It Get erorr
i google two day but,not have any ans, i found a issued on module creator git-hub
https://github.com/maxcutler/python-wordpress-xmlrpc/issues/110
Look like some people have same error.
that is my code
host = 'http://sample.com'
wp = Client(host+'/xmlrpc.php', 'root', 'password')
print(wp)
r = wp.call(GetPosts())
#Error MEssage xmlrpc.client.Fault: <Fault -32700: 'parse error. not well formed'>
I think maybe is wordpress 4.8 on php7 environment will get error.
have any one can tell me how to fix this problem?
My experience with the -32700 error showed up when trying to use python 3, wordpress REST API and wordpress_xmlrpc python package.
When using the REST API the read functions all worked with pycurl. However, the authentication was a problem.
I moved to using wordpress_xmlrpc to solve the logon/handshake method. This worked well with my development/test wordpress instance but failed miserably when I moved to the QA site (fully copy of production).
In QA I kept receiving a -32700 xmlrpc python wordpress parse error. Very specific message with no real insight into what caused the problem. Searching "-32700 xmlrpc wordpress rest api python" gave many results, but few that actually helped. After trying numerous things here is the what actually helped.
Turn on Debugging in WordPress.
In wp-config.php there was a line:
define('WP_DEBUG', false);
To turn on debugging you need to change this to:
define('WP_DEBUG', true);
and then add the line:
define('WP_DEBUG_LOG', true);
Once this is in place you run your program it will produce an error that shows up in wp-content/debug.log. My error showed:
[10-Apr-2018 16:53:30 UTC] PHP Notice: PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension. in /home/cqinfo/www-wordpress/wp-includes/IXR/class-IXR-message.php on line 48
From here it was rather simple to solve. I had my admin install the PHP XML extension. AND RESTART apache.
Hope this helps others solve the mystery of the -32700 error for others.
We use this to populate a weekly news clipping that has our own thoughts on what is going on in the world of AI and Machine learning at CloudQuant.
Try this
from wordpress_xmlrpc import Client, WordPressPost
from wordpress_xmlrpc.methods import posts
host = 'http://sample.com'
wp = Client(host+'/xmlrpc.php', 'root', 'password')
r = wp.call(posts.GetPosts())
It looks like PHP XML extension is not installed on the server.
Ubuntu:
sudo apt-get install php-xml
sudo service apache2 restart
This resolved the issue in my case.
When I try to install Opencart V3.0.2.0 in Linux server, getting following error message.
Fatal error: Internal Zend error - Missing class information for in
/system/storage/vendor/twig/twig/lib/Twig/ParserInterface.php on line
31
I am not able to start my installation process. Any idea, Please help.
While this is not guaranteed to work, but since few people reported that they have been able to solve it disabling APC I would give it a try.
If you want to disable Alternative PHP Cache (APC), you can do so by modifying your PHP initialization file file.
Using your hosting account's editor (Web & Classic / cPanel / Plesk), open your website's PHP initialization file.
Note: I recommend backing up your PHP initialization file file before modifying it. You can do this by copying and renaming it in your file manager.
On a new line, type apc.enabled=0
Save your changes.
Already sitting on this issue for 2 day's checked many postes related to it here and all around the internet and still can't find what is the f problem..
I need to install this OAuth module (Pecl PHP Extention) I have my site on bitnami server so i tried allready 3 time with different guides (https://wiki.bitnami.com/Components/PHP#How_to_install_OAuth_module.3f)
(http://www.mkfoster.com/2009/01/04/how-to-install-a-php-pecl-extensionmodule-on-ubuntu/)
(and included all needed in php.ini) and still when i cheching with "php -m" in ssh and with phpinfo(); test page in not seems to be installed ,,, forgot to say i need it for implementing shapeways api when i am trying the implement the OAuth authentication it's crashing... if somebody have new ideas or maybe something i missed i would be glad to hear..
Bitnami developer here
Please try to run which php and check that the result is /opt/bitnami/php/bin/php.
Check you have a oauth.so in /opt/bitnami/php/lib/php/extensions/
In the last step of our wiki, you can add extension = '/opt/bitnami/php/lib/php/extensions/oauth.so' at the end of /opt/bitnami/php/etc/php.ini, or uncomment ;extension=oauth.so in the same file.
I hope it helps
David
I downloaded the Aptana_Studio_Setup_Linux.zip package, unpacked it and run ./AptanaStudio. It starts fine, but reports one problem:
The embedded browser widget for this editor cannot be created. It is either not available for your operating system or the system needs to be configured in order to support embedded browser.
After that, it opens the "Welcome page" in external browser (Mozilla), but when I click on a link to install PHP support it does not open the destination target. No wonder, because the link is in format: com.aptana....etc. I.e. written in reverse. I assume such links only work with internal browser.
If I look into details, I get these error messages:
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:138)
at org.eclipse.ui.internal.browser.BrowserViewer.<init>(BrowserViewer.java:224)
at org.eclipse.ui.internal.browser.WebBrowserEditor.createPartControl(WebBrowserEditor.java:78)
at com.aptana.ide.intro.browser.CoreBrowserEditor.createPartControl(CoreBrowserEditor.java:138)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
etc. I hope this is enough.
I tried to set the env. variable:
export MOZILLA_FIVE_HOME=/usr/lib/mozilla/
However, it only changes the error message to:
No more handles [NS_InitEmbedding /usr/lib/mozilla/ error -2147221164]
org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding /usr/lib/mozilla/ error -2147221164]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:225)
at org.eclipse.ui.internal.browser.BrowserViewer.<init>(BrowserViewer.java:224)
at org.eclipse.ui.internal.browser.WebBrowserEditor.createPartControl(WebBrowserEditor.java:78)
at com.aptana.ide.intro.browser.CoreBrowserEditor.createPartControl(CoreBrowserEditor.java:138)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
For start I really want to have PHP working, but I'd also like to fix the whole internal browser issue in the end.
I happened to come across this: https://groups.google.com/forum/#!msg/xmind/5SjPTy0MmEo/PbPi0OGzqPwJ
Which advised running:
sudo apt-get install libwebkitgtk-1.0-0
should solve the problem. It worked for me so I figured I'd share here.
FWIW, I ended up here while trying to get the Play! Framework working on Ubuntu 13.04. using the Scala-IDE. So far, everything seems to be working...
You need to download and install XULRunner from mozilla.org, and point MOZILLA_FIVE_HOME to that directory.
After installing xulrunner you need to set this:
MOZILLA_FIVE_HOME=/usr/lib/xulrunner
You will have to install XULRunner then edit the eclipse.ini.
After installing xulrunner, adding the following line in the eclipse.ini solved the problem of "No more handles" issue.
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/eclipse/xulrunner/
I am using eclipse 3.63 and ubuntu 12.04.
Edit: getting internal browser to work is NOT required in order to get PHP support in Aptana. Just install PHP support from Help, Software updates menu.
If this is the problem I think you're having, just installing Firefox 2 (alongside FF3) should fix the issue. It happens because Aptana can only use FF2 at the moment. Hopefully they'll fix this soon.
If you're on Ubuntu, it's really just a case of:
sudo apt-get install firefox-2
Naturally, the process will vary on different distributions.