Posts: 0
Threads: 36
Joined: Nov 2024
Reputation:
0
I went to install Ehcp on another server, and when I went to access it, it didn't work. I tried to access the server local, and I get the screen that comes up if you can't access a site. Before, this problem wasn't so bad, but I don't know whats going on honestly. So to sum it up, after Ehcp download, I can't access the server with the local Ip.
I got this error when installing
Syntax error on line 19 of /var/www/vhosts/ehcp/apache.conf
Invalid command 'php_admin_value' perhaps mispelled or defined by a module not included in the server configuration
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
that file is apachehcp.conf
That error seems that, your apache does not support php_admin_value in configuration files..
That is caused by mainly:
* you did not install php or apache mod_php properly,
* your apache does not load mod_php,
To fix:
try to enable mod_php in your apache config. yoru directory /etc/apache2/mods-enabled should look like that:
<code>
root@ehcp:~# cd /etc/apache2/
root@ehcp:/etc/apache2# ll mods-enabled/
total 0
lrwxrwxrwx 1 root root 28 2009-07-22 10:52 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 2009-07-22 10:52 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 2009-07-22 10:52 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 2009-07-22 10:52 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 2009-07-22 10:52 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 2009-07-22 10:52 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 2009-07-22 10:52 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 2009-07-22 10:52 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2009-07-22 10:52 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 2009-07-22 10:52 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 2009-07-22 10:52 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 30 2009-07-22 10:52 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 2009-07-22 10:52 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 2009-07-22 10:52 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 2009-07-22 10:52 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 2009-07-22 10:52 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 27 2009-07-22 10:52 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 2009-07-22 10:52 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 2009-07-22 10:52 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 2009-07-22 10:52 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 2009-07-22 10:53 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 2009-07-22 10:53 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 40 2009-07-22 11:01 rewrite.load -> /etc/apache2/mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 2009-07-22 10:52 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 2009-07-22 10:52 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 2009-07-22 10:52 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 2009-07-22 10:52 status.load -> ../mods-available/status.load
root@ehcp:/etc/apache2#
</code>
if not, do following:
<code>
cd /etc/apache2/mods-enabled/
ln -s ../mods-available/php5.conf ./php5.conf
ln -s ../mods-available/php5.load ./php5.load
/etc/init.d/apache2 restart
</code>
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Posts: 0
Threads: 36
Joined: Nov 2024
Reputation:
0
how do you change $ to #? Second, I tried installing ehcp and ubuntu about 3 different times, and I can see the server until I install Ehcp. Wouldn't that be an install problem, or what am I doing wrong?
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 36
Joined: Nov 2024
Reputation:
0
Ok, I tried the one at the bottom and I got this
Syntax error on line 185 of /etc/apache2/apache2.conf: could not open configuration file/etc/apache2/mods-enabled/php5.load: No such file or directory
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
to change $ to # you should enter sudo bash, then your pass.
or you can just type su, then your root pass, if you know your root pass.
if you install ehcp on a clean ubuntu install, it should work ;
can you describe, how you install ehcp on your server ? so that i can find the problem..
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Nov 2024
Reputation:
0
Then, this file does not exist: /etc/apache2/mods-enabled/php5.load
did you run the commands above ?
or maybe, your mod php is not installed..
the better, you should start a clean install,
then log everything on screen, on console, then send here as an attachement... (text)
so that may be i can investigate problem.. or you can email to info@ehcp.net
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 36
Joined: Nov 2024
Reputation:
0
I followed Jason's tutorial, did the exact same things. One thing I ran into was it said fatal when Trying to start a file, it said file wasn't there. I think it said fatal error, couldn't start main.cf. When I tried the 11 mods-enabled/ it said "11" command not found.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 36
Joined: Nov 2024
Reputation:
0
I tried it again myself, and I failed to install it. I have cleaned the disk and made a clean install. I have sent you an email with the IP adress and the root user and pass. So feel free to try for yourself, the server will be on for while
Restored from old drupal forum, for user uid:2687 username:ehcpuser
You may reset your password to access your new account here.