<div dir="ltr">I have php53 thru php56 installed. My ide (PhpStorm) is pointing at php55, for which I have xdebug installed. I could get xdebug to work fine from inside the ide on a given script, or from the command line, but not from the browser.<div><br></div><div>The PhpStorm folks finally asked me to send the output of phpinfo from the browser, which is when I discovered that php under apache is running 5.4, without xdebug. </div><div><br></div><div>I googled and read an article that explains about using port select, but apparently that changes the cli version, which is already correct. it also explains changing the loadmodule line in the apache config to point to the correct php version. This is when I discovered that the only mod_php5-.so file I have in the apache modules directory is mod_php54.so.</div><div><br></div><div>So, 3 questions:</div><div>1. How/From where do I get other mod_php--.so files?</div><div>2. Is there an automated way to switch php versions under apache like there is for the cli?</div><div>3. Do I need to install xdebug separately for the php instance under apache if it&#39;s already installed for the cli instance? I&#39;m unsure whether there are actually 2 different copies of php or whether the loadmodule just gets some initial things from the .so file and then uses the php files from /opt/local/lib</div><div><br></div><div>Jeff<br clear="all"><div><br></div>-- <br><div class="gmail_signature">---<div><a href="http://drupal.org/user/367108" target="_blank">drupal.org/user/367108</a></div><div><a href="http://linkedin.com/in/jeffrgreenberg" target="_blank">linkedin.com/in/jeffrgreenberg</a></div><div><a href="http://accidentalcoder.com" target="_blank">accidentalcoder.com</a> / <a href="http://ayendesigns.com" target="_blank">ayendesigns.com</a></div><div>@accidentalcoder</div></div>
</div></div>