Starting point:I recently tried to build an enterprise website. I have used many open-source ASP enterprise website source code and applied for free ASP space, and found that my website is unsatisfactory, considering that there are many websites that provide free PHP space, and most of the top 10 popular open source website construction systems on the Internet are based on PHP, I decided to use joomla 1.5 to build a free website.
Practice process:The key steps are as follows:
1) apply for a free PHP space and a free MySQL database, such as www.awardspace.com, www.ismywebsite.com, www.zxq.com.
There are a lot of websites that provide free PHP space on the Internet. I use foreign space here, but these websites have their own shortcomings, such as the second-level domain name suffix provided by awardspace is. biz ,. info. Because my previously applied domain name has expired, I am going to temporarily use a free second-level domain name. The second-level domain name provided by ismywebsite is. com, but the configured MySQL database prompts that the connection is not available. Finally, the free service provided by the zxq website is used, and the domain name is easy to remember. For example, if the free Domain Name I applied for is tojine.zxq.net, after applying for free space, an FTP account will be provided to upload website files.
2) create a MySQL database
In the webpage Control Panel provided by zxq, click the create database button to create a database and create a user name and password for accessing the database at the same time, since the joomla source code is directly uploaded to the free PHP space provided by zxq, the 4th step (configuring the database) during the installation process is always unsuccessful, so I have to debug the website on the local machine and upload it again.
3) Build a PHP Runtime Environment Based on phpnow 1.5.3 and create a database
Download phpnow 1.5.3, decompress it, and run Setup. CMD script, set the root password, enter the PHPnow-1.5.3/MySQL-5.1.33/bindirectory under the doscommand line, run mysql.exe-u root-P to enter the MySQL command line environment.
Create user and password: create user '192 _ user' @ 'localhost' identified by 'Password'; (the user name and password here must be consistent with the user and password created by zxq)
Create Database: Create Database user_zxq_studio;
Grant permissions to users: grant all privileges on user_zxq_studio. * To '2017 _ user' @ 'localhost' identified by 'Password' with grant option;
4) decompress joomla and configure the website through the management interface.
After running localhost/joomla, the installation interface is automatically displayed. Set the user, password, and database name in step 2, and enter local/Jooma/administrator in the browser to enter the management interface, A simple website only uses the top menu module, and all other modules are disabled.
5) export the database of the local joomla website and upload it to the free Mysql Data Space provided by zxq.
Install the sqlwav client, connect to the local MySQL user_zxq_studio database, and click dump database under the database menu to save one. SQL file (user_zxq_studio. SQL), click phpadmin in the control panel provided by zxq to enter the database configuration interface, click the import menu, and import the saved SQL file to the database provided by remote zxq, if you are prompted with column 'checked _ out_time 'cannot be null and column 'lastvisitdate' cannot be null, remove the not null check box for this field in the database.
5) Upload website source code through FTP
Install an FTP client and start uploading source code
Practice:
Conclusion: