logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: PHP 5.2.17 & Apache 2.2.19: Apache won't start
Author
vv^^



Joined: 01 Jul 2011
Posts: 3

PostPosted: Fri 01 Jul '11 11:41    Post subject: PHP 5.2.17 & Apache 2.2.19: Apache won't start Reply with quote

Hi,

I installed:
php-5.2.17-Win32-VC6-x86 from http://www.php.net/downloads.php
httpd-2.2.19-win32-x86-no_ssl from http://httpd.apache.org/download.cgi#apache22
mysql-5.5.13-win32.msi

I'm a newbie & trying to set all the configs for the first time. The problem is that Apache can't start. I've been looking through httpd.conf & php.ini for two days, but am not a success. Dunno what's wrong. If anyone could help me to solve the problem, I would be very much thankful.

Perhaps anyone could give me a link to a good manual how to start php+apache+mysql? Or if you have a couple of free minutes, you could take a look at my httpd.conf from Apache & find out the mistakes?

Anyway, thanks for your attention.
Back to top
vv^^



Joined: 01 Jul 2011
Posts: 3

PostPosted: Fri 01 Jul '11 12:04    Post subject: Reply with quote

I uploaded php.ini here: http://www.sendspace.com/file/flk1c2
httpd.conf here: http://www.sendspace.com/file/d92y3a

System Variables/Paths which I added:

C:\php;C:\php\ext;C:\Program Files\MySQL\MySQL Server 5.5\bin
Back to top
somnang



Joined: 08 Apr 2011
Posts: 61

PostPosted: Fri 01 Jul '11 12:04    Post subject: Reply with quote

vv, first of all, it would be more appropriate and professional courtesy if your screen alias is more "namely" realistic. Symbolic letters to represent yourself is kiddish. Confused

From what I can tell here, you are mixing two breeds of compiled source. From what I understand, "httpd-2.2.19-win32-x86-no_ssl" from Apache is compiled in VC9. Your PHP is compiled under VC6. I don't know if I am correct, but I assume you can't run those two beasts as one entity since they are not from the same breed. That's my first guess.

My second guess is based on your http.conf file. You'd probably need to pastebin the config file for us to help you debug the problem much better.
Back to top
vv^^



Joined: 01 Jul 2011
Posts: 3

PostPosted: Fri 01 Jul '11 12:26    Post subject: Reply with quote

somnang wrote:
vv, first of all, it would be more appropriate and professional courtesy if your screen alias is more "namely" realistic. Symbolic letters to represent yourself is kiddish. Confused

From what I can tell here, you are mixing two breeds of compiled source. From what I understand, "httpd-2.2.19-win32-x86-no_ssl" from Apache is compiled in VC9. Your PHP is compiled under VC6. I don't know if I am correct, but I assume you can't run those two beasts as one entity since they are not from the same breed. That's my first guess.

My second guess is based on your http.conf file. You'd probably need to pastebin the config file for us to help you debug the problem much better.


somnang, first of all, thx for your reply!

I've installed php-5.2.17-Win32-VC6-x86.msi

Here are the 'httpd.conf' & 'php.ini' files i've just uploaded to 'pastebin'.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 01 Jul '11 16:10    Post subject: Reply with quote

somnang wrote:
"httpd-2.2.19-win32-x86-no_ssl" from Apache is compiled in VC9. Your PHP is compiled under VC6.


apache from apache.org is compiled in VC6

somnang wrote:

I don't know if I am correct, but I assume you can't run those two beasts as one entity since they are not from the same breed. That's my first guess.

That's right, but in this case it doesn't apply Wink
somnang wrote:

My second guess is based on your http.conf file. You'd probably need to pastebin the config file for us to help you debug the problem much better.

Yepp that would help

by the way: in Aapache Lounge forum we have a topic howto install apache mysql and php => A Fast, Reliable and Proven Setup :: Apache PHP MySQL Perl

if you still have a question please ask again.
Back to top
somnang



Joined: 08 Apr 2011
Posts: 61

PostPosted: Mon 04 Jul '11 23:25    Post subject: Reply with quote

vv^^ wrote:

somnang, first of all, thx for your reply!

I've installed php-5.2.17-Win32-VC6-x86.msi

Here are the 'httpd.conf' & 'php.ini' files i've just uploaded to 'pastebin'.

vv, look at line 181 and 207 of your httpd.conf file. Those two directory needs to be the same. Basically, those lines tells you where your web contents are located on your server drive.

You should also need to comment ("REM it") on line 535 of your "php.ini". I mean add ";" to the beginning of the line. If not it should be set to your http doc root like the above. I hope I am correct. Have someone confirm on that.

Thanks James for the correction. I thought Apache site does not compile VC6 any more.
Back to top


Reply to topic   Topic: PHP 5.2.17 & Apache 2.2.19: Apache won't start View previous topic :: View next topic
Post new topic   Forum Index -> Apache