[原创]WIN98/ME安装APACHE+MYSQL+PHP安装最终技巧...
apache|mysql|技巧|原创
我用的版本很新...
apache为apache_1.3.26-win32-x86-no_src.exe(在官方里面DOWN的)
php为php4.23(www.pconline.com里面有)
mysql为3.23在PCONLINE.COM里面都有..就只有APACHE.EXE(PCONLINE为ZIP要慢慢搞我不喜欢所以去了官方那里DOWN)www.apache.org(en版本)
APACHE安装到c:\(就是选择文件夹的时候选择的)
PHP为C:\PHP4MYSQL为C:\MYSQL
---------------------------------安装系统WIN98/WINME通过...
说明:"[]"中括号里面的是文件名...表示要修改或要复制过去另个地方的...
[php.ini]
把php-dist.ini复制到c:\windows把名字改为php.ini
编辑里面找到extension_dir = ./
把./改成c:\windows\system或把下面的直接覆盖那行
extension_dir = c:\windows\system
----------------------------------------
apache安装
----------------------------------------
安装的时候在需要您填入信息的时候您所填的最好是这样:
Network Domain 为 root
Server Name 为 localhost
Administartor''s Email 填您的EMAIL地址
[httpd.conf]
编辑httpd.conf搜索DocumentRoot(注意大小写)把""里面改成你想把站点放的地方...是绝对的...
DocumentRoot "d:/php"
我的是放在"d:\php"网站目录...您想改个地方可以自由修改.或直接放在c:\Apache\htdocs里面那就随便你咯...不过肯定要提醒的是在最后的文件夹里面不能为有"/"这个符号.不然就只能够不断判断到出错...
在最后面把下面的复制的过去。。。如果您的目录不是c:\php4那么就只要修改"x(您的PHP文件所在的地方):/目录/"就可以了...其他都的都不可以修改...否则会搞到服务器解释为下载*.PHP
ScriptAlias /php/ "c:/php4/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
mysql......
安装好以后用"我的电脑"找回您所安装的地方...一般来说都是c:\mysql...
打开c:\mysql\bin\winmysqladmin.exe
在第一次驱动的时候它会要您输入用户名和密码,建议您最好是把用户名为root(注意大小写),密码就随便了...只要您能够记得!不记得就查看c:\windows\my.ini里面password=密码
然后关闭mysql
把目录里面的my-huge.cnf复制到c:\下并改为my.cnf
然后运行c:\mysql\bin\mysqld.exe
再把目录里面的my-huge.cnf复制到C:\下并改为my.cnf
然后再运行c:\mysql\bin\mysqld.exe
重新启动电脑打开winmysqladmin选择"start Check"看看下面的信息...如果是
There is a my.ini file.............yes
Verifying the my.ini keys
MySQL server path keyi........OK
datadir...............................OK
basedir...............................OK
如果是就恭喜你了...您已经可以完全连接MYSQL了...
-----------------------
最后当然是测试啦!
因为我的网站目录是在D:\PHP\,所以我在里面建立了一个info.php的文件
文件里面的内容很简单...我看了一眼就记得了
phpinfo();
?>
然后在IE里面运行http://localhost/info.php后面的东西就不说啦!自由发展..出现一个很大很大的表就恭喜你了..如果没有就...你的问题咯...呵呵...
-----------------------------------------------
有些朋友WIN里面本来就有PWS..
在这里也说说吧!
如果您的电脑里面有PWS而又想运行APACHE+PHP+MYSQL的话很简单..只要把httpd.conf里面修改Port 80为Port 8080的话就可以了...其他的都不要管它...
而IE里面就应该是http://localhost:8080/info.php,记着:"http://localhost:8080";一定要这样打出来...不可以就localhost...那样会自动为80端口...
大功告成...有什么不明白直接QQ我吧!我研究了两天了.也看了很多的文章了...老是说些废话就是搞不好...都是一班垃圾文章...我看那个INSTALL.TXT还好...
[绝对后悔编写,文本方便我语文很差所以很可能不通顺,请见谅]

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The main reasons why you cannot log in to MySQL as root are permission problems, configuration file errors, password inconsistent, socket file problems, or firewall interception. The solution includes: check whether the bind-address parameter in the configuration file is configured correctly. Check whether the root user permissions have been modified or deleted and reset. Verify that the password is accurate, including case and special characters. Check socket file permission settings and paths. Check that the firewall blocks connections to the MySQL server.

When MySQL modifys table structure, metadata locks are usually used, which may cause the table to be locked. To reduce the impact of locks, the following measures can be taken: 1. Keep tables available with online DDL; 2. Perform complex modifications in batches; 3. Operate during small or off-peak periods; 4. Use PT-OSC tools to achieve finer control.

In MySQL database, the relationship between the user and the database is defined by permissions and tables. The user has a username and password to access the database. Permissions are granted through the GRANT command, while the table is created by the CREATE TABLE command. To establish a relationship between a user and a database, you need to create a database, create a user, and then grant permissions.

Data Integration Simplification: AmazonRDSMySQL and Redshift's zero ETL integration Efficient data integration is at the heart of a data-driven organization. Traditional ETL (extract, convert, load) processes are complex and time-consuming, especially when integrating databases (such as AmazonRDSMySQL) with data warehouses (such as Redshift). However, AWS provides zero ETL integration solutions that have completely changed this situation, providing a simplified, near-real-time solution for data migration from RDSMySQL to Redshift. This article will dive into RDSMySQL zero ETL integration with Redshift, explaining how it works and the advantages it brings to data engineers and developers.

1. Use the correct index to speed up data retrieval by reducing the amount of data scanned select*frommployeeswherelast_name='smith'; if you look up a column of a table multiple times, create an index for that column. If you or your app needs data from multiple columns according to the criteria, create a composite index 2. Avoid select * only those required columns, if you select all unwanted columns, this will only consume more server memory and cause the server to slow down at high load or frequency times For example, your table contains columns such as created_at and updated_at and timestamps, and then avoid selecting * because they do not require inefficient query se

MySQL has a free community version and a paid enterprise version. The community version can be used and modified for free, but the support is limited and is suitable for applications with low stability requirements and strong technical capabilities. The Enterprise Edition provides comprehensive commercial support for applications that require a stable, reliable, high-performance database and willing to pay for support. Factors considered when choosing a version include application criticality, budgeting, and technical skills. There is no perfect option, only the most suitable option, and you need to choose carefully according to the specific situation.

MySQL cannot run directly on Android, but it can be implemented indirectly by using the following methods: using the lightweight database SQLite, which is built on the Android system, does not require a separate server, and has a small resource usage, which is very suitable for mobile device applications. Remotely connect to the MySQL server and connect to the MySQL database on the remote server through the network for data reading and writing, but there are disadvantages such as strong network dependencies, security issues and server costs.

MySQL database performance optimization guide In resource-intensive applications, MySQL database plays a crucial role and is responsible for managing massive transactions. However, as the scale of application expands, database performance bottlenecks often become a constraint. This article will explore a series of effective MySQL performance optimization strategies to ensure that your application remains efficient and responsive under high loads. We will combine actual cases to explain in-depth key technologies such as indexing, query optimization, database design and caching. 1. Database architecture design and optimized database architecture is the cornerstone of MySQL performance optimization. Here are some core principles: Selecting the right data type and selecting the smallest data type that meets the needs can not only save storage space, but also improve data processing speed.
