Hi. Nice to meet you all 🙂
Anyway; this is going to be a fairly long post so, apologies for that, and I'll get right into it.
I am an ASP programmer (or "M$ whore" as I believe we're known 😉) and I have been asked to develop a... thing... in PHP.
I downloaded and intalled PHPDev from Firepages; I remember doing that some years ago when I was toying with learning PHP, and thus it seemed a familiar starting point. Trouble is, the version I installed was a bit old. Apache 1.3, PHP 4.2 (I think), MySQL 4. Which was, with hindsight, a bit of a mistake.
I have been trying to upgrade these. What it looks like I've been doing is... well, it's not pretty.
When I run the following batch file:
cd C:\phpdev\apache
start apache -k start
cd C:\phpdev\
start apachemonitor.exe
start http://localhost/
exit
I get:
[warn] Loaded DSO C:\phpdev\php\php5apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
Apache/1.3.27 (Win32) PHP/5.2.1 running...
And yes, there's stuff being served off http://localhost, but PHP code is not being parsed.
This is what I've currently got (after reading a few forums and some documentation and making a couple of wild guesses) right at the bottom of my httpd.conf:
AddType application/x-httpd-php .php4 .php .htm .php3 .inc .fire
AddType application/x-httpd-php-source .phps
LoadModule php5_module "C:\phpdev\php\php5apache.dll"
SetEnv PHPRC C:\phpdev\php
#AddModule mod_php5.c
So... firstly, I guess: am I beyond help? Should I just delete C:\phpdev and start again? Is starting again even that simple? I've installed Apache 2 and it's still telling me it's Apache 1.3 on start, so clearly I didn't remove it right the last time.
If not, can anyone explain my error message? Without laughing?
:queasy: :rolleyes: