Php + mysql under fedora

Source: Internet
Author: User
Tags php mysql
Since I decided to take an postgraduate entrance exam, I haven't written anything in my blog for a long time. Now, I am very satisfied with my score. The review notification of nudt has not yet come down. I changed the question when I handed in the opening report. In fact, I am actually a small website. In college, the most commonly used program writing is CC ++. I like the concise C language. I heard that php and C have similar syntaxes,

Since I decided to take an postgraduate entrance exam, I haven't written anything in my blog for a long time. Now, I am very satisfied with my score. The review notification of nudt has not yet come down. I changed the question when I handed in the opening report. In fact, I am actually a small website. In college, C/C ++ is the most widely used program writing, and I like the concise C language. I heard that php and C have similar syntaxes,

Since I decided to take an postgraduate entrance exam, I haven't written anything in my blog for a long time.

Now, I am very satisfied with my score. The review notification of nudt has not yet come down.

I changed the question when I handed in the opening report. In fact, I am actually a small website.

In college, C/C ++ is the most widely used program writing, and I like the concise C language. I heard that the syntax of php and C is very similar. I decided to use php. Of course, the database is not mysql.

Search for php + mysql on the Internet and find that there are still few Chinese people who actually develop it in linux. If there is a problem in the future, google will search for it in English.

I. Let's talk about installation first. Many compilation source code installations are installed on the Internet. I prefer to use yum for automatic installation. The required installation packages include httpd php mysql-server php-mysql.

Httpd is an apache server.

Php is not mentioned

Mysql refers to the client

Mysql-server is the RDBMS

Php-mysql is A module for PHP applications that use MySQL databases. If this module is not installed at the beginning, the database connection function cannot be executed.


2. About the development environment.

When writing C, use emacs. You are familiar with emacs shortcut keys and commands. However, I really feel that a text editor of emacs is not practical in large-scale software development.

Therefore, you can use eclipse and eclipse to set the shortcut key to emacs. For emacs commands, you can use the emacs + plug-in.

When eclipse is started,/var/www/html can be developed as the workspace. This method also had to be done in the end. I tried several methods, but not the symbolic connection.

Chmod a + w/var/www/html

I'm not satisfied with this. The zend debugger has not been installed successfully. If anyone has completed the installation, please let me know.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.