WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Beginner help - what version I am running and how to switch?  (Read 3153 times)

Offline yellow

  • Newbie
  • *
  • Posts: 4
Beginner help - what version I am running and how to switch?
« on: October 03, 2015, 09:46:49 AM »
Hello,

I know this is absolutely beginner stuff, but for sure I tried to find information and was not able to get the information I need.

My Problem: I need "apache2.4-mod-php5.tcz" but it is not in my repo. In the forum I found out, that it should be in 6.x:
http://tinycorelinux.net/6.x/armv6/tcz/
and also 7.x

But: I don't even know what version I am running. And if I would know this, I wouldn't know how to switch to an other repository. In the FAQ and installation guide I found no information to this. What I did was installing the version I got from here:
http://tinycorelinux.net/6.x/x86/release/CorePlus-current.iso

At least the link says that it should be 6.x, but at fact I don't have "apache2.4-mod-php5.tcz" in my apps list. There is only "apache2-mod-php5.tcz".

Can someone help me to get around this problems?

Thanks
Yellow

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Beginner help - what version I am running and how to switch?
« Reply #1 on: October 03, 2015, 09:54:08 AM »
To get the version of currently running Core:
Code: [Select]
cat /usr/share/doc/tc/release.txt
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Beginner help - what version I am running and how to switch?
« Reply #2 on: October 03, 2015, 10:18:43 AM »
..or try "version"

Offline yellow

  • Newbie
  • *
  • Posts: 4
Re: Beginner help - what version I am running and how to switch?
« Reply #3 on: October 05, 2015, 01:50:16 AM »
Thanks,

it outputs 6.4

But: What could be the reason that I have no "apache2.4-mod-php5.tcz" in my apps list?

Where can I get the link for the exact repo from and how to change it?

Thanks!

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Beginner help - what version I am running and how to switch?
« Reply #4 on: October 05, 2015, 02:01:32 AM »
In TC 6 x86 the extensions are called:
apache2-mod-php5.tcz
apache2.4.tcz

Not:
apache2.4-mod-php5.tcz

Review the info files, you need to decide what you need.

Assuming you have graphic environment, open Apps > Clout/Remote > Browse, in Search enter Apache, select apache2-mod-php5.tcz or whatever and at the bottom click OnBoot Go or OnDemand Go. Don't recall if the extension is automatically loaded. If not select Apps > Load App Locally > select your new Apache.

Edit: Just noticed your first post mention. What architecture, are you using an Arm device?
« Last Edit: October 05, 2015, 02:07:18 AM by nitram »

Offline yellow

  • Newbie
  • *
  • Posts: 4
Re: Beginner help - what version I am running and how to switch?
« Reply #5 on: October 18, 2015, 03:39:43 AM »
Sorry for the long absence!

No, I use tiny core inside a virtual box, so no ARM.

As far as I understood it, "apache2-mod-php5.tcz" is only for "apache2" and not for "apache2.4". But I need php5 for "apache2.4".

Any help to this?

Offline yellow

  • Newbie
  • *
  • Posts: 4
Re: Beginner help - what version I am running and how to switch?
« Reply #6 on: October 18, 2015, 04:56:34 AM »
Ok, I think I found now on my own where I can find the actual repo for my version. I found a link on the tiny core download page:
http://distro.ibiblio.org/tinycorelinux/downloads.html

It links to:
http://distro.ibiblio.org/tinycorelinux/6.x/x86/tcz/

And there I can not find a
apache2.4-mod-php5.tcz

So I think nitram pointed in the right direction with the question if I am using ARM. Because in the ARM repo I can find the package.

So my question: What can I do to become PHP5 in apache 2.4?

Thanks!

Edit: Using apache2 is no option. When starting it gives the error "mod_ssl.so: undefined symbol: SSLv2_client_method" Has this todo with the heartblead patćh? (https://community.bitnami.com/t/apache-error-after-the-recommended-heartbleed-patch/23530)
« Last Edit: October 18, 2015, 05:15:35 AM by yellow »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Beginner help - what version I am running and how to switch?
« Reply #7 on: October 18, 2015, 08:57:32 AM »
Hi yellow
Quote
So my question: What can I do to become PHP5 in apache 2.4?
Is there a reason  php5.tcz  won't work?