Page 1 of 1

Zend Studio and php.ini

Posted: Sun Jul 19, 2009 11:00 pm
by tonyz289
Where does Zend Studio kept it's php.ini file. I have checked the install directory its not there. When I run phpifno from the Studio it appears to be empty.

Re: Zend Studio and php.ini

Posted: Mon Jul 20, 2009 9:45 am
by rbzend
The built-in PHP executables and the corresponding php.ini files are in
<Zend Studio installation directory>/plugins/org.zend.php.debug.debugger.<platform>_<version>/resources/

Re: Zend Studio and php.ini

Posted: Thu Jul 23, 2009 4:26 pm
by akede
Hi,

I tried to change this file and add a note that the debugger doesn't through strict warnings anymore. Like
error_reporting = E_ALL & ~E_STRICT

But it seems this is a setting Zend doesn't allow there, or? Anything else works perfectly fine.

Alex

Re: Zend Studio and php.ini

Posted: Sun Jul 26, 2009 6:49 pm
by tonyz289
Why does Zend not use the default php.ini file? Can I force Zend to use it.

Re: Zend Studio and php.ini

Posted: Mon May 20, 2013 4:05 am
by sean5200
The built-in PHP executables and the corresponding php.ini files are in
<Zend Studio installation directory>/plugins/org.zend.php.debug.debugger.<platform>_<version>/resources/
In Studio 10 at least, swap "org" with "com". That is, the path is com.zend.php.... not org.zend.php....

Re: Zend Studio and php.ini

Posted: Tue Oct 23, 2018 12:48 pm
by alek76
I think the easiest way to find this is by running a debug session and while the debug session is still running, open a terminal and type

Code: Select all

ps aux | grep php
For me on MacOS this returns

Code: Select all

alex              5806   9.4  1.6  4611336 275488   ??  S     2:23PM   0:27.44 /Applications/Zend Studio.app/Contents/Eclipse/plugins/com.zend.php.executables.macosx_7.1.3.201703171134/resources/php -n -c /var/folders/w8/8987y6qj6b19qz_5_c3c61k80000gp/T/php-ini/session8906860372381545409.tmp -d asp_tags=off -d short_open_tag=on /path/to/script.php
The first path in the above is the path to the php binary. Go to the directory of the binary:

Code: Select all

cd /Applications/Zend Studio.app/Contents/Eclipse/plugins/com.zend.php.executables.macosx_7.1.3.201703171134/resources/
And php.ini is in there.