According CB2.0 FAQ I finally upgrade system. My options.conf for PHP
When I try add to one site .htaccess:
I get
where maxp is user account name.
When I set
to site which have custom httpd.conf, like
then works fine.
Any suggestion what I need change to handler type for some pages, without define docroot everytime?
------------------------------------------------
I found in per user vhost definition wrong code:
index.php54 should be index.php
Code:
php1_release=5.3
php2_release=5.4
php1_mode=suphp
php2_mode=php-fpm
When I try add to one site .htaccess:
Code:
<FilesMatch \.php$>
SetHandler php54-fcgi
</FilesMatch>
I get
Code:
Forbidden
You don't have permission to access /fastcgiphp54maxp/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
where maxp is user account name.
When I set
Code:
<FilesMatch \.php$>
SetHandler php54-fcgi
</FilesMatch>
Code:
|?DOCROOT=/home/gldd/domains/something.com/public_html/web|
Any suggestion what I need change to handler type for some pages, without define docroot everytime?
------------------------------------------------
I found in per user vhost definition wrong code:
Code:
<IfModule mod_fastcgi.c>
FastCgiExternalServer /home/gldd/public_html/index.php54 -socket /usr/local/php54/sockets/gldd.sock -pass-header Authorization
Alias /fastcgiphp54tuning /home/gldd/public_html/index.php54
<Location "/fastcgiphp54gldd">
Order Deny,Allow
Deny from All
Allow from env=REDIRECT_STATUS
</Location>
</IfModule>
Last edited: