• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Installation problems, possible bug

S

sinimarttonen

Guest
Hello!

I installed sitebuilder to one of our servers today.

OS: CentOs
Apache: 1.3.37
WHM 10.8.0 cPanel 10.9.0-S119
PHP version: 4.4.4
Zend optimizer + eaccelerator

OK...So I installed all rpm packs just as described in installation instructions. No errors etc. so it went fine. The problem is that there is no admin, wizard nor install directory in /usr/local/sitebuilder/htdocs.

Also, this line is displayed durin sb_config:

Code:
PLEASE NOTE:
Apache service will be restarted and MySQL database will be modified during configuration.

Do you want to continue? [Y/n]Y
touch: cannot touch `/etc/httpd/conf.d//zz011_sitebuilder.conf': No such file or directory

Notice the douple forward slash...

And one more thing, which I'm not so worried about though, as it can be related to two bugs/errors above.

When I try to access my sitebuilder's frontpage I get the following error: The file /usr/local/sitebuilder/htdocs/index.php was encoded with the PHP 5 ionCube Encoder, and requires PHP 5 to be installed.

I'm pretty upset atm as it seems I have purchased a software with tons of bugs or at least very poor documentation.
 
Apparently talking to myself, but decided to post in case someone else is having these problems.

So far I'm still having major issues with nessesary directories missing (described in the previous post)

I have made some progres though.

1. I created the virtual host manually (added the following to httpd.conf):

Code:
<VirtualHost xx.xx.xx.xx:80 127.0.0.1:80>

    DocumentRoot /usr/local/sitebuilder/htdocs
    ServerName sitebuilder.mydomain.com
    ErrorLog logs/sitebuilder_error.log
    DirectoryIndex index.php
    AddDefaultCharset UTF-8

    <IfModule !mod_php5.c>
        AddHandler application/x-httpd-php5 .php .asmx
        ScriptAlias /bin /opt/php51/cgi-bin/php5
        Action application/x-httpd-php5 /bin/php5
    </IfModule>

    <IfModule mod_php5.c>
        AddHandler application/x-httpd-php .php .asmx
        php_admin_value memory_limit 24M
        php_admin_flag register_globals Off
        php_admin_flag safe_mode Off
        php_admin_value open_basedir none
        php_admin_value default_charset "UTF-8"
        php_admin_value upload_max_filesize 24M
       php_admin_flag magic_quotes_runtime Off
       php_admin_flag magic_quotes_gpc Off
       php_admin_flag zend.ze1_compatibility_mode Off
    </IfModule>

    <IfModule mod_suphp.c>
        php_admin_flag engine off
        suPHP_Engine on
        AddHandler x-httpd-php .php .asmx
        suPHP_UserGroup apache apache
        suPHP_AddHandler x-httpd-php
    </IfModule>


    <Directory /usr/local/sitebuilder/htdocs>
        Options +ExecCGI +FollowSymLinks
        Options -Indexes
        AllowOverride All
        Allow from all
    </Directory>

    <Directory /usr/local/sitebuilder/htdocs>
        Options +ExecCGI +FollowSymLinks
        Order allow,deny
        Allow from all
        AllowOverride None
    </Directory>

    <IfModule mod_rewrite.c>
        <Directory /usr/local/sitebuilder/htdocs>
            RewriteEngine on
            RewriteRule ^$                        index.php  [L]
            RewriteCond %{REQUEST_URI}            ^/[a-z]+/.*$
            RewriteCond %{REQUEST_URI}            [^/]$
            RewriteRule (.*)                      -  [L]
            RewriteCond %{REQUEST_FILENAME}       !-f
            RewriteCond %{REQUEST_FILENAME}       !-d
            RewriteRule (.*)                      index.php/$1  [QSA,L]
        </Directory>
    </IfModule>


</VirtualHost>

Now when I went to sitebuilder.mydomain.com or sitebuilder.mydomain.com/index.php or anywhere I tried to go I got: No input file specified.

Next I edited /opt/php51/etc/php5/fastcgi/php.ini (near line 512):

doc_root =

to

doc_root = "/usr/local/sitebuilder/htdocs"

Now I can load check.php which gives ok to every line and index.php just fine (displaying login page), but as I'm missing those folders mentioned in first post I can't continue from there. I would really appreciate any advice how to get those folders installed? :confused:
 
Hi sinimarttonen!

How you it made to install to sitebuilder with cpanel?
I tried but of the error of dependences of packages.

thanks
 
Originally posted by fernando.cws
Hi sinimarttonen!

How you it made to install to sitebuilder with cpanel?
I tried but of the error of dependences of packages.

thanks

If you get depensier errors (I was missing few libraries when I first tried to install if I remember correctly) you just need to install those packages first and then start the install again untill it returns no depencies errors.

But still...how do I get those missing folders to appear?
 
Back
Top