By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,623 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

PHP Getting started

100+
P: 539
I need to know what web server do i download before i start banging here...

I found this link but im not sure which one of them best fit.....

I have no background in PHP......

Any suggestions?
Oct 19 '08 #1
Share this Question
Share on Google+
12 Replies


Markus
Expert 5K+
P: 6,050
I suggest you download something like Xampp or EasyPHP. They both come bundled with mysql & php (and more) and are a doddle to install.
Oct 19 '08 #2

100+
P: 539
What directory in my xampplite would be the equivalent ROOT directory in apache tomcat?
Oct 19 '08 #3

100+
P: 539
found it..... htdocs

But, i can't connect through it using http://localhost/

Does anybody here successfully deploy the xampplite?
Oct 19 '08 #4

Dormilich
Expert Mod 5K+
P: 8,639
did you start the server?
Oct 19 '08 #5

100+
P: 539
Yes,

I've checked the apache instance in Task Manager, exists
I've used the xampp-control to activate both apache and mysql,
i've also followed the manual activation of the apache and mysql through its given batch files, but still unable to connect......

I have quit my Anti-virus NOD32, disabled the Windows Firewall, uninstalled the Apache tomcat Server(for JSP, J2EE etc), restart the PC,

and until now, i can't connect to it.....

when i locate the url http://localhost , just like the browser still waiting for any response from the local server, until for about a minute or more than that, still unable to connect......

What's wrong with this? is there any issue when installing XAMPP in Windows XP?
Oct 19 '08 #6

100+
P: 539
Holy cow,

i don't know why this is happening in to me........

I need help here.......
Oct 19 '08 #7

Markus
Expert 5K+
P: 6,050
Holy cow,

i don't know why this is happening in to me........

I need help here.......
Hmm, does sound strange. But XAMP won't work for me on my current machine, hence why I suggested you try EasyPHP. Download that and see if that works.
Oct 19 '08 #8

100+
P: 539
Yes, i've already installed EasyPHP, same as XAMPP... unable to connect

I have read about the Internet Information Services ( that uses port 80 ),
i've already see the services, but no IIS installed....



@Xampp

i have changed the port 80 to 8080 in apache/conf/httpd.conf and all 443 to 4499 in apache/conf/extra/httpd-ssl.conf as i what i've read in other article....

but nothing happens, it still runs on the port 80


Any other suggestions?
Oct 19 '08 #9

Markus
Expert 5K+
P: 6,050
No idea friend. This, currently isn't a PHP problem, so I may move it over to apache to see if they can help. My suggestion is: go to xampp's forums (and easyphp) and maybe ask them about your problem; they'll know more than us.
Oct 19 '08 #10

100+
P: 539
Thanks for the time Markus....
Oct 19 '08 #11

Markus
Expert 5K+
P: 6,050
Thanks for the time Markus....
No problem.

Markus.
Oct 19 '08 #12

100+
P: 539
Problem solved..... few days ago..... :)

Now, i want to implement my planned website to be flexible in terms of deploying on different hosting sites etc....

In JSP, just a bean that contains all settings, directory and etc will solve the problem....

now, in PHP, i am afraid to use DOCUMENT_ROOT, as it says "as defined in the server's configuration file." in the manual.

What if im going to deploy it in another hosting site?, that was not the same as my server's configuration file....

my php library (uses DOCUMENT_ROOT constant int $_SERVER that also communicates in other php file) might not be included....Please do correct me here....

What will be the alternatives here?
Oct 24 '08 #13

Post your reply

Sign in to post your reply or Sign up for a free account.