Write all the points:
1. I added the repository dotdeb.org
2. I updated php5 and mysql-server (I noticed a problem with the web pages)
3. I turned off updates and installed the original packages from debian repository
4. everything works, but as an Apache handler (you can not turn on FastCGI and CGI for web pages)
P.S Although properly installed php5 and php5-cgi and set in the admin panel (and apache2.conf), site work as Apache Handler.
P.S2 apache2.conf
Quote:
<VirtualHost 178.63.xx.xxx:8080>
ServerName test.test.pl
DocumentRoot /var/www/user/data/www/test.test.pl
SuexecUserGroup user user
CustomLog /var/www/httpd-logs/test.test.pl.access.log combined
ErrorLog /var/www/httpd-logs/test.test.pl.error.log
ServerAlias www.test.test.pl
ServerAdmin biuro@test.pl
AddDefaultCharset UTF-8
ScriptAlias /php-bin/ /var/www/user/data/php-bin/
ScriptAlias /cgi-bin/ /var/www/user/data/www/test.test.pl/cgi-bin/
AddHandler php-cgi .php .php3 .php4 .php5 .phtml
</VirtualHost>
|
The results displayed in phpinfo:
Quote:
Server API: Apache 2.0 Handler
|