full_php_browscap.ini
Posted by: KianWilliam (---.sabanet.ir)
Date: June 25, 2017 10:45AM

To whom it may concern:
I downloaded full_php_browscap.ini and place it at the same place with php.ini of php folder version (I did not put the downloaded file under extras folder), I modified the php.ini file and the proper path is given there.
I restarted wamp.
Now when I download something with composer of zend, the first line is as this: can not read full_php_browscap.ini on line 0.
I unblocked the file, the permissions for users, administrators, etc all has got read permittance.
What could be the problem?
Kian William Nowrouzian

Options: ReplyQuote
Re: full_php_browscap.ini
Posted by: RiggsFolly (Moderator)
Date: June 26, 2017 02:59PM

Hi,

I think your issue is related to there bing 2 `php.ini` files.

One that is used by PHP When run under Apache, and one that is used for the PHP CLI.

When you edit the `php.ini` file using the wampmanager menu's it amends the one used by Apache.

You have to also amend the one used by the PHP CLI, but you do this manually.


Edit `\wamp\bin\php\php{version}\php.ini` with a decent editor and also add in the link to the `browsercap.ini` file in there.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: full_php_browscap.ini
Posted by: KianWilliam (---.sabanet.ir)
Date: June 28, 2017 08:34AM

Thank you for the response, you are absolutely right, I knew there must be 2 php.ini, first I modified php.ini belong to php version folder, then I went to apache folder actually in the bin folder under apache version folder, there I found a symlink to php.ini, I thought it is a link to php.ini file in php folder and the php.ini under apache shall be updated automatically after server restart.
Then I asked here and I just did the proper change in the apache one's php.ini from the wamp menu
best regards
Kian William Nowrouzian

Options: ReplyQuote


Sorry, only registered users may post in this forum.