Cent os : php nginx documet class not found error sudo yum install php-xml
WordPress custom post type endpoint
Requirement: If you want to add endpoint, let say “books” to CPT author, and wants to change view in template. Solutions: No need to use “add_rewrite_endpoint” function because as of today, we can not add endpoint to CPT only ( we can add endpoints to either page or archives or all links, etc using add_rewrite_endpoint function )… Continue reading WordPress custom post type endpoint
Linux, nginx, MySQL, PHP – LEMP AWS server setup
Linux, nginx, MySQL, PHP – LEMP AWS server setup Step 1 : Create account on AWS and select right region for you create ec2 instance with Ubuntu AMI. Step 2 : Do ssh login to server and update OS using command sudo apt-get update Step 3 : Lets install nginx, php, mysql one by one using… Continue reading Linux, nginx, MySQL, PHP – LEMP AWS server setup