Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: PHP

Regular expression php: Find everything in DIV

I am trying to use regexp to find eveything in a div. I know there may be a smarter way – but I chose regexp.

So currently My regular expression pattern is as follows:

$gallery_pattern

October 18, 2021By Simo Regexp all, Content, div, expression, found, in, PHP, subsequentLeave a Comment

YUM Install Apache PHP MySQL

Installation:

yum install -y httpd php

rpm -qa httpd php

httpd-2.2.15-54.el6.centos.x86_64

php-5.3.3 -48.el6_8.x86_64

Modify the apache configuration file:

vim /

October 18, 2021By Simo Unix apache, install, mysql, PHP, YumLeave a Comment

Regular expression – PHP appearance

I have a string, for example:

$foo =’Hello __(“How are you”) I am __(“very good thank you”)’ I know this is a strange string, but please come with me: P

I need a regular expression to f

October 17, 2021By Simo Regexp appearance, expressions, PHP, regularLeave a Comment

Can I use a regular expression to search in an array?

I have an array of strings. I need to use regular expressions to search for strings in the array. Is it possible? If so, please explain.. $a = preg_grep(“/search_word/”,$array_of_strings);
print

October 17, 2021By Simo Regexp Arrse, expression, Inso, PHP, regular, use, Used, whether, YesLeave a Comment

How do you enable Memcached PHP extensions after using HomeBrew?

I recently installed memcached and homebrew, I am not entirely sure how to enable my PHP environment, because I added extension = memcached in /etc/php.ini in Lion OS X. so.

Even if I restart

October 16, 2021By Simo Macos Extension, Homebrew, how to use, installation, Memcached, PHPLeave a Comment

Linux server View whether PHP supports mail () function method

PHP’s Mail function can be used to send emails. For example, check whether the Linux server PHP supports the Mail function?

How to check whether PHP supports the Mail function

There are

October 16, 2021By Simo Linux function, linux, Mail, method, PHP, server, view, whether supportLeave a Comment

CentOS – YUM can’t find a PHP-APC

I am trying to install apc (alternative php cache) on centos 5 server. I tried yum search apc and only found the relevant package of American power company. How do I install apc?

I am trying

October 14, 2021By Simo Centos apc, Can't find, centos, PHP, YumLeave a Comment

Nginx virtual host: PHP5-FPM-Sock error

I am trying to set up a virtual host for a new ubuntu/php5.5/nginx installation

etc/nginx/sites_available/mydomain.com:< /p>

server {
listen 80 default_server;
root /home/www/mydomain.c

October 13, 2021By Simo Nginx error, FPM, host, nginx, PHP, PHP5, SOCK, VirtualLeave a Comment

Nginx + PHP Modify single request maximum execution time

1. php.ini (usr/local/php/etc)

max_execution_time = 300

2. php-fpm.conf (usr/local/php/etc)

request_terminate_timeout = 300

3.nginx.conf (usr/local/nginx/conf)< /strong>

October 13, 2021By Simo Nginx execution, maximum, modification, nginx, PHP, Request, single, timeLeave a Comment

Nginx is separated from PHP

nginx andphpseparate building

nginx configuration

server {

server_name www.a.org; Define the domain name

location / {

root root /www/a.org; Definition php web page fil

October 13, 2021By Simo Nginx construction, nginx, PHP, separationLeave a Comment

Posts navigation

Page 1 Page 2 … Page 4
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress