I try to do my first project on Zend Framework 1.11 and i'm using XAMPP as my localhost,when i try to run my "index.php" file on localhost/ZF/public/index.php,i get a same error as below:
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
08/24/12 19:13:35
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6
what's wrong and how can i fix that ? i'm set .htaccess file same as zend framework user guide reference but error is exist!
Related
When i was trying to access after installation of wordpress "localhost/wordpress" it shows Error 404 not found & along with that error it shows:
Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/8.0.7 Server at localhost Port 80
I am trying to make my php.ini file recursive.
echo php_ini_loaded_file();
gives:
C:\xampp\php\php.ini
Yet when I set in my .htaccess file:
suPHP_ConfigPath C:\xampp\php\php.ini
I get
Server error! The server encountered an internal error and was unable
to complete your request. Either the server is overloaded or there was
an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500 localhost Apache/2.4.37 (Win32) OpenSSL/1.1.1 PHP/7.2.12
Please tell me what I am doing wrong.
As per guide here.
I'm busy trying to create a website and I'm getting the Not found 404 error and I'm not sure why.
This is the whole error that I got
Not Found
The requested URL /mysite/admin/menus was not found on this server
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
I recently installed WAMP on my pc and then installed Laravel 5.2 with the caffeinated module package.
I updated my version of PHP (by installing a newer version of XAMPP), but I'm having trouble getting the server to use the necessary port with PHP so that it will run the correct version of PHP.
Due to the well-documented conflicts for machines running Windows, I changed the Apache ports to 81 (from 80) in the httpd.conf file for: Listen and ServerName localhost.
It appears to be running correctly. Both Apache and MySQL are running in the XAMPP Control Panel
Apache - Port: 81, 443
MySQL - Port: 3306
PHP ini was set to 3306, and I therefore left it as is.
http://localhost:81 shows that I'm running the correct version of PHP (Version 5.6.3)., however when I try opening a file at localhost:81 I receive the following error message:
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 Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
The only way it's allowing me to access the files is at http://localhost:2556, which is running an old version of PHP.
Any suggestions how I can get my PHP documents to access the proper port and version of PHP?
I recently installed WAMP on Windows and have set up a local MediaWiki installation. After the installation, I tried to to install a new extension. For it to work, I have to run the maintenance script update.php. However, when I go to localhost/maintenance/update.php, I'm getting a 403 error.
Forbidden
You don't have permission to access /maintenance/update.php on this server.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at 127.0.0.1 Port 80
How do I fix this? or is there another way to run the maintenance scripts on WAMP (perhaps with a command line)?
This is not an error, it is desired behaviour for the program, since the .htaccess file for the /maintenance/ directory has this:
Deny from all
This is because the update.php file is not meant to be loaded directly from a web browser. You must read the documentation for MediaWiki updating from a browser to utilize it correctly. You can also run it from the command line