Original Post
Has anyone had any luck getting these to work together.
After many hours of searching the web and about 5 installs
it appears that these do not work together.

quote:No, you don't need that.
Original post by Evil Bill
I don't know anything about PHP, but do you need to echo a "Content-Type: text/html\n\n" line?
quote:Apache 2 and PHP 4 works find together if you get it right. I've used them on windows production servers for over a year with no problems, except a nasty bug in the image library.
Original post by Crazy_Vasey
Apache 2 and PHP don't play together very well as a rule, you're better off sticking to 1.3.x IMO
quote:I could never recommend IIS. Not primarily due to its bad security, but because it is so annoying to configure.
Original post by kingy
Just use win2k and IIS instead...
quote:Only do this if you are installing PHP as CGI-executable. It sounded like you were installing it as an apache module, which is much better and nicer. To install it as a module, download and unpack the zipped windows distro of PHP and follow the instructions in the readme for Apache 1.3. In short, you should:
Original post by Burning_Ice
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
to the httpd.conf. of course substitute c:/php/ with your php path. also make sure that php.ini is in your windows directory.
quote:
Original post by Evil Bill
To install it as a module, download and unpack the zipped windows distro of PHP and follow the instructions in the readme for Apache 1.3. In short, you should:
* Copy php4apache2.dll to apache's modules directory.
* Insert a "LoadModule php4_module modules/php4apache2.dll" directive in httpd.conf.
* Also add "AddType application/x-httpd-php .php"
* Modify the DirectoryIndex directive to include index.php
* You should throw a copy of "php4ts.dll" into \Windows\System32.
* Edit the php.ini file so the paths are correct, and throw it in \Windows.
* Restart Apache.
[edited by - CWizard on January 7, 2003 12:10:45 PM]
quote:Fucked in what way? Does Apache start or barf? Any messages?
Original post by nick316
I tried exactly what you said and it''s still fucked.
quote:Perhaps, but they are independent of eachother. The problems with PHP and Apache usually arises when you try to use the precompiled binaries, which few *nix users do, which in turn are their primary targets. I know there is one or more maintained Apache2-with-PHP4-for-Win32 precompiled packages, they have been linked to numerous times on the users@httpd.apache.org mailing list, but I can''t find any of those messages now.
You would think these companies would have their act together by now.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more