A dos window should open and stay open with apache running.. written in it.
| SitePoint Sponsor |





A dos window should open and stay open with apache running.. written in it.
Please don't PM me with questions.
Use the forums, that is what they are here for.


What about the syntax? Does it change? Because in that case, I'll need to re-write most of my code. Can I still use the php3 extension?Originally posted by freddydoesphp
By all means upgrade to PHP4 there are a ton of new features as well as built-in session support. All the great array function like in_array() and many others are only in PHP4. IFHO there should be no reason people still have php3 on their servers except pure laziness.
Guillermo





O course you just need to add a line to the httpd.conf file to parse .php3 files as php
Please don't PM me with questions.
Use the forums, that is what they are here for.


And the syntax? Is the same, because I once heard, it changed a bit.Originally posted by freddydoesphp
O course you just need to add a line to the httpd.conf file to parse .php3 files as php
Guillermo





Oh..ok, my dos window closes straight away....





Pete and apache still runs without the dos window open, me thinks you have an error somewhere, try opening a dos prompt navigate to the apache folder then type apache you will see what error it is this way.
Please don't PM me with questions.
Use the forums, that is what they are here for.





APACHE.EXE: cannot determine local host name.
Use the server name directive to set it manually
that is the error i get, any know what it means?





in the httpd.conf file set
ServerName localhost
Please don't PM me with questions.
Use the forums, that is what they are here for.





This apache stuff confuses me, i though this was like a web server..
Apache does nothing for me, i know get APACHE RUNNING...
in mSDOS...
Do i have to have a web root or soemthing?





Yes, I suggest that you read up on how to install and configure apache, IMHO if you want to get into real web serving apache is a must. Once you get apache running your webroot will be accessible through http://localhost and is located wherever the DocumentRoot directive is set to, by default it is the htdocs folder in the folder where you installed apache.
Please don't PM me with questions.
Use the forums, that is what they are here for.





Thank you sooo much, now i can test php script without uploading....
Also, is there a way to check PHP scripts tha use a MySQL database???





Download MySQL to your computer install it start it and build some databases. http://www.mysql.com
I will let you try for yourself, ask again if you are having difficulties
Please don't PM me with questions.
Use the forums, that is what they are here for.


This is what you need to read.
http://www.phpbuilder.com/columns/mo...16.php3?page=1
It's a little dated but will set you up. Remember PHP4 has built in MySql support therefore the extension=php3_mysql.dll stuff isn't necessary.
Download Brian's Apache Manager that he mentions in the article. I makes startup a snap. I don't know why it isn't included with the current download.
http://brian.threadnet.com/apmgr.html
Brian Smith
www.mylittlechampion.com


Can I install MySQL for the win2k computer with Apache I'm going to build for developing and testing?Originally posted by freddydoesphp
Download MySQL to your computer install it start it and build some databases. http://www.mysql.com
I will let you try for yourself, ask again if you are having difficulties
And how do I install it? It is for advanced users?
<Edited by pulsorocker on 01-23-2001 at 11:50 AM>
Guillermo





Ok, this MYSQL thing, which directory do i install it to?
And which file to i run in order to add databses?
Is there a way that i can dump a database into it?





It really doesn't matter I like c:\mysql
Please don't PM me with questions.
Use the forums, that is what they are here for.





Got it working, found a nice tutorial...


Hi petesmc,Originally posted by petesmc
Got it working, found a nice tutorial...
Here's that tutorial you found?
Guillermo





http://www.net-language.com/workshop...sp?Workshop=21
Can i ask something?
How can I add a user named:
petesmc
and with a pasword of
test
then after, how can i change the password of petesmc?





login as root
mysql>GRANT ALL PRIVILEGES ON *.* TO petemc@localhost
IDENTIFIED BY 'test' WITH GRANT OPTION;
mysql>FLUSH PRIVIELEGES;
To change password
mysql>use mysql
mysql>UPDATE user set Password = paswword('somenewpassword') WHERE User = 'petemc';
Please don't PM me with questions.
Use the forums, that is what they are here for.





Thanx sooo much...
Bookmarks