ask away im here to help
Anyone need help with installing Apache,PHP,MySQL on Win32?
maybe you can advice me
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10267350
Originally posted by Thomas-Dog
ask away im here to help![]()
That's what this whole forum is here for.
I have only just mastered how to spell PHP, and am probably the type of person that you clever people look down on, but I use a graphic web page builder (Namo 5.5) to make a site for pretty much personal uses.
I would really like to incorporate a PHP style database driven part of my site, but I am having real trouble getting off the starting block. How on earth do I preview the stuff that I have done using my local I.E? I know that there is an automatic installation widget available, but it keeps saying that it can't find a get.object something or other?
I use a third party hosting server, so once I have editted my pages, I view them with my browser, then upload them and then check them again.
I really am completely lost and sit here with red puffy eyes trying to figure it out. Please help!
If you want a very simple instalation of an apache server including php an mysql , you can download foxserv, I heard it's very good, or phpTriad (Don't remember the new name) ... or maibe NuSpehere ... I used to have NuSphere .. but it comes with old versions of php and stuff ... Anyway yesterday I found out that if you have a win XP and want to install separately all the services it's not such a big deal, the install files are HUGE with a lot of information there .. but for a simple user, a biginner you need to read almoust 15 lines and you have your apache + php + mysql + phpmyadmin instaled on your machine ... runing as service in background.
If I make any mistakem, somebody ... a guru in installing pls corect me
First download
-> Apache 1.3.23 (MSI setup is 2.0 Mb, PDF documentation is around 4Mb)
-> Download php 4.3.4, not the install , try to find this zip archive php-4.3.4-Win32.zip - it's 6.66 Mb
-> Download MySQL - I found this archive mysql-4.0.17-win.zip - 22.80Mb -
-> Download phpMyAdmin - I found this archive phpMyAdmin-2.5.6-rc1.zip - it's ~ 2.0 Mb
Now install apache ... it's a simple setup then copy the files from php archive in the directory c:\php , then from c:\php\ and c:\php\sapi\ copy 2 files : php4ts.dll ; php4apache.dll in the directory where apache.exe is , usualy in c:\program files\apache group\apache\ .
Now edit httpd.conf from conf directory of apache, paste at the end of the file those 2 lines :
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
-> copy the php.ini file to c:\windows
-> create an test.php and copy those lines :
<?
phpinfo();
?>
copy the file in htdocs directory of apache server
restart the apache server and run your IE browser, write the adress http://localhost/test.php
if you don't get any error everything is ok. apache + php are install corectly
now you need to install mysql, run the setup from that archive, when you are prompted to insert an username and password .. for beginning you can use root and pass , In my case, to have all the sites working, I needed to change the password agina using other way, so press Start menu->Run -> command
then
c:\mysql\bin\mysqladmin -u root password pass
and now you have mysql working too .. you need to restart.
now you have to copy phpMyAdmin in the directory htdocs, there is the place where all your sites will be, every site in it's own directory . You need to edit the file config.inc.php from phpMyadmin , find the line
$cfg['PmaAbsoluteUri'] = '';
There you must insert the path to phpmyadmin, the adress you use from your browser not from explorer ... so I wrote this :
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';
Hope this helps you ... and please if I did something wrong corect me ...
P.S. I had WinXP -- i don't know how the instalation works on other OS
see ya
thanks alot for the information...!
I'll take you up on that! I'm running Apache 2.0.47 on Win32 (XP) and I need to enable the GD extension. I have set the extension_dir and uncommented the .dll, which I have confirmed is present. PHP throws no errors when I invoke it from the command line. But the GD extension still does not load when I restart Apache. Was gibst?
Originally posted by Weedpacket
That's what this whole forum is here for.
Hi,
Thanks for asking. I used PHP installer and it works and never got the win32 version to work. But can anybody tell me what are the differents between the installer version and the win32 version ?
I have another problem is that after completion installation of PHP and Apache, if I install Norton Internet Security on it, it does not work any more. I tried the web content to add a new site of 127.0.01 but it still does not work.
Can anybody help
Best Regards
Steven Wee
Originally posted by stevenwee
Hi,
... But can anybody tell me what are the differents between the installer version and the win32 version ?
I remember that in the instaler version you don't have the sapi dir, I don't know if extension dir has so many dll's ... anyway .. try searching in the install.txt file .. I remember that there you can find all the diferences between instaler and win32
instaler size : 1.01Mb
win32 zip : 6.66Mb
about norton .. i don't know what to say ... mai be you can try ading http://localhost/ not only 127.0.0.1 .. I never used Norton Internet ...
see ya
Originally posted by ovisopa
I remember that there you can find all the diferences between instaler and win32
instaler size : 1.01Mb
win32 zip : 6.66Mb
Thats because with the installer you don't get any of the extensions, whereas with the binaries, you do.
Originally posted by piersk
Thats because with the installer you don't get any of the extensions, whereas with the binaries, you do.
Can you please explain what is the extension for ? Do I need it in order to develope PHP application.
regards
Hi,
My problem seems to be similar, but I just can't seem to fix it :/
I' running Apche 1.3.29, php 4.3.4, MySql 4.0.17 and trying to use phpMyAdmin.
I can view [url]http://localhost,[/url] log into mysql and view the http://localhost/phpinfo.php page no problems ( same as the test.php page in a few posts above)
The problem occurs when trying to view the *.php files in the httpd/phpMyAdmin folder under apache directory. They come up as the text from config.inc.php file starting just before the $cfg['Servers'][$i]['controluser'] variable in the config file
I can view the index in the "http://localhost/phpMyAdmin/" but as I say any *.php file I choose under there just shows the config file from this point onwards.
"=4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user" etc..
So I'm a tad confused ><
I've not tried editting the php.ini filein windows or adding the php4apache.dll cos phpinfo.php file wouldn't work if I needed them.
Can anyone point me in the right direction ?
Hi,
I have installed the apache 2.0 on my Win XP, and I can view http://localhost page, However since i put in the php 4.3.4 zip in my C:, i have not been sure of what to do next, so far i have tried to configure but without success (to view the http://localhost/phpinfo.php page - same as the test.php page in a few posts above).
I would greatly appreciate any help to get beyond this point and have php functioning with my apache. so i can proceed further.
Thanks,
Benson.
Originally posted by tayoben
Hi,
I have installed the apache 2.0 on my Win XP, and I can view http://localhost page, However since i put in the php 4.3.4 zip in my C:, i have not been sure of what to do next, so far i have tried to configure but without success (to view the http://localhost/phpinfo.php page - same as the test.php page in a few posts above).
I would greatly appreciate any help to get beyond this point and have php functioning with my apache. so i can proceed further.
Thanks,
Benson.
Hi,
If you use the installer version, it will work. you may want to try this site for more installation details.
http://search.hotwired.com/webmonkey/default.asp?query=php+installation
regards
Thank you, I was trying to install PHP and MYSQL on my XP based system but was having no joy. The link to Foxserv above worked wonders and now I can start 'playin' with PHP and MYSQL.
Thank you again.