help me please!!! i have to do the project
i am working on
i have windoows98, i download the PHP4
and mysql
for php
i followed the steps of installing php
which says
1- extract the files to c:\php
2- rename the php.ini and move it
to windows
3- edit the php.ini to have the following
extension_dir = c:\php
and uncomment
extension=php_mysql.dll
4- moved the file
php4ts.dll to c:\windows\system
the other file Msvcrt.dll is already
in c:\windows\system
for mysql
i extracted to be in
c:\mysql
i did select * from user; and
it worked fine i mean the retriving
i run the mysqld
for Apache i did the following
1- extract it
2- modify the httpd.conf to have the following code
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
i placed a file in the htdocs folder
that contains the following code
<?
print("test");
?>
but it didn't work
where is the problem !!!!
can you help me please
thanks in advance
Johnnie Rose, Jr. wrote:
Why must everything be so hard for us Windows users? =) Here's the steps I went through to get everything working:
Edit php.ini to your liking and place it in your c:\windows\ directory. Put php4ts.dll from the distribution into your c:\windows\system\ directory. The rest of the files in the distribution should reside in your d:\php\ directory. PHP now has all it needs to work.
For Apache, edit the httpd.conf file, not the srm.conf file. Into httpd.conf, insert
ScriptAlias /php/ "d:/php/"
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
ScriptAlias tells Apache where the PHP executable resides on your server. AddType adds a list of extensions that Apache passes to the PHP engine. (To add more extensions, just add another line with the desired extension at the end as above.) When Apache runs across one of these extensions, it looks in the Action co....