Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16869
| Newsgroups | comp.lang.php |
|---|---|
| Date | 2016-07-21 03:31 -0700 |
| References | (1 earlier) <dupsptFp03pU1@mid.individual.net> <8de37002-cdee-4efe-bda1-f155f42ad298@googlegroups.com> <dv0o3pFdhotU1@mid.individual.net> <54c6eaa4-3632-4aeb-a4e7-275df3d2cf7c@googlegroups.com> <312a8e05-d754-47f7-8901-573e48414e3e@googlegroups.com> |
| Message-ID | <ce4c17b1-e40f-4c3b-9df2-fb81db313371@googlegroups.com> (permalink) |
| Subject | Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen |
| From | Alla <modelling.data@gmail.com> |
On Thursday, July 21, 2016 at 1:16:52 PM UTC+3, Alla wrote:
> On Thursday, July 21, 2016 at 12:57:18 PM UTC+3, Alla wrote:
> > <snip>
> > Thank you very much for your suggestions.
> > I need to solve the problem within my system, and I am not ready to use VM, nor to
> > make my life easier by using additional apps like MAMP, and others like this (I know
> > you have not suggested those :) ).
> > I called on my courage and followed your main advice on upgrading to El Capitan. :)
> > Now i have the new OS, but the problem stays the same, because I have merely
> > upgraded to the new OS, not reinstalled it.
> >
> > Now:
> >
> > php –v shows 5.5.37 version
> >
> > but http://localhost/~username/phpinfo.php shows 5.5.36 version
> >
> > I assume there is not much difference, and both will do for my purposes;
> > but I do care to fix this, so not to have these multiple versions installed,
> > and to get rid of this mess I have created.
> >
> > I think that 5.5.36 version comes with El Capitain, but 5.5.37 is the one
> > I have installed. As i have mentioned, I have performed a few steps to
> > get the command php -v show 5.5.37 version. Of course, I have no idea
> > how get back to php -v showing the original El Capitan's version, so then
> > I could delete 5.5.37 one (which I also have no idea how to do without the
> > risk of spoiling things yet again).
> >
> > Could you, please, do me this huge favor and advise me on these issues?
> > You already see that I am very weak at this stuff yet.
> > Thank you very much!
>
> Additional information:
> /usr/local/php5/bin/php --version also reveals 5.5.37 version. But apache
> http://localhost/~username/phpinfo.php reads the 5.5.36 one from somewhere.
>
> Just to show again how I got php -v command to show the 5.5.37 version
> before upgrading to El Capitan:
>
> sudo mv /usr/bin/php /usr/bin/php5328
> sudo ln -s /usr/local/php5/bin/php /usr/bin/php
> which php
> /usr/bin/php
> /usr/bin/php --version
>
> PHP 5.5.37 (cli) (built: Jun 26 2016 13:53:04)
Reading http://localhost/~username/phpinfo.php I see that
Virtual Directory Support: Disabled
But when I was setting up apache today, I have added virtual hosts:
/etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerName localhost
DocumentRoot /Users/{username}/Sites/
</VirtualHost>
and uncommented in httpd.conf Include /private/etc/apache2/extra/httpd-vhosts.conf
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-14 07:57 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-14 08:03 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-14 08:08 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Jerry Stuckle <jstucklex@attglobal.net> - 2016-07-14 11:03 -0400
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-14 08:14 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Jerry Stuckle <jstucklex@attglobal.net> - 2016-07-14 12:00 -0400
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-14 09:28 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-14 10:08 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Jerry Stuckle <jstucklex@attglobal.net> - 2016-07-14 13:23 -0400
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen "J.O. Aho" <user@example.net> - 2016-07-14 18:26 +0200
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-16 09:26 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen "J.O. Aho" <user@example.net> - 2016-07-17 08:49 +0200
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-21 02:56 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-21 03:16 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-21 03:31 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-21 04:04 -0700
Re: Upgrading php from PHP 5.3.28 to PHP 5.5 didn't happen Alla <modelling.data@gmail.com> - 2016-07-21 08:59 -0700
csiph-web