User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » php5/apache/plesk Page [1]  
Oeuvre
All American
6651 Posts
user info
edit post

I have an issue here...

My virtual server that is maintained somewhere in California runs php v. 4.6. They had a KB article on upgrading to php 5 that would allow php 5 to be executed per domain. So, in a multi-domain environment, I could have several that run php 4, and several that run php 5. The reason why I haven't installed php 5 globally is that it breaks plesk, my domain and server management software.

Here's how php 5 on certain domains work.

Instead of using /etc/httpd/conf/httpd.conf file to get it's directives, it will instead use /var/www/vhosts/<domain>/conf/vhost.conf for the domain settings:

That file looks like this:
AddHandler fcgid-script .php .php5
SuexecUserGroup <domain-user> psacln

<Directory /var/www/vhosts/<domain>/httpdocs>
FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php
FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php5
Options ExecCGI
allow from all
</Directory>

Alias /atmail /var/www/atmail
<Directory /var/www/atmail>
FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php
FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php5
Options Indexes
AllowOverride all
DirectoryIndex index.html
Order allow,deny
allow from all
</Directory>

Before the upgrade to php5 and before the use of this vhost.conf file, the alias for atmail (my webmail software) worked fine. It still works fine, EXCEPT that php will not run. I can access any file in the atmail directory that is .html, but not .php. I get a 403 Forbidden. My question is this: How can I give the php5 directory at /var/www/vhosts/<domain>/bin/php5 access to a directory at /var/www/atmail?

I'm pretty certain that's the issue.

[Edited on November 1, 2007 at 10:31 AM. Reason : .]

11/1/2007 10:29:30 AM

evan
All American
27701 Posts
user info
edit post

solution:

stop using plesk (it sucks)

start using cpanel

11/1/2007 10:45:45 AM

Oeuvre
All American
6651 Posts
user info
edit post

I only have a production server... can't go do something that radical yet

11/1/2007 10:57:30 AM

mellocj
All American
1872 Posts
user info
edit post

are you sure that you are using php in fastcgi mode? i am more familar with using mod_php

11/2/2007 10:11:03 AM

quagmire02
All American
44225 Posts
user info
edit post

Quote :
"solution:

stop using plesk (it sucks)

start using cpanel"

11/2/2007 12:53:52 PM

 Message Boards » Tech Talk » php5/apache/plesk Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.