Menu

Install on hosted Linux...pulling my hair out

Mike S
2005-10-26
2013-04-17
  • Mike S

    Mike S - 2005-10-26

    I cannot get PCG running on a hosted web server and have searched the forums here with no luck. I extracted the files into a directory called "pcg" in the root of my web site dir and followed the instructions. I do not have access to php.ini and set up using a .htaccess file in the pcg directory according to the instructions. I have also tried several variations on the settings files

    When I try to open pcg with a web browser I get an error 500, the logs on my host say:
    /home/mikes/public_html/pcg/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration

    -------------------------------------
    .httaccess
    -------------------------------------
    php_value include_path "/home/mikes/public_html/pcg/app/settings/"

    -------------------------------------
    genieConfiguration.inc.php (modified lines only to keep it short)
    -------------------------------------
    session_start();
       define("URL_ADDRESS","http://localhost/pcg/web/");

       // Linux Server
         define("SITE_PATH","/home/mikes/public_html/pcg");
    ---------------------------------------

    I have also tried
    ("URL_ADDRESS","http://mydomainname/pcg/web/");

    Any help or ideas would be great
    Thanks
    Mike

     
    • freakazoid3

      freakazoid3 - 2005-10-27

      Wow, mate - tough one!

      Pardon me for stating the obvious but is your .htacess file spelt correctly?  Only you it down as .httacess.  Probably a red hearing.

      Also did you try PCG on Windows first and then try to host it on your linux server?  The reason I ask is I'm pretty sure you can't assign values in Linux by just using a space.  The normal way you would set a value on unix would be something like PATH=$PATH:/blah/blah/blah
      I could be wrong however.  You may not need to set the equal sign to assign the value to the php variable.  However, I also run PCG on my MAC and there, the separator is a colon not a comma.  So try that if you have more than one value to include in your include_path

      Hope this helps
      f.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.