Menu

Server uses PHP CGI binary, not Apache module

Derek
2004-10-01
2013-04-17
  • Derek

    Derek - 2004-10-01

    Hence, I cannot use php_value. Nor do I have access to the PHP include dir.

    I'm trying to add the line

    ini_set("include_path",".:/htdocs/phpCodeGenie/app/settings");

    in index.php but it isn't working. I just get a blank page. Do I really need to add this to every single file where an include(); is used? Can I just set the include path once, in one file?

     
    • a caggiano

      a caggiano - 2004-10-02

      I know this may have no applicability to your situation-I would answer your question if I could-
      but you can just buy a $300 used imac , nuke'n' pave with 10.3.5,
      and make it a dedicated server!
      If a space case like me can get it running, anyone can.

      I'd say 6-8 hours max from booting from the CDs to generating code if you follow my instructions here-

      How much is your time worth?

       
    • Derek

      Derek - 2004-10-02

      My time is not worth that much right now; I am just starting out as a web developer/consultant. I could piece together a linux box from old parts laying around for free.

      However, that is not the point. I am using Powweb for hosting because of its tremendous value and excellent service. I personally cannot afford the cost of 5 GB bandwidth per day in my office that they offer at a measly $7.77/month for their hosting package. So, I thought it would be nice to set up PCG on their server, which is always up and available to access no matter where I am.

      My problem is just that Powweb does not support the use of the php_value command in the .htaccess file, since PHP is run as a CGI binary. I really want to get this working. Where and how should I set up the include path?

       

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.