Jump to content

How do "install" zend framework to my web host o_O


farzher

Recommended Posts

Yeah I don't think I'm using the correct include path though, on my local server it was just C:\wamp\www

On my web host I'm using this in the php.ini: include_path=".:/var/www/vhosts/webmall.net/httpdocs/library"

How can I check what the right path is? I have the library folder in the root, but apparently that include path doesn't work.

Wow, I was overwriting it using that... thanks!

 

But I still have one crazy problem with my .htaccess rewrite. When I upload this .htaccess file my index.php comes out as html... o_O without the .htaccess it processes the index script fine...

 

Here's the .htaccess code:

AddHandler x-mapp-php5 .php
AddType x-mapp-php5 .php
Options -MultiViews

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(txt|swf|js|ico|gif|jpg|png|css|xml)$ /

 

I've tried a few different codes I found online, using any of them makes my index output as html. All I'm trying to do is remove the index.php from the url.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.