Gazz1982 Posted December 19, 2009 Share Posted December 19, 2009 Hi, Well I installed a LAMP server on ubuntu karmic from the CD, everything worked fine, then I installed mapserver, that went surprisingly well, then I restarted the server using apachectl restart, it stopped no problems but then tried to start and returned the following: * Starting web server apache2 apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/libxml2.so.2: undefined symbol: gzopen64 [fail] how do I fix this? the libphp5.so exists and is in ../modules/ any ideas? Thankfull as always Gary Quote Link to comment https://forums.phpfreaks.com/topic/185721-libphp5so-failing-to-load-help/ Share on other sites More sharing options...
trq Posted December 20, 2009 Share Posted December 20, 2009 Why don't you use Ubunbtu's package manager to install apache, php and mysql? Quote Link to comment https://forums.phpfreaks.com/topic/185721-libphp5so-failing-to-load-help/#findComment-980763 Share on other sites More sharing options...
Gazz1982 Posted December 20, 2009 Author Share Posted December 20, 2009 Can I do that on the commandline? If so how? The server is in the netherlands and Im back in the UK for xmas but I have root access. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/185721-libphp5so-failing-to-load-help/#findComment-980875 Share on other sites More sharing options...
trq Posted December 20, 2009 Share Posted December 20, 2009 Of course you can do it via the command line. You really should read up on your OS if your administering the thing. Anyway, a very basic install would simply be something like.... apt-get update apt-get install php5 php5-mysql mysql-server mysql-client Add any further extensions you need to the list. This should pull in Apache + any other required dependencies. You can search whats available by using.... apt-cache search <keyword> Quote Link to comment https://forums.phpfreaks.com/topic/185721-libphp5so-failing-to-load-help/#findComment-980881 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.