|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Difficulty setting up PHP :(
Try as I might, I cannot get it to work.
It's a WinNT installation. I have a source area d:/phpsource/ A php installation: c:/php and I want to access the source area like: (URL)/php/login.php This is my bit of httpd.conf ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Alias /php/ "d:/phpsource/" I keep getting this error message in my error logs: File does not exist: d:/phpsource/php.exe/php/login.php What on earth have I done to deserve this pain! ![]() |
|
#2
|
|||
|
|||
|
Hi!
I think the problem is, that you have two aliasas for /php/ One the ScriptAlias and one "normal" Alias. Try this: Alias /src/ "d:/phpsource/" or any other name you like The way I understand it is that Apache reads your request for /php/login.php from the .php extension Apache loads /php/php.exe since you have aliasd /php/ it is substituted with d:/phpsource/ and out comes your error message. alex |
|
#3
|
|||
|
|||
|
Thank you very much, you were right.
I wont embarrass myself by saying how many hours I wasted on this!! |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Difficulty setting up PHP :( |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|