Re: 2.2.0 install problem
[email protected] Sat, 16 Apr 2005 03:00:29 +0200
| Newsgroups | gmane.comp.cms.campsite.general |
|---|---|
| Message-ID | <[email protected]> |
This message was sent from: Campsite Support. <http://www.campware.org/phorum_en/read.php?f=8&i=256&t=248> ---------------------------------------------------------------- > > Fatal error: Call to undefined function: mysql_connect() in > > /usr/local/campsite/bin/create_instance.php on line 149 > > make: *** [default_instance] Error 255 > Please install php-mysql extension; I'll modify the script to > display a message > explaining what you have to install when this error poped up. > > Mugur Phorum via PhorumMail That confused me for a but until I realized I needed the CLI version of PHP4 to have MySQL access. Enabling mysql.so in the CLI version allowed the install to complete... however... The install attempts to run create_instancew (as you know), but without ever asking for the database name, user, or password, and so botches the install. Also, you shouldn't have "NameVirtualHost $SERVER_ADDRESS" in the vhost-template.conf file; Only one NameVirtualHost line should be present in most setups, and that should normally appear in the main apache .conf file. Having it appear more than once can cause unpredictable results (all my virtual hosts suddenly redirected to the default campsite host, for instance). Also, the documentation says to fo to the URL http://campsite_install/admin/ but there is no admin directory. There's an admin-tools, and an admin.php, but no admin Tod. ---------------------------------------------------------------- Sent using Phorum software version 3.4.3a <http://phorum.org>