Monthly Archives: July 2015

@oracle #uek #gnu/linux support costs can be 7x lower than @redhat #rhel #gnu/linux

oracle uek linux support costs can be 7x less than rhel linux

Advertisements

cent/ouek/rhel 6.x linux 2.x nginx 1.x php 5.x phpmyadmin 4 install problem

cent/ouek/rhel nginx phpmyadmin gives me an error even after ive mkdir config and chown nginx:nginx config

Cannot load or save configuration
Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it.

cent/ouek/rhel 6.x linux 2.x nginx 1.x php 5.x phpmyadmin 4 install howto

cent/ouek/rhel linux nginx php phpmyadmin install is NOT easy !

see http://twiwoo.com/php/how-to-install-nginx-php-fpm-on-centos-6/

first add epel repo then

yum install nginx
yum install php-fpm
yum install phpmyadmin

fix major problem with default php install the MISSING session subdir

cd /var/lib/php
mkdir session
chown nginx:nginx session change apache to nginx

vi /etc/php-fpm.d/www.conf change apache to nginx

; RPM: apache Choosed to be able to access some dir as httpd
user = nginx
; RPM: Keep a group allowed to write in log dir.
group = nginx

start services

service nginx start
service php-fpm start

centos oracle uek red hat 5 6 7 nginx php 5.6 install howto

http://wiki.nginx.org/PHPFcgiExample

install EPEL and IUSC repos

# yum install nginx
# yum install php56u-fpm

edit /etc/nginx/conf.d/default.conf and replace the default fastcgi_param value as below

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ \.php$ {
        root           html;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        # fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

restart nginx and php-fpm services

# service nginx start
# service php-fpm start