You are not logged in.
I reinstalled Arch recently to change from 64bit to 32bit, for convoluted reasons. I'm now attempting to install LAMP again, following the wiki guide.
If I uncomment 'LoadModule .... libphp5.so' in /etc/httpd/conf/httpd.conf, then apache won't start. Commented out, everything works fine.
I have the latest PHP package installed.
No log files are produced in /var/log/httpd/, and changing the log level in httpd.conf doesn't seem to help.
Any suggestions? This is very urgent for me, since I have a website to finish by Monday So help is much appreciated!
- Dave
Last edited by KomodoDave (2007-06-30 12:03:18)
Offline
Hi KomodoDave,
post the output of this command:
apachectl -t
Offline
Hi KomodoDave,
post the output of this command:apachectl -t
Hero, this (very helpfully) gives me:
httpd: Syntax error on line 114 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: libcurl.so.4: cannot open shared object file: No such file or directory
'pacman -S curl' solved the problem Thanks *loads* luca, you've really saved my bacon!
- Dave
Offline
Strange, php depends on curl anyway. Ort didn`t you update your system using "pacman -Syu"?
Offline
Strange, php depends on curl anyway. Ort didn`t you update your system using "pacman -Syu"?
I did
$ su
$ pacman -S apache php mysql
I did a 'pacman -Sy' yesterday.
- Dave
Offline
There is really something strange. Doesn`t your pacman output somthing similar (especially the curl dependency)?
[root@athlon64 pierre]# LANG=C pacman -Qi php
Name : php
Version : 5.2.3-4
URL : http://www.php.net
License : PHP
Groups : None
Provides : None
Depends On : openssl pam bzip2 gdbm ncurses curl libxslt freetype2 libjpeg libpng
Removes : None
Required By : php-apc php-eaccelerator php-fileinfo php-suhosin-extension phpmyadmin php-xcache
Conflicts With : php-cgi php-suhosin
Installed Size : 27561.38 K
Packager : Pierre Schmitz <pierre@archlinux.de>
Architecture : x86_64
Build Date : Sun Jun 17 15:59:28 2007 UTC
Build Type : Unknown
Install Date : Wed Jun 27 14:42:08 2007 UTC
Install Reason : Explicitly installed
Install Script : Yes
Description : A high-level scripting language
Offline
There is really something strange. Doesn`t your pacman output somthing similar (especially the curl dependency)?
komododave@lair:home # LANG=C pacman -Qi php
Name : php
Version : 5.2.3-4
URL : http://www.php.net
License : PHP
Groups : None
Provides : None
Depends On : openssl pam bzip2 gdbm ncurses curl libxslt freetype2 libjpeg libpng
Removes : None
Required By : None
Conflicts With : php-cgi php-suhosin
Installed Size : 25719.90 K
Packager : Thomas Baechler <thomas@archlinux.org>
Architecture : i686
Build Date : Sun Jun 17 17:39:26 2007 UTC
Build Type : Unknown
Install Date : Sat Jun 30 11:54:41 2007 UTC
Install Reason : Explicitly installed
Install Script : Yes
Description : A high-level scripting language
There's absolutely no doubt I didn't have curl installed prior to installing PHP, and it definitely wasn't installed afterwards; at no point have I explicitly removed curl...
- Dave
Offline
I experienced the exact same thing: Installed apache and php but didn't have curl installed afterwards. It still appears as a php dependency though...
Offline