change php.ini path
Posted by: crashbdx (---.104.220.92.static.pldt.net)
Date: March 19, 2017 07:56AM

Hi everyone, i have a problem, i installed easyphp before then wamp, im using wamp now but seem that the called php.init is still the one from easyphp, at least when i use command line, how do i make php.ini from wamp the general one please ?

Here what i get :

ERROR: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5619vc11x86x160405100245\ext\php_pdo_oci.dll' - Le module spécifié est introuvable.

But i don't use easyphp anymore, i use wamp and i activated this library in wamp...

Options: ReplyQuote
Re: change php.ini path
Posted by: RiggsFolly (Moderator)
Date: March 19, 2017 11:52AM

Hi

Try search for `php.ini` across your whole disk. There should only be one in the \wamp\..... folders

Also check your PATH does not have a reference to a folder that contains the EasyPHP install folder. WAMPServer does not require anything to be in the PATH, but other software sometimes does.

A simple way to find which `php.ini` file is being used by the PHP CLI is to run
>php --ini

This will show you the ini file that it is using

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: change php.ini path
Posted by: Otomatic (Moderator)
Date: March 19, 2017 05:46PM

Hi,

> But i don't use easyphp anymore,
Well ! The best solution is to completely uninstall EasyPHP.
It's something that comes down to common sense.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.