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
Related
I have problem witch SQLAnywhere client libraries.
They no longer know what to do. I searched on the internet but to no avail.
The client is installed, the bible libdbcapi.so exists in the directory /opt/sqlanywhere12/lib64/.
Details:
Ubuntu 16.04
PHP 5.6
Nginx
Thank you
Make sure that your web server executes the /opt/sqlanywhere12/bin64/sa_config.sh script as part of its initialization. That sets the LD_LIBRARY_PATH variable mentioned in the error message.
Oki.
I came to fix it.
After all, even the client updated to version 17.
Was enough only to add:
env[PATH] = /opt/sqlanywhere17/lib64
File:
/etc/php/5.6/fpm/pool.d/www.conf
Then rebooting: php5.6-fpm.service
And ready to work :)
Thank you for help :)
I hope it will help others.
This issue started just after I upgraded my Mac to OS X El Capitan. Before that it was working just fine.
I am using XAMPP and Oracle Instant Client was properly set up to connect with Oracle DB. I followed the instructions mentioned here while installing (click on the question "How do I activate the OCI8/Oracle extension for PHP?").
But, after I upgraded my OS to OS X El Capitan, it started to show this warning,
Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that DYLD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries
I am searching for solution all over the internet (not only SO), for the last few days and the nearest match I found was this : https://stackoverflow.com/a/20670810/5645769. So, I tried to edit the file org.apache.httpd.plist, as suggessted by the answer. But I was having this error :
You don't own the file "org.apache.httpd.plist" and don't have permission to write to it. You can duplicate this document and edit the duplicate. Only the duplicate will include your changes.
I asked about that to OP and his reply didn't make any help to resolve the issue. So my search for solutions continued. After a few more days of search, I found this post https://stackoverflow.com/a/32910408/5645769. So I followed the instructions to disable SIP (System Intregrity Protection) and I was then able to add write access to the file and containing folder for my account (and also administrator). After that oci_connect() started working again.
But when I disabled the SIP again following the same answer, the same error comes again. I am not sure, but it seems like there is something happening with other file permissions which oci_connect() is trying to use but it can access only when SIP is disabled.
Currently I am working with keeping the SIP disabled (not sure, what harm it may cause), I need a solution which will work while keeping the SIP enabled.
I am spending many days with this. Any help will be highly appreciated.
/System/Library/LaunchDaemons/org.apache.httpd.plist is only for controlling the behaviour of the Apache server built in to OS X.
To set DYLD_LIBRARY_PATH for the XAMPP version of Apache you'll need to edit its startup script:
sudo nano /Applications/XAMPP/xamppfiles/apache2/ctl.sh
On the second line of the file, after #!/bin/sh you can add whatever you need to:
#!/bin/sh
DYLD_LIBRARY_PATH=/path/to/your/library/files
ERROR=0
HTTPD_STATUS=""
HTTPD_PIDFILE=/Applications/XAMPP/xamppfiles/logs/httpd.pid
HTTPD="/Applications/XAMPP/xamppfiles/bin/httpd -f /Applications/XAMPP/xamppfiles/etc/httpd.conf"
DO NOT disable system integrity protection. It's there for a reason.
currently I am trying to create active directory login by using PHP and OpenLDAP. But, when I tried to start the OpenLDAP, an error appear:
-bash: slapd: command not found
What's wrong with that? How can I fix it?
FYI: I have tried to googling it, and I don't found something related to this error.
Thank you so much for your help.
If you're using Active Directory, you don't have any need to start 'slapd' at all, that being the OpenLDAP server.
The only way your question makes sense is if you're using the OpenLDAP client.
first check whether you have openldap installed.
rpm -qa | grep ldap
If it is there, you can start it by
/usr/local/libexec/slapd
You need to switch to root before you run it.
I'm trying to install SugarCRM version 5.5.1. on a webhost.
Everything goes nice until the step when the installation begins.
The output is this one:
Creating Sugar configuration file
(config.php)
Creating Sugar application tables,
audit tables and relationship metadata
.............
And never moves on!
I check the database and can see that there are tables missing. The install.log file doesnt have any errors, and the last line in the file is:
2010-04-27 22:17:03...creating
Relationship Meta for Bug
It seems the installation stopped here, but i cant get why! Iv searched in the foruns, etc, but cant get it...
Anyone had this issue? Any clues about whats happening?
Thanks a lot
maybe this is caused by php timeout, please change your php.ini
max_execution_time = 600 ; Maximum execution time of each script, in seconds
You could try and open source installer from: http://bitnami.org/
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.