Tiny Core Base > Alpha Releases

Tiny Core 15.0 Alpha 1 Testing

<< < (4/12) > >>

andyj:
There are already sample files in the apache extension. This file is redundant.

CentralWare:

--- Quote ---It looks like you're using the httpd.conf file that the PHP make install copied into the PHP mod extension.
--- End quote ---
I just scoured the php 8.x sources and "surprisingly enough" cannot seem to find httpd.conf - nor am I aware of any PHP release which includes or has EVER included httpd.conf.  What you are likely thinking of with the MOD extension is the httpd/conf.d/mod-php*.conf file which I believe is dynamically generated that adds PHP related support to the existing Apache configuration tree.  But...  according to you, I'm just a beginner with almost four DECADES in this business.  My licenses, certificates and degrees must mean nothing.

To correct your misinformation: PHP does not require Apache.  PHP doesn't require NGINX either...  or any web server for that matter.
PHP DOES require autoconf 2.x, but that's the extent of dependencies until you start enabling modules.
(If you don't believe me, tce-load -i php-8.3.1.tcz and run php -a)

andyj:

--- Quote from: CentralWare on January 05, 2024, 01:51:13 PM ---
--- Quote ---It looks like you're using the httpd.conf file that the PHP make install copied into the PHP mod extension.
--- End quote ---
I just scoured the php 8.x sources and "surprisingly enough" cannot seem to find httpd.conf - nor am I aware of any PHP release which includes or has EVER included httpd.conf.  What you are likely thinking of with the MOD extension is the httpd/conf.d/mod-php*.conf file which I believe is dynamically generated that adds PHP related support to the existing Apache configuration tree.

--- End quote ---
You're right, PHP does not come with httpd.conf. What you are not getting is that in order to build the PHP module for Apache, PHP requires a working Apache dev install to build against, and when it's done it copies the httpd.conf file from the Apache dev tree as part of the PHP make install. They add one line to the file to load the module based on the Apache source path and not using the DESTDIR of the make install command. Why they think this is necessary I don't know, and it's become clear that it's a bad idea and one I will henceforth squash. The httpd-php8-mod.conf and httpd-php8-fpm.conf files are my contribution, these are not PHP provided files.


--- Quote from: CentralWare on January 05, 2024, 01:51:13 PM ---To correct your misinformation: PHP does not require Apache.  PHP doesn't require NGINX either...  or any web server for that matter.

--- End quote ---
Only the PHP module for Apache requires Apache, I don't know of any other program that can load and run Apache modules. The other PHP SAPI's like the CLI don't require anything, I know because I have scripts I've written for PHP I run from bash. So, no misinformation on my part.

Here's an idea: Slow down and actually read what I'm posting. I've been doing this since the '80s and when I went to college the language we used was FORTRAN. If you're like me like you say you are then you didn't learn any of this in college either because it didn't exist then.

If you are going to take over maintaining maria I can give you what I have that has a lot of workarounds to help you get up the learning curve. It worked for 10.x but enough has changed in 11 that the build script needs more time than I have desire to give it.

andyj:

--- Quote from: Rich on January 05, 2024, 12:46:45 PM ---Hi andyj

--- Quote from: andyj on January 05, 2024, 11:03:54 AM --- ... I left it so someone unfamiliar with Apache and PHP would have a go-by to build their own file. I apparently need to delete that file because it must be confusing to beginners. ...
--- End quote ---
Rather than deleting it, maybe rename it to something like:
httpd.conf.sample  or  httpd.conf.example  or  httpd.conf.reference

I think Xorg and some other packages include config files
with similar extensions tacked onto their config file names.

--- End quote ---

What happened to the post this quote refers to?

gadget42:
yes...what did happen to post:
https://forum.tinycorelinux.net/index.php/topic,26669.msg171921.html#msg171921

i have a tab open with the older version of the thread which contains the original « Reply #14 on: January 04, 2024, 10:46:34 AM »

i made a copy of the text and also did a screenshot as well

also will try to leave the tab unrefreshed until we determine what happened to @andyj post

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version