Page 1 of 1

shared host installation

Posted: Tue Apr 19, 2005 10:39 pm
by Guest
Hi, first of all thank you for writing and supporting a wonderfull community aroun S9y I realy appr.

I got a proble with installing shared blogs. Here are the settings in Apache

Code: Select all

<VirtualHost 10.0.2.2:80>
ServerName erik.ddddddd.com
DocumentRoot /home/blogerik/html
        <Directory "/home/blogerik/html">
                AllowOverride All
        </Directory>
php_value include_path ".:/usr/share/php/:/home/blog/s9y/:/home/blog/s9y/bundled-libs/"
php_admin_value open_basedir "/usr/share/php/:/home/blog/s9y/:/home/blogerik/"
</VirtualHost>
To keep an overview and in sink with my server setup (debian) I changed some paths. But the install note says its no problem.

I faithfully and dubble checked if I did everything the shared install note say. A first suprise is that the docs say "$ chmod ug+rwx /home/www/garvin.s9yblogs.org/htdocs/uploads/" but previosly there is nothing said about the uploads dir. And the uploads isn't in the homedir of blogerik. I suppose I need to make one?

But that is not my problem no... When I try to run s9Y on the subdomain I get te following error

Warning: main(s9y/index.php): failed to open stream: No such file or directory in /home/blogonno/html/index.php on line 6

Fatal error: main(): Failed opening required 's9y/index.php' (include_path='.:/usr/share/php/:/home/blog/s9y/:/home/blog/s9y/bundled-libs/') in /home/blogerik/html/index.php on line 6

What should I do, nothing on the forum about this problem...

Re: shared host installation

Posted: Wed Apr 20, 2005 1:14 pm
by garvinhicking
First off, you need to create the subdirectories. Sadly the latest non-CVS versions did not contain empty subdirectories, so the directores 'Archives' and 'uploads' which we keep in CVS are not inside the release tarball. Sorry. :-(

A second important issue is that with the path you set your include_path to there needs to be a subdirectory 's9y'. Thus if you install everything in /usr/share/php/s9y/ it is okay to set the include dir to /usr/share/php/ and not /usr/share/php/s9y/.

So if you installed your dir into /home/blog/s9y/ then you need to include:dir the /home/blog/ directory :)

Regards,
Garvin