WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: LAMP environment  (Read 19926 times)

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #75 on: April 29, 2022, 05:59:31 AM »
Hi juanito,

Where can I foud php 7.4.14 and libonig ?
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: LAMP environment
« Reply #76 on: April 29, 2022, 06:01:58 AM »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: LAMP environment
« Reply #77 on: April 29, 2022, 06:03:29 AM »

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #78 on: April 29, 2022, 07:41:10 AM »
Hi juanito,

After compiling onig I tried to compil php7.4.14 with the same php7.config script but during the make I got this error /usr/local/include/ap_hooks.h:40:10: fatal error: apr_hooks.h: no such file or directory
But I found this file in /tmp/tcloop/apr-util-dev/usr/local/include/apr-1/apr_hooks.h
Any tought ?
« Last Edit: April 29, 2022, 07:51:24 AM by MrToga »
It's fine

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #79 on: April 29, 2022, 07:54:24 AM »
Update : I didn't set apr-util onboot
Now i Find the file in the correct directory
It's fine

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #80 on: April 29, 2022, 09:24:42 AM »
Hi,

After I succefully compiled php-7.4.14 with php7.config I still can't interpret php on my apache server and I also have in /usr/local/apache2/modules/ my files named libphp7.so for the interpretion but still can't interpret.
I used this link for help : ( https://www.php.net/manual/fr/install.unix.apache2.php )
Any toughts?
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: LAMP environment
« Reply #81 on: April 29, 2022, 09:27:20 AM »
Do you get an error message?

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #82 on: April 29, 2022, 09:27:52 AM »
Not at all

Just for the make install INSTALL_ROOT= so I just comment them on the script
It's fine

Offline eSPee

  • Newbie
  • *
  • Posts: 23
Re: LAMP environment
« Reply #83 on: April 29, 2022, 09:42:10 AM »
Hi MrToga,

A few days ago i more or less ran into the same challenges that you face with missing apache extension for 13.x.
After some tinkering i decided to move back to a 9.x version of piCore. That version does have apache, php & maria and you can install them from the app in the desktop enviroment. They now run fine on my ZeroW ;)

Maybe this is a solution four you as well, good luck  ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: LAMP environment
« Reply #84 on: April 29, 2022, 09:54:45 AM »
I also have in /usr/local/apache2/modules/ my files named libphp7.so for the interpretion but still can't interpret.

Does this give an error:
Code: [Select]
ldd /usr/local/apache2/modules/libphp7.so

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #85 on: April 29, 2022, 10:00:29 AM »
Hi,

After I run your command i've got this but it doesn't return an error
« Last Edit: April 29, 2022, 10:04:25 AM by MrToga »
It's fine

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #86 on: April 29, 2022, 10:02:09 AM »
Hi eSPee,

I don't want to go on a lower version of piCore because I really need firefox and in the piCore9.x it doesn't exist
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: LAMP environment
« Reply #87 on: April 29, 2022, 11:18:39 AM »
After I run your command i've got this but it doesn't return an error

That looks OK.

I know nothing about apache/php, so it's difficult to troubleshoot. I would guess that there is a way to start apache that gives verbose error messages, which might help.

You could also compare your build files to those in the 9.x repo (*.tcz.list) to see if you are missing something.

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #88 on: May 02, 2022, 08:01:59 AM »
Update :

It worked !
I just needed to add in the httpd.conf files this command :
Code: [Select]
<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>
It's fine

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #89 on: May 02, 2022, 08:39:35 AM »
Hi,

Now I was wondering if it exist a script to make onig persistent because I didn't find any script nor any make install INSTALL_ROOT= for onig
I'm using this version of onig : http://tinycorelinux.net/11.x/x86_64/tcz/src/libonig/
« Last Edit: May 02, 2022, 08:42:03 AM by MrToga »
It's fine