Page 1 of 1

installing php

Posted: Mon Apr 05, 2004 8:33 am
by 187skillz
OK, I've read that its better to download AMP seperarely by myself and get them up..i've installed APache 2.0 ...and now want to install PHP...
when I went to the site, there's 2 4.3.5 downloads available for windows XP..
which one is the right one to download...


1. PHP 4.3.5 zip package [6,803Kb] - 26 March 2004
(CGI binary plus server API versions for Apache, Apache2 (experimental), ISAPI, NSAPI, Servlet and Pi3Web. MySQL support built-in, many extensions included, packaged as zip)



2..PHP 4.3.5 installer [1,046Kb] - 26 March 2004
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)

one or 2 pls?

Thank you.

Posted: Mon Apr 05, 2004 8:37 am
by twigletmac
Go for the zip, you'll get the additional extensions (such as GD for manipulating images) and you have to configure Apache yourself either way.

Mac

Posted: Mon Apr 05, 2004 8:58 am
by 187skillz
Thank you...I've edited my php ini...the instruction that I'm reading says
Another thing you might want to change is you session path. Search for: session.save_path and change it to any existing directory. One reader pointed out the windows temporary directory works well (for windows directory, see "Some Notes" in next step). So session.save_path = "c:/windows/temp" or if you use 2k/XP probably session.save_path = "c:/WINXP/Temp"
I've read a couple of instructions on installing PHP...should i do what he said up there cause that's the only place I've read something about doing session path.
Thanks and i hope I haven't <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> anybody off because of my questions..

Posted: Mon Apr 05, 2004 9:03 am
by malcolmboston
personall for a cheap and cheerful install i use FoxServ 3.0 it adds Mysql, apache 1.3 and PHP4.2.2 (which i havent found any problems with)

takes about 30 seconds to install and has the simplest wizard you've ever seen to get it working

i also installed various extra modules (such as GD functionality) with absolutely no hassle

Posted: Mon Apr 05, 2004 9:13 am
by twigletmac
187skillz wrote:Thank you...I've edited my php ini...the instruction that I'm reading says
Another thing you might want to change is you session path. Search for: session.save_path and change it to any existing directory. One reader pointed out the windows temporary directory works well (for windows directory, see "Some Notes" in next step). So session.save_path = "c:/windows/temp" or if you use 2k/XP probably session.save_path = "c:/WINXP/Temp"
I've read a couple of instructions on installing PHP...should i do what he said up there cause that's the only place I've read something about doing session path.
If you want to use sessions then you'll need to do the above - I would make the change (although I normally create a separate folder specifically for PHP session data instead of using windows temp folder).
187skillz wrote:Thanks and i hope I haven't <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> anybody off because of my questions..
This place is for questions and yours are good ones to ask :) .

Mac

Posted: Mon Apr 05, 2004 9:56 am
by 187skillz
malcolmboston wrote:personall for a cheap and cheerful install i use FoxServ 3.0 it adds Mysql, apache 1.3 and PHP4.2.2 (which i havent found any problems with)

takes about 30 seconds to install and has the simplest wizard you've ever seen to get it working

i also installed various extra modules (such as GD functionality) with absolutely no hassle
Thanks malcolm, I used php dev bundle before which is something similar to Fox serv, and it was alright but I've noticed that PHP/apache have been upgraded but the bundle still havent, I just took a lot of people's advice and I now have apache/php working...

Thank you twiglet mac..
one last question, I installed Myql to C:/mysql and added a username/password but I would like to change the username and password...can I just delete the mysql folder and then install it again to C?

I don't want the username/password that I used when I clicked on 'winmysqladmin.exe'


Thanks.

Posted: Mon Apr 05, 2004 10:10 am
by magicrobotmonkey
If you get phpMyAdmin you can use it to change the password(s) plus its useful for all kinds of DB admin stuff!

Posted: Mon Apr 05, 2004 11:30 am
by 187skillz
ok I downloaded PhpMyadmin...i cant get it to open...I got this message

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

MySQL said:
#1045 - Access denied for user: 'root@localhost' (Using password: YES)

And I went to the MYSql documentation..

http://www.mysql.com/doc/en/Error-returns.html

what am i doing wrong pls?
Thanks.

Posted: Mon Apr 05, 2004 11:30 am
by magicrobotmonkey
did you put your user and password and such int mySQLAdmin?

Posted: Mon Apr 05, 2004 12:22 pm
by 187skillz
yes...when I go in my windows directory and look at myini, i see this in the ini file

[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=root
password=mypassword

Do I need to install MYsql again?

Thanks.

Posted: Mon Apr 05, 2004 12:32 pm
by magicrobotmonkey
put http://localhost/ for the server

Posted: Mon Apr 05, 2004 12:48 pm
by 187skillz
thanks but it didnt work..any suggestions?

Posted: Mon Apr 05, 2004 12:51 pm
by magicrobotmonkey
put all that stuff in quotes?

Posted: Mon Apr 05, 2004 1:04 pm
by 187skillz
didn't work neither...the ini file that with the above is in "c:\windows\myini" by the way...

Posted: Mon Apr 05, 2004 1:09 pm
by 187skillz
it's working now..I just took off the password in the config file of phpmyadmin...also took off 3360 in port and it worked....thank u.