You are not logged in.
Hi everyone,
I knew it was somewhat a major upgrade for Apache (actually, for almost the whole system, as i downloaded 400+mb including rebuilds), so i reserved the upgrade command for a time where i could try and fix if anything went wrong.
Im glad i did! Because although its much less a problem than i thought it would be, i cant get Apache to start.
I (think) already adapted to the new httpd.conf and extras/httpd-... configuration files... but i must be missing something, as i get a FAIL everytime i try to start it.
I cant seem to find any error in any log, where should i look for some more information about why its not working?
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
Try installing/reinstalling apr and apr-util
Offline
I had the same problem. I did re-install both "apr and apr-util" as suggested by Snowman but at the end what fixed it was to copy the file httpd.conf.pacman into httpd.conf
The file is found int /etc/httpd/conf just save your original httpd.conf under a new name and then re-name the httpd.conf.pacman to httpd.conf
Naturally, all the other programs that are related to that file have to be re-declared in the new file. Like PHP and mySQL, etc.
Offline
now apache is working, but i cant include
LoadModule php4_module lib/apache/libphp4.so
in older apache were was no problem, how to resolve it?
Offline
Try installing/reinstalling apr and apr-util
I will try that as soon as im back home. Thank you.
I had the same problem. I did re-install both "apr and apr-util" as suggested by Snowman but at the end what fixed it was to copy the file httpd.conf.pacman into httpd.conf
The file is found int /etc/httpd/conf just save your original httpd.conf under a new name and then re-name the httpd.conf.pacman to httpd.confNaturally, all the other programs that are related to that file have to be re-declared in the new file. Like PHP and mySQL, etc.
I already had migrated my config files, thats not the problem. Thanks anyway. I was thinking it could be an option i forgot to set or something like that.
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
now apache is working, but i cant include
LoadModule php4_module lib/apache/libphp4.so
in older apache were was no problem, how to resolve it?
The new update uses php5 now, so change it to:
LoadModule php5_module modules/libphp5.so
Offline
The new apache uses php5 now, so change it to:
Code: LoadModule php5_module modules/libphp5.so
That is neat and dundy is he has PHP 5 installed. If he has 4 he should yet be able to link to the libraries. I think that that is the point he is trying to make here.
I would inspect the previous config file and make sure you have the correct references, then make sure that those references are indeed in the correct path.
Naturally, the other option is "pacman -Sy php" and move on to the newest vervsion.
Offline
The new apache uses php5 now, so change it to:
Code: LoadModule php5_module modules/libphp5.soThat is neat and dundy is he has PHP 5 installed. If he has 4 he should yet be able to link to the libraries. I think that that is the point he is trying to make here.
I would inspect the previous config file and make sure you have the correct references, then make sure that those references are indeed in the correct path.
Naturally, the other option is "pacman -Sy php" and move on to the newest vervsion.
I don't think it is the point, if he had Php 4, and did a system update, it was updated to Php 5. So yeah... there's a 99.9% chance that he no longer has 4, and now has 5. The fact of the matter is, the php4 plugin if it was there, the command he is using WILL load it. But, his topic says He did a system upgrade, therefor php4 was updated to php5.
Offline
I don't think it is the point, if he had Php 4, and did a system update, it was updated to Php 5
You are correct! I did not take into account that a full update was made; therefore, you are correct in your observation.
Offline
Hi all,
i upgradet system but i didnt upgrade php, mysql
$ pacman -Q php
php 4.4.0-2
$ pacman -Q mysql
mysql 4.1.14-1
$ pacman -Q apache
apache 2.2.2-5
still cant include php4 in apache
LoadModule php4_module modules/libphp4.so
it located in /etc/httpd/modules/libphp4.so
maybe i have to recompile (and define some new apaches paths) php4 to work in new apache?
Offline
Is it not that the path has to be /usr/lib/apache/libphp4.so in order to be found by the apache server?
Offline
Is it not that the path has to be /usr/lib/apache/libphp4.so in order to be found by the apache server?
both variants dont work:
LoadModule php4_module /usr/lib/apache/libphp4.so
#LoadModule php4_module modules/libphp4.so
and no logs in httpd error_log file
before update was no problems
Offline
Sorry, I did not express myself very well last time.
What I meant to say was that "libphp4.so" should be in the directory: /usr/lib/apache/ for Apache to read it. The other line "LoadModule php4_module" I think is OK.
Offline
Try installing/reinstalling apr and apr-util
Just to let everyone know that this fixed it... i didnt had apr/apr-util installed, why didnt install itself when apache was upgraded?
About the php4 and php5 issue:
ralvez is right, you should have the libphp4.so in your modules directory (and a symlink to that directory inside /etc/httpd) if you want php4 support in Apache... you should search for that file in the system.
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
No, this dont helped, when i installing php5 all ok, when installing php4 apache not starting.
Offline