I just installed apache (latest good version) for Windows in:
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
therein, in that directory, I have test.php.
In C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf, at
the end of the file, I have:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
I restart the apache server, but when I go to look at localhost\test.php, I
get:
You don't have permission to access /php/php.exe/test.php on this server.
Can someone please tell me what is wrong with how I have configured this?
Thanks, Ike 3 5969
On Wed, 27 Sep 2006 22:55:17 GMT, "Ike" <rx*@hotmail.comwrote:
>In C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf, at the end of the file, I have:
ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe"
I restart the apache server, but when I go to look at localhost\test.php, I get:
You don't have permission to access /php/php.exe/test.php on this server.
Maybe instead of restart try stop/start?
And maybe check the Apache error log.
--
Dennis K.
On Wed, 27 Sep 2006 19:10:10 -0400, Dennis Kowallek <ko******@iglou.com>
wrote:
>On Wed, 27 Sep 2006 22:55:17 GMT, "Ike" <rx*@hotmail.comwrote:
>>In C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf, at the end of the file, I have:
ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe"
I restart the apache server, but when I go to look at localhost\test.php, I get:
You don't have permission to access /php/php.exe/test.php on this server.
Maybe instead of restart try stop/start?
And maybe check the Apache error log.
And did you make the appropriate changes to php.ini?
--
Dennis K.
Adding the following lines in httpd.conf solved the issue:
<Directory "C:/php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kang Sun |
last post by:
Greetings!
I am testing Apache/PHP/MySQL. The connection seems to be right but
when I try to http://my_machine/mypage.php3?id=1", I won't be able to
get value the variable $id. Did I miss anything...
|
by: Jeff |
last post by:
Could someone walk me step by step on how to install and get JpGraph
running on a Windows 2000+Apache+PHP+MySql server?
-Thanks
Jeff
|
by: rossz |
last post by:
I was forced to reboot my linux server (power outage) and now apache php
won't deal with mysql. I've double and triple checked
/etc/php4/apache/php.ini and the proper settings are there. If I...
|
by: Oliver |
last post by:
Hi,
I have a strange problem and I am not sure where to look for the core
reason. I have a homepage in php which is working fine since ages and
I have now a new server with a fresh Suse 9.1...
|
by: Ron King |
last post by:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
installed correctly. I could serve web pages, MySQL worked, and when I
tried the phpinfo() function, I got a page that looked...
|
by: Nuno Paquete |
last post by:
Hi group.
How can I get PHP working under windows, with Apache web server?
Where can I find the module? I suppose that I need to install a module like
in Linux...
Thanks in advance.
Nuno...
|
by: berlioz |
last post by:
I'm currently trying to interface CSWS 2.0 (apache) / PHP v1.2 (PHP
4.3.2) with an Oracle 9.2
database under OpenVMS 7.3.2
The database connection works fine, but i've a problem with OCIexecute...
|
by: Stefan Blobner |
last post by:
Hi,
I'm searching for someone who's using HP-UX 11.x with Apache and PHP
with the OCI8 extension (for accessing Oracle).
I'm having some issues while running this and would like to...
|
by: www.douglassdavis.com |
last post by:
I am running a Win 2000 professional machine on my desk
(unfortunately). I use Apache/PHP for test purposes, for running a
little intranet server, and I am going to have a student help me with...
|
by: ezuhamu |
last post by:
Hello there,
I'm want install Apache, PHP and MYSQL for my client server environment. My network is only LAN, no internet, just for internal use only. i have 3 concurrent users, including Web...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |