|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Please could some one help me, I've bee trying to do this for a day now...
Ive installed PHP4, well edited and put all the right files in the right place. Ive installed apache_2.0.43-win32-x86-no_ssl but when I click Monitor Apache servers Start/Stop/Restart are disabled. Ive also edited the httpd.conf file correctly. Ive tried all this - k start stuff but it dont work. Is that cause i got Apache 2. Im also running windows 98. I have also got apache_1.3.27-win32-x86-no_src but I dont like the consol. Shouls I use this instead? Thanks |
|
#2
|
|||
|
|||
|
Where have you installed PHP, which version, are you sure you've done it right? Which guide did you follow? Have you amended the httpd.conf? Answer me these Q's and I'll have more to help you with.
|
|
#3
|
|||
|
|||
|
Well...
Darth Harnta Gou helped me (Ben Rowe).
PHP is in C:\PHP the php4ts.dll (or somthing like that) is in \windows\system the php.ini is in \windows (edited) I have edited httpd.conf also with Darth Harnta Gou's help. Im sure its right. I hope that helps you help me, Thanks |
|
#4
|
|||
|
|||
|
You should unpack the PHP zip file into C:\PHP and then copy the files you said you have, as well as any of the files in the dlls folder of C:\PHP to windows\system. Which version of PHP have you installed? Can you attach a screenshot of the problem? Also, if possible, please attach a zip file containing your httpd.conf file and php.ini file...
|
|
#5
|
|||
|
|||
|
Here
Here are the files you requested.
Thanks |
|
#6
|
|||
|
|||
|
Oops here they are...
Thanks
|
|
#7
|
||||
|
||||
|
Looks like the server is not running at all. Do you get any error messages? Have you run the server before you run the admin util? Also (not sure if Win9x allows this) try installing Apache again as a service not an application.
From your httpd.conf file I can see this I would change: Quote:
I would change that ServerName value to "localhost" Also: Quote:
I would add at the end of the last line: index.php Hmm, actually, reading that httpd.conf there seems to be a few bits missing. Try reinstalling Apache 2, then PHP (the latest version you can get) and then use the httpd.conf and php.ini I have included in the attached zip file. If you install everything to the default location, then copy those files across and restart the server, everything should be fine and dandy. Any probs, let me know. |
|
#8
|
|||
|
|||
|
What do you mean?
About Installing it as a service not an application?
Thanks |
|
#9
|
|||
|
|||
|
Still doesnt work...
Still doesnt work. did everything you said.
Its two days now ive been trying to get this to work! i wont give up. Any other help would be grateful. Thanks |
|
#10
|
|||
|
|||
|
Hey tom,
I seriously recommend that you go to www.foxserv.net and download foxserv3.0 It contains apache2.0.39, php, mysql, and it installs everything in one go without any of this hassle you are having. A couple of clicks during the installation process and you can be writing php in no time! I used this program to install everything and it is very good. Everything runs smoothly! Check it man - im sure you wont be disappointed! ![]() |
|
#11
|
|||
|
|||
|
That certainly does seem like an easier solution. Be sure to uninstall everything you have at the mo before installing the FoxServ product. Tell me Gee, does it also install Perl scripting support. That's something I was about to do with my server manually, but if this takes care of it then...
|
|
#12
|
|||
|
|||
|
I can tell you the problem right away. You have installed Apache incorrectly.
Make sure you have the msi download of Apache and reinstall it again. If it asks you to change your httpd.conf file say no. As ive explained to you before, you just need to test apache after you have installed it by calling URL WIth regards to installing a package like foxserv3.0 i wouldnt recomend it unless your desperate. Its far better experience installing each one by themselfs. Also packages usually have some options turned off. Just make sure you install the msi version of apache. |
|
#13
|
|||
|
|||
|
Foxserv contains perl and python as well as php4.
Note - some of your previously created scripts might not run properly or at all if you install foxserv as it uses the new versions of all these apps. I noticed this when ive been doing tutorials (remember the famous blob tutorial? ) and i have had to modify lots of the code to work with these new versions. One good thing however is that really we should be using the new procedures set out for php4 as it is much more secure than php3. (Even though my code is not secure - but if I learn to do it this way from scratch - I shouldnt have to worry about that stuff in the future. )What versions / OS are you running at the moment? |
|
#14
|
|||
|
|||
|
Ben,
i can definately see your point and in some ways do agree with you. It is definately better to set each up one by one to your own preferences, but for newbies this can be quite a daunting task. Hence I tried installing each at first but gave up and tried foxserv. Getting it up and running was a joy, and now that I have had time to get used to how everything works with each other I would have no worries about setting it up manually. Also kanu, its your choice - I am not trying to sell this app or anything. If you have installed manually previously, and everthing is running fine - why change it. Im sure you would be able to install perl without to much trouble. PS Check my new post - maybe you can help ![]() |
|
#15
|
|||
|
|||
|
Ok,
THanks everyone for helping me.
Ive decided to do what Gee said and download FoxServ. It does seem an easier way of doing things. Also I did install the .msi version of Apache but it wasnt having none of it. (I would have downloaded forserv earlie but I thingk you gave me the wrong address Gee, I got to some fox killing site.) Thanks |
|
#16
|
|||
|
|||
Right im downloading FoxServ 3, I have an 1 hour left before its done. But why is it so big? 33mb. PHP4 and Apache are quite small compared to it. Does MySQL make it this big or is FoxServ an application in itds self? Thanks |
|
#17
|
|||
|
|||
|
Apache = ~3 Megs?
PHP = ~5 Megs MySQL=~13 Megs Perl = ~10 Megs Misc Install Routine = Rest ![]() |
|
#18
|
|
|
|