Confusion with cli / apache php's
listmail.ayendesigns at gmail.com
Tue Dec 2 20:04:33 PST 2014
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 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,
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.
So, 3 questions:
1. How/From where do I get other mod_php--.so files?
2. Is there an automated way to switch php versions under apache like there
is for the cli?
3. Do I need to install xdebug separately for the php instance under apache
if it's already installed for the cli instance? I'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
accidentalcoder.com / ayendesigns.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users