I can not run xdebug in xampp server with eclipse? - yii

Deal all,
I am new babe in php, and I am working yii framework.for the server,I use xampp (PHP Version 5.4.22) and the eclipse to write code, now I want to debug on eclipse by xdebug and I have open some lines in php.ini:
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
after I have breakpoint and run debug in eclipse, it run this url:
http://localhost/ktbeauty/themes/classic/views/admin/login.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13918210553298
and the page shows like that:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22
Can you tell me what it is wrong ?and How Can I fix to run xdebug in xampp with eclipse?
thankyou very much

Related

localhost it redirects me to localhost/C:/xampp/htdocs/localhost/index.php?

I had created a .htaccess file and I deleted it. When I try to access localhost it redirects me to localhost/C:/xampp/htdocs/localhost/index.php but when I type localhost/index.php it works fine. Can someone help me out??
Using XAMPP Server, Windows 8.1 OS
(Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9)

laravel 5 ,requested url was not found on this server?

I am trying to upload my laravel 5 project on Apache/2.4.7 (Ubuntu) Server at xxx.xx.x.xx Port 80.
When i browse my site using xxx.xx.x.xx/project/public , landing page is working fine.
But when i tried to log in , it throws this error ,
The requested URL xxx.xx.x.xx/project/public/auth/login was not found on this server.
but when i tried this xxx.xx.x.xx/project/public/index.php/auth/login it throws View [app] not found.
I tried using RewriteBase on htaccess file also edited public/index.php file and changed these following lines...
require __DIR__.'/../bootstrap/autoload.php';
to require __DIR__.'/../project/public/bootstrap/autoload.php';
and
$app = require_once __DIR__.'/../bootstrap/app.php';
to $app = require_once __DIR__.'/../project/public/bootstrap/app.php';
nothing is working!!
I know this one is older topic but i didn't find solution.
Looking for your suggestions.
Which version of Laravel are you working on? I've got problem with auth on 5.1 LTS. No problem with standard configuration (never touched htaccess or config file).
I can suggest to try a new install with a new Laravel package on your server without modifications and see if it works.
This may help: Laravel 5.1 Authentication documentation
Try to enable Apache rewrite module. Run this in command line:
a2enmod rewrite
and don't forget to restart Apache after.
service apache2 restart

Forcing localhost to use https results in a 403 error

I am working on a php website. I am working on it using Aptana with XAMPP. I recently changed my htaccess file to force my site to use https on the localhost. I haven't yet implemented a ssl certificate. When I try to access a webpage now, I am directed to a page that says:
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3
I found some solutions to this but I really want to know why this is occurring. I know that I can change the httpd.conf file to fix it but I still don't understand what is happening.

xampp error 404: object not found

Error 404
localhost
06/21/14 11:16:38
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
I am working with xampp and joomla.... when i run my localhost in url it opens me the xampp page ....then if i try to run in url localhost/som(directory_name) then it gives me error
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
06/21/14 11:34:02
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
my directory already exist...
You need to edit the .htaccess file. It might be hidden in the same directory.
I suggest you to put an index.php OR any other file inside the directory
and access it like localhost/som(directory_name)/my_file.php because your apache
may be configured not to list directory index. Let me know if your problem still
persist.
check joomla > global configuration > use URL rewriting, this must be set "no" in local configurations (xampp).

Zend server troubles... Cannot connect

I'm encountering troubles with WAMP so I'm giving Zend a try... I need some help getting it working though. I have Zend and Apache running... the guide says to place my files in the htdocs folder in Apache. I have my index.html in that folder and my port, in the Zend settings, is 10088. When I go to localhost:10088/index.html my browser (Chrome) cannot connect to it. What is the deal?
EDIT: Tried changing host name from 127.0.0.1 to localhost... no change.