Enable mongo PHP extension in Microsoft Azure Websites - php

I'm trying to load php_mongo.dll extension in Azure Websites.
I tried this guide http://cloud.dzone.com/articles/using-custom-php-extensions , but it doesn't work.
I looked at the phpinfo() but the extension does not get loaded. At one point, I managed to do it, but I have no idea how I did it. Now it doesn't work anymore.
Is there a working guide to how to activate custom php extensions on azure websites? Or any idea how I can do this?
Thank you!
PS: I'm using PHP_EXTENSIONS : bin\php_mongo.dll in App Settings, PHP version 5.5, where php_mongo.dll is 1.6.2-5.5-VC11-X86-NTS

Here's the answer: use double backslash.
bin\\php_mongo.dll

Related

Recompiling PHP, when I've previously installed it with XAMPP

I'm on Windows 10, and I really need to install this PHP extension in order to use advanced GeoPHP methods. I've already asked about this previously here. There is no available DLL for this extension, and the instructions for installation on GitHub are for Linux. What I've understood is that I need to recompile PHP with the extensions in the ext folder, so I'm planning on doing that using these instructions. However, I've previously installed PHP through XAMPP.
My question is, will these instructions work with this? If yes, where can I find the PHP source files? I'm not quite sure what they look like, and googling "PHP source files location" gives me stuff about actual PHP files, not the ones used for installation. I just want to make sure. Thanks.
No, you do not have to recompile PHP. The module you stated is not baked into PHP but dynamically included.
Just build the module and include it like
extension=geos.dll
The Github link you posted does have instructions...

Can you use php without downloading it?

I am trying to use php on my website but I am wondering if I could use it without downloading it. I've already surfed the internet for a answer, but none of them had a clear answer. Please help!
To start using PHP, you can:
Find a web host with PHP and MySQL support OR
Install a web server on your own PC, and then install PHP and MySQL
If your server has activated support for PHP you do not need to do anything.
Just create some .php files, place them in your web directory, and the server will automatically parse them for you.
You do not need to compile anything or install any extra tools.
Because PHP is free, most web hosts offer PHP support.
Source: https://www.w3schools.com/php/php_install.asp

Active Directory Integration Plugin

I'm trying to integrate my Active directory to my website. So, I downloaded the AD Integration Plugin, but it says "ATTENTION: You have no LDAP support. This plugin won´t work. You must install or enable LDAP support in PHP."
How do I fix that? Is that a php problem?
Thanks for the help :D
This is for your reference. I was able to solve my problem. It seems that when linux was installed to my server, ldap was not installed with it. So, what I did was I installed it following this link http://docs.adaptivecomputing.com/viewp ... entos6.htm. After that, I compiled ldap to php. I followed this link: https://ma.ttias.be/how-to-compile-and- ... om-source/.

Symfony config.php keeps asking for enabling intl extension, though it is enabled?

I have come across this question which states exactly my problem, except that I'm using Wamp, not Xampp.
Symfony 2: Install and enable the intl extension
Though I enabled php_intl extension through the Wamp drop down menu, and making sure that the extension was not commented out in my php.ini configuration file, Symfony just keeps recommending me to enable intl extension.
I have visited the link in the accepted question:
http://php.net/manual/en/intl.requirements.php
Still no luck. I have visited the ICU Homepage and even attempted to download it, and then I just don't know what file to download or what link to follow.
I'd like someone who can point me to the right direction. I'm quite new to PHP (only two sites developed with it), and am a total beginner with Symfony. And I also can't understand all those tricks with Pearl, PECL, Composer, etc. I feel completely lost.
Thanks for any help.
Check the comments when you are using the app/check.php script:
* Configuration file used by PHP: /etc/php5/cli/php.ini
** ATTENTION **
* The PHP CLI can use a different php.ini file
* than the one used with your web server.
* To be on the safe side, please also launch the requirements check
* from your web server using the web/config.php script.
Make sure intl is enabled in the right php.ini file.
For getting started with Symfony I strongly recommend the video's from KNP University (knpuniversity.com). I thought they were excellent to get me started with Symfony. For composer enter $ php composer.phar list in the terminal to view all the options that come with composer.
After having searched and searched again and again, I have found that the history information of my browser fooled me.
First, I have copied the icu*.dll files from my %WAMP_INSTALL_DIR%\bin\php\php5.4.12 to my %WAMP_INSTALL_DIR%\bin\apache\Apache2.4.4\bin as mentioned here: intl extension php_intl.dll with wamp, and restarted all of my services.
Then, I had the idea of clearing my history, after having copied the files as above-mentioned, and it worked!
I do hope this will help others.

Missing extention for php and mysql

I'm trying to install word-press on my website. i have php and its working and my mysql is working too. i need to install mysql extension for php.
This is my error im getting when trying the word-press install file.
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."
thanks
btw its windows using IIS
you didn't mention what OS you're using. just the same, here's a link: http://www.cyberciti.biz/faq/install-mysql-php-support-for-wordpress/
Google (and StackOverflow's sister site) to the (potential) rescue! :)
https://superuser.com/questions/58470/wordpress-problem-your-php-installation-appears-to-be-missing-the-mysql-extensio
What is the path to php_mysql.dll? Is it correct in php.ini?
If you don't have access to php.ini, talk to your web host.

Categories