Skocz do zawartości
Zaloguj się, aby obserwować  
gribollo

php.5.3 & php.5.4

Polecane posty

zrobiłem dwa php na directadmin i na php5.4 nie działają moduły apache2 jak to mozna rozwiązać

 

 

./build update

mkdir -p custom/suphp

cp -pf configure/suphp/configure.php5 custom/suphp/configure.php6

perl -pi -e 's/php54/phprep/' versions.txt

perl -pi -e 's/php6/php54/' versions.txt

perl -pi -e 's/phprep/php6/' versions.txt

./build set php5_ver 5.3

./build set php6_cgi yes

./build set php5_cgi no

./build set php5_cli yes

./build php n

mv -f /usr/local/php6 /usr/local/php6_old

ln -s /usr/local/php5 /usr/local/php6

perl -pi -e 's/x-httpd-php6/x-httpd-php54/' /usr/local/suphp/etc/suphp.conf

perl -pi -e 's/x-httpd-php6/x-httpd-php54/' /etc/httpd/conf/extra/httpd-suphp.conf

 

 

 

 

 

 

 

 

 

 

 

 

<FilesMatch "\.php$">

AddHandler x-httpd-php6 .php

</FilesMatch>

Edytowano przez gribollo (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

chodzi mi ze w phpinfo nie widzi mi tego

 

Configuration

apache2handlerApache Version Apache/2

Apache API Version 20051115

Server Administrator

Hostname:Port www.domen.pl:0

User/Group apache(1001)/1001

Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100

Timeouts Connection: 60 - Keep-Alive: 1

Virtual Server Yes

Server Root /etc/httpd

Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_deflate mod_log_config mod_logio mod_env mod_expires mod_headers mod_unique_id mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_scgi mod_proxy_ajp mod_proxy_balancer mod_ssl prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_suexec mod_cgi mod_dav_fs mod_dav_lock mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5 mod_suphp mod_ruby mod_python

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Zaloguj się, aby skomentować

Będziesz mógł dodać komentarz po zalogowaniu się



Zaloguj się
Zaloguj się, aby obserwować  

×