PHP

Setup Apache+PHP+MySQL on Centos 6.7

CK CK 3788 
Created at
Updated at  
610 0 0

If you installed Centos in minial installation mode, you should install Apache + PHP + MySQL manually.


The followings are the procedure to install Apache + PHP + MySQL:

# yum install -y lynx wget
# yum install -y httpd
# yum install -y mysql-server mysql
# yum install -y php php-mysql php-gd php-mbstring php-mcrypt

Making apache and mysql to start automatically

# chkconfig httpd on
# chkconfig mysqld on
Tags Apache Centos PHP chkconfig timeout Facebook X
Comments 0
Similar posts
  1. Adding new cron job for automated processing on every 10 minutes on Centos 6.7
    1,336
  2. mcrypt missing when using phpMyAdmin on Centos 6.7
    555
  3. Set timezone and time on Centos 6.7
    545
  4. Configuring IP Address on Centos 6.7
    794
  5. PHP Code can know the current OS is windows or not
    589
  6. How to mount windows shared folder on Centos 6.8 - mount error 12 = Cannot allocate memory to the mount.cifs(8)
    921
  7. Checking similarity between two strings in PHP
    677
  8. Simple PHP calendar
    481
  9. Simple PHP code performance measuring example
    800
  10. Convert plain HTML to XHTML
    458
  11. GD library version in PHP
    509
  12. JSON format control in PHP
    696
  13. mysql optimization – if you are using Word Press, do not turn off persistent connection
    596
  14. File downloading function through PHP code
    535
  15. Image file resizing in PHP
    564
  16. Apache server unstable detection and the related server(mysql, apache) restart automatically
    543
  17. How to optimize MySQL automatically in CentOS Linux
    1,010
  18. Function can extract file name in string having full path in PHP
    572
  19. How to create private URL on S3/CloudFront with time-limit ?
    920
  20. Uploading files to Amazon S3 with REST API in PHP
    845
  21. Human readable random string for captchas in PHP
    566
  22. How to get the duration between days in PHP
    428
  23. Date format validation in PHP
    578
  24. PHP function converts new line to BR tag
    566
  25. Email Validation Snipet in PHP
    386
  26. PHP socket programming to get content with post method
    412
  27. Get Remote IP Address in PHP
    504
  28. How to remove HTML tags in text string?
    406
  29. Directory listing in PHP
    517
  30. Seconds to String in PHP
    441
  1. Function Overloading Implementation in PHP with Magic Mathods
    1,764
  2. PHP Magic - the Null Coalescing Operator (??) - return the value if the give variable is NULL
    1,681
  3. How do I find php.ini on Mac?
    495
  4. Mastering Excel Data Importation in PHP
    558
  5. Create Blob Image in HTML based on the given Text, Width and Height in the Center of the Image without saving file
    986
  6. How do I determine the client IP type (IPv4/IPv6) in PHP
    840
  7. What is 302 Found Redirection in HTTP 1.1?
    497
  8. Implementing a Versatile DNS Server in PHP: Handling A, AAAA, CNAME, and TXT Records
    624
  9. Building a Basic DNS Server in PHP/Python: A Beginner's Guide
    746
  10. CentOS 7 PHP Apache Kafka: Installation, Examples, and System Diagram
    311
  11. Apache Kafka Explained: Powering Netflix, Building with PHP
    495
  12. Array of arguments passed to script in PHP
    97
  13. Bob Jenkins' One-At-A-Time hashing algorithm in PHP
    57
  14. 32bits simple hash function in PHP
    44
  15. PHP Code Compression Tool by removing whitespace, strips comments - PHP Minifier/Compressor
    1,426
  16. How to set AUTO_INCREMENT ID in mySQL ?
    609
  17. Parsing XML in PHP
    1,194
  18. Unzip a ZIP file in PHP
    506
  19. How to get browser information in PHP?
    859
  20. How to delete file on certain path ?
    392
  21. ASCII Artwork Generator from image file
    472
  22. How to limit by Timeout when opening URL ?
    461
  23. How to put timeout when opening URL by fopen ?
    443
  24. How to convert W3C Date Time Format ?
    462
  25. Get the actual filesize for a size above 2GB in Windows
    436
  26. HTML redirection in PHP
    400
  27. ISO 8601 format time format string conversion
    544
  28. How to download a file from a certain URL to server ?
    422
  29. How to extract file name from given URL ?
    448
  30. File downloading via HTTP
    450
Recently updated
  1. Google OAuth Token Expiration: Causes and Solutions
    29
  2. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    55
  3. Why SPF and DKIM Are Essential for Linux Email Servers?
    49
  4. How do I create animated background for Google Meet?
    22,917
  5. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    271
  6. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    103
  7. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    168
  8. Invalid Auction Storms in Ad Tech
    106
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    207
  10. The Two Clocks of Ad Server Architecture
    77
  11. Frequency Cap Architecture Overview
    526
  12. Collecting Proof-of-Play from 100,000 Screens
    152
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    302
  14. What is RedisVL?
    114
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    246
  16. TPU & GPU Cluster Management Tools
    257
  17. The Concept of Scaffolding in AI Agents
    244
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    596
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    267
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    353
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    206
  22. Machine Learning: Training vs. Ranking
    229
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    228
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    202
  25. Designing a Data Curation System Around a Vector Database
    230
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    263
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    672
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    201
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    232
  30. Understanding Data Lineage
    272