Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: diesav on September 02, 2014, 06:26:51 PM
-
Hi all, i'm running tc4 with apache2 and works OK. After install mod_php5.tcz apache don't start. Httpd.conf file have the include line ti load the module and the log shows that the module was loaded, but server is not running (only see one process and netstat don't shows port 80 listening).
Is necessary another configuration than the default included in mod_php5.tcz?
Thanks
Br
-
I don't see a mod_php5.tcz.in the repo.
-
Hi diesav
You need to give accurate information, the extension is called apache2-mod-php5.tcz. Did you read and follow the instructions
in the info file?
-
Hi, Rich. Yes, the extension is apache2-mod-php5.tcz. First was installed apache2.tcz and run with default conf. Next was installed apache2-mod-php5.tcz and restarted apache with apachectl. At this point apache not respond.
Kill all process and start with -e debug and the last event was:
[Wed Sep 03 19:04:41 2014] [debug] mod_so.c(246): loaded module php5_module
Is necessary to change any value of php.ini (default) or another file to get it running?
If I install apache2.tcz and apache2-mod-php5.tcz at the same time and then start apache the result is the same.
-
Hi diesav
Did you read and follow the instructions in the info file?
-
Hi, the problem was with qemu. When I run the same virtual HDD in Virtualbox, apache start normally and php works.
-
Hi diesav
Hi, the problem was with qemu. When I run the same virtual HDD in Virtualbox, apache start normally and php works.
That's a pretty important piece of information to leave out. The fact that you are running QEMU should have been mentioned in your
original post. The same applies if you had been running VirtualBox.
-
Hi diesav!
I had that problem once. You must load the apache.tcz (not apache2.tcz) with apache2-mod-php5.tcz then follow the instructions in the info files of both.
This way solved my problems.