Installation OCI8 extension to MAMP not works - php

I followed a few steps from http://caseymorford.com to install the OCI8 extension. The only issue was that the install-path on success was different. So i copied the oci8.so file to the right folder.
After restarting Apache and running some php, i still get the message:
Call to undefined function oci_connect()
Is there some other way to download a complete > PHP5.4 version with a build in oci extension?

Related

How can i install the php-pgsql on windows?

whenever I initiate my localhost webpage, it returns me
Call to undefined function pg_connect()
And i found out the am missing the php-psql on it. Now, how can i install it on windows as all the threads regarding that are on a Ubuntu environment.
I too had the same issue where pdo_pgsql and pgsql were not loading in PHP 7.1.8 even though I had the latest PostgreSQL 9.4.6 and Apache 2.4.26 on Windows Server 2016. The solution was pointing Apache's httpd.conf to the correct libpg.dll in PostgreSQL/bin folder. Then the modules loaded correctly in PHP 7.
See pgsql extension is not loading

TYPO3 6.2 -> PHP 5.3 -> MySQL issue

I am stuck at a problem about setup a old TYPO3 6.2 project. I am forced to use PHP 5.3 and I am not able to use MySQLi, TYPO3 throws an error:
1271492607:Database Error: PHP mysqli extension not loaded. This is a must have for TYPO3 CMS!
How can I enable MySQLi now?
Using Ubuntu 16.04, downloaded PHP 5.3 and the MySQL extension from ppa, here
I am thankful for any help
Is the php53-mod-mysql installed and also activated? Create an test.php with the content <?php php_info(): ?> to check if the mysqli module is loaded. Otherwise you should check your php.ini, or the /etc/php5/conf.d respective the /etc/php5/mods-available/ directory if the module is available.
You can also try to run the command php5enmod mysqli and after that restart your Apache (service apache2 restart) and try again.

MAMP PHP 5.6.2 mssql.so extension not installing

I'm having trouble installing the mssql.so extension in MAMP on Yosemite. I've followed the following tutorial multiple times, with no luck:
http://blog.benjaminwalters.net/?p=10
I'm using PHP v5.6.2; therefore, used/compiled the 5.6.2 version from source when following that section of the tutorial. I've placed the mssql.so library file in the extensions directory as instructed and added the appropriate extension=mssql.so line to the correct version of the php.ini file as displayed from the phpInfo page, in the Loaded Configuration File section of the MAMP start portal.
After these things, the same phpInfo page still does not display the mssql sub-section in the installed extensions area and I am still getting the following error:
Fatal error: Call to undefined function mssql_connect() in /Users/sadmicrowave/Documents/Coding/Astoria/bin/commonfunctionlibrary.php on line 16
I'm not sure what else to do to try and install this extension and get mssql_connect() to work. Any ideas?

How to install new extension in Apache

Hi friends i am using Apache 2.4.4 (Win64), PHP 5.4.12. I need to install a new extension in it. I have a dll file of that extension i.e. pspell.dll. How should i make it work in my Apache? I have copied this dll to apache/Apache2.4.4/bin/. And enabled extension=php_pspell.dll in apache/Apache2.4.4/bin/php.ini. Restarted my apache but still getting no sign of this extension in phpinfo();. Please tell me what should i do?
Also getting this error:
Fatal error: Call to undefined function pspell_new()
Check server logs to see where is the problem.
Usually it's because file can't be found on disk or DLL file is not compatible with PHP - both PHP and DLL have to be compiled for same architecture, with same compiler and thread safety options.

MySQL through PHP through Apache on Windows dont work

I am working on a Windows 7(x64) with Apache 2.4 x86, Php54 x86
and MySql 5.6 x64.
PHP is working well on my Apache Web Server.
When i run PHP from CommandLine : php dbTest.php it runs without problems
but when i try to load my page, i get the error Fatal error: Call to undefined function mysqli_connect() in <path to dbtest.php> on line 3
tried installing PHP 55 but nothin...
Tried putting libmysql.dll in (php dir, win/system32, apache bin)
installed VC71 runtimes (because i saw it in a troubleshooting guide)
Edit:
- also tried installing all x64 (Apache and PHP)
- tried to install Apache v2.2 and PHP v5.3,
Nothing works...
how come running the command-line works but through Apache, it isn't working?
i see mysqlnd listed, but not mysql/mysqli, as if mysqlnd was the module...
Thank you for your time.
and for saving me the last few hair i have!
PHP 5.4 comes with mysqlnd installed by default so you shouldn't need libmysqli.dll
Does phpinfo() list a mysqli block?
You need this file in ext directory php_mysqli.dll

Categories