....Code:checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /tmp/mysql.sock configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore! *** There was an error while trying to configure php. Check the suphp/configure.php5 file
/usr/local/directadmin/custombuild/php-4.4.6/libtool: line 351: syntax error near unexpected token `('
/usr/local/directadmin/custombuild/php-4.4.6/libtool: line 351: `TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)"'
make: *** [sapi/cgi/php] Error 2
default_php=5
php4_cli=no
php4_cgi=yes
php5_cli=no
php5_cgi=yes
apache_ver=2.2
/sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 16 of /etc/httpd/conf/ips.conf:
User cannot occur within <VirtualHost> section [FAILED]
Starting httpd: [Sun Apr 08 09:31:18 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Apr 08 09:31:18 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
Syntax error on line 27 of /etc/httpd/conf/extra/httpd-deflate.conf:
Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Starting httpd: [Sun Apr 08 09:34:18 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Apr 08 09:34:18 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
Syntax error on line 29 of /usr/local/directadmin/data/users/username/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
Starting httpd: [Sun Apr 08 09:43:18 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Apr 08 09:43:18 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Apr 08 09:43:18 2007] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts
[Sun Apr 08 09:43:18 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Sun Apr 08 09:43:18 2007] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts
[Sun Apr 08 09:43:18 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Sun Apr 08 09:43:18 2007] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts
im trying those but with apache 2.2, so sry
wont work, its php4 cli and php5 cgi OR vice versa.Code:default_php=5 php4_cli=no php4_cgi=yes php5_cli=no php5_cgi=yes apache_ver=2.2
Btw does this install Proftpd aswell?
im guessing you should do a rewrite of the ips.conf file... some post before smtalk stated how to do that.This is what i get when i just set php5_cgi=yes:
Code:/sbin/service httpd restart Stopping httpd: [FAILED] Starting httpd: Syntax error on line 16 of /etc/httpd/conf/ips.conf: User cannot occur within <VirtualHost> section [FAILED]
wont work, its php4 cli and php5 cgi OR vice versa.
im guessing you should do a rewrite of the ips.conf file... some post before smtalk stated how to do that.
Starting httpd: [Sun Apr 08 18:59:33 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
[Sun Apr 08 18:59:33 2007] [error] (EAI 2)Name or service not known: Could not resolve host name |IP| -- ignoring!
mv /etc/httpd /etc/httpd.old.one
./build clean ; ./build all d
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<IfModule mod_suphp.c>
<Location />
suPHP_Engine on
suPHP_ConfigPath /usr/local/etc/php5/cgi/
suPHP_AddHandler x-httpd-php
suPHP_AddHandler x-httpd-php5
</Location>
</IfModule>
/usr/local/php5/bin/php -v
PHP 5.2.1 (cgi-fcgi) (built: Apr 8 2007 16:58:02)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
mrhat:/usr/local/directadmin/custombuild# /etc/init.d/httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
mrhat:/usr/local/directadmin/custombuild# /usr/local/php5/bin/php -v
PHP 5.2.1 (cgi-fcgi) (built: Apr 8 2007 21:41:26)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
mrhat:/usr/local/directadmin/custombuild# php -v
PHP 4.4.6 (cli) (built: Apr 8 2007 20:57:35)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
#LoadModule php5_module /usr/lib/apache/libphp5.so
LoadModule php4_module /usr/lib/apache/libphp4.so
<IfModule mod_suphp.c>
<Location />
suPHP_Engine on
suPHP_ConfigPath /usr/local/etc/php5/cgi/
suPHP_AddHandler x-httpd-php
</Location>
</IfModule>
AddHandler application/x-httpd-php .php .php4
AddHandler application/x-httpd-php-source .phps
AddHandler application/x-httpd-php5 .php5
<IfModule dir_module>
DirectoryIndex index.html index.php index.php5
</IfModule>
#<IfModule mod_suphp.c>
<Location />
suPHP_Engine on
suPHP_ConfigPath /usr/local/etc/php5/cgi/
suPHP_AddHandler x-httpd-php
suPHP_AddHandler x-httpd-php5
</Location>
#</IfModule>
AddHandler application/x-httpd-php .php .php4
AddHandler application/x-httpd-php-source .phps
AddHandler application/x-httpd-php5 .php5
mrhat:/usr/local/directadmin/custombuild# killall httpd ; /etc/init.d/httpd start
Starting httpd: Syntax error on line 412 of /etc/httpd/conf/httpd.conf:
Invalid command 'suPHP_Engine', perhaps misspelled or defined by a module not included in the server configuration
mrhat:/usr/local/directadmin/custombuild# apachectl -D DUMP_MODULES | grep more
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
deflate_module (static)
log_config_module (static)
logio_module (static)
env_module (static)
unique_id_module (static)
setenvif_module (static)
ssl_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
dav_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
suexec_module (static)
cgi_module (static)
dav_fs_module (static)
dav_lock_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
rewrite_module (static)
so_module (static)
php4_module (shared)
Syntax OK
suexec_module (static)
/etc/init.d/httpd restart
Stopping httpd:
Starting httpd: [Mon Apr 9 09:29:26 2007] [error] Cannot resolve host name |IP| --- ignoring!
[Mon Apr 9 09:29:26 2007] [error] Cannot resolve host name |IP| --- ignoring!
Syntax error on line 10 of /etc/httpd/conf/extra/httpd-manual.conf:
Regular expression could not be compiled.
getting this error . any solutions for this. my site is down for a few hours now
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/var/www/manual$1"
this is the line
right now i'm rebuilding but i think it will give me the same error. any ideas?
apachectl -D DUMP_MODULES | grep more
make[1]: *** [libperl.so] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/mod_perl-1.30/apaci'
make: *** [apxs_libperl] Error 2