2) Locally i have this .htaccess file.
RewriteEngine on
RewriteRule .* index.php
php_flag magic_quotes_gpc off
php_flag register_globals off
I have removed php_flags and included them in the php.ini file while uploading. Find below my php.ini file contents.
I'm confused. Why are you saying you have php_flag in your
.htaccess, and then say that you removed it? You will get '500' errors if you leave them in. Is it in there, or not?
suPHP_ConfigPath /home/cpanelusername/public_html/
You shouldn't have the trailing / on it. Change it to
suPHP_ConfigPath /home/cpanelusername/public_html . Is that the directory that
php.ini is in? And of course, "cpanelusername" is actually your account name, right?
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
You should set up your own Error Documents (error pages, or error handlers). cPanel > Error
pages will give you the core of these files (/404.shtml, etc.). You can then embellish them with more HTML code to look consistent with your pages. This will stop clogging up your logs with unnecessary error messages. You should also have a
/favicon.ico (16x16 pixel ICON format) for browsers to display, and
/robots.txt (even an empty file) for search engines to grab.
Can any one correct me, I am very new to zend.
I don't know if you have your Zend entries set up correctly. Are you missing a
[/Zend] tag?
If you still can't get it working, please list your
entire .htaccess file(s) and your
entire php.ini file(s), not little bits and pieces, as well as which directorie(s) they're in. Feel free to XXXX out any sensitive information, such as account names.
Note that you can check for yourself whether your
php.ini entries are being processed. Just make the following
phpinfo.php file and run it from the browser:
<?php phpinfo(); ?>
Run it before and after making a change to
php.info and see if the change "took". Hide or remove the file when you're done (or give it a really strange, unguessable, name) so hackers can't use it to look inside your site.