installing php
Moderator: General Moderators
installing php
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.
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.
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Thank you...I've edited my php ini...the instruction that I'm reading says
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..
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.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"
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..
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
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
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
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
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:Thank you...I've edited my php ini...the instruction that I'm reading says
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.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"
This place is for questions and yours are good ones to ask187skillz 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..
Mac
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...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
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.
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
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.
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.
Last edited by 187skillz on Mon Apr 05, 2004 12:15 pm, edited 1 time in total.
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
put http://localhost/ for the server
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA