Problems to run PHP4 and PHP5 at the same time

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problems to run PHP4 and PHP5 at the same time

Postby jacortijo » 20. March 2008 07:24

Hi all,

recently I installed XAMPP and I have to run two sites, a PHP5 and a PHP4 one.
Searching in the net I found a solution that was adding some parameters in the virtual host configuration
http://www.optimalworks.net/blog/2007/w ... he-windows


Code: Select all
<VirtualHost *:80>

DocumentRoot E:/xampp/htdocs/Degas
ServerName drivers
ScriptAlias /php/ "E:/xampp/php/php4/"
Action application/x-httpd-php4 "/php/php.exe"
AddHandler application/x-httpd-php4 .php

</VirtualHost>


but doing this I get an error
Code: Select all
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


looks like it doesnt have enough rights to access that php4 directory.
Could someone tell me how to solve this problem?

Many thanks in advance.
Jose
jacortijo
 
Posts: 9
Joined: 20. March 2008 07:20

Postby Milligan » 20. March 2008 07:47

Last edited by Milligan on 17. July 2008 05:28, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

httpd.conf also modified

Postby jacortijo » 20. March 2008 07:50

Hi, thanks for the reply
I have that directive in the httpd.conf.

Code: Select all
<Directory "E:/xampp/htdocs/Degas">
   Options Indexes FollowSymLinks Includes ExecCGI
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>


thanks again.
jose
jacortijo
 
Posts: 9
Joined: 20. March 2008 07:20

Re: httpd.conf also modified

Postby Milligan » 20. March 2008 07:55

Last edited by Milligan on 17. July 2008 05:28, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Solved!

Postby jacortijo » 20. March 2008 09:47

Hi, you were right.
sorry for all the messingup.
now is running smothly. many thanks.
jacortijo
 
Posts: 9
Joined: 20. March 2008 07:20


Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 39 guests