View previous topic :: View next topic |
Author |
Message |
mtdew3q -
Joined: 16 Oct 2005 Posts: 19
|
Posted: Thu Oct 20, 2005 6:53 am Post subject: cgi php wrapper ...Again?? winxp php 5.0.5 |
|
|
hi-
when i put in an alias
/PHPproject
c:/eclipse/workspace/website
root of the website is c:/Program Files/Abyss Web Server/htdocs/
then i try to type http://localhost/PHPproject/testing.php
i get the error message no input file specified.
one reason i want to use the alias this time is my eclipse php ide plug-in
files showup off of the eclipse workspace. i want the files to appear in the project i am working on. i couldnt seem to get the eclipse project to show files off of my doc_root path so i figured this was a good time for an alias.
if i stop short and do a localhost/PHPproject/ i get the file listing in the browser of that directory.
the main reason i wish to have it set up this way is because there is a browser at the bottom of the screen i can use to view the output in the eclipse ide instead of the console. BTW console with php, eclipse and abyss works great.
that cursed apache was bundled with this plug-in the first thing i started to do was disable it :-)
anyone have a php 5 version they are running where an alias works?
thanks,
jim |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Oct 20, 2005 5:03 pm Post subject: Re: cgi php wrapper ...Again?? winxp php 5.0.5 |
|
|
mtdew3q,
Have you set PHP exactly as explained in http://www.aprelium.com/abyssws/php.html ?
The error message you are getting suggests that you have not set the interpreter type to "PHP Style". _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
mtdew3q -
Joined: 16 Oct 2005 Posts: 19
|
Posted: Thu Oct 20, 2005 6:46 pm Post subject: re: cgi php wrapper ...Again?? winxp php 5.0.5 |
|
|
hi-
i set the interpreter type to php style. it isnt that. i will go through the steps again to make sure. it will have to wait another 9 hours or so. i have to go work.
thanks for writing,
jim |
|
Back to top |
|
 |
mtdew3q -
Joined: 16 Oct 2005 Posts: 19
|
Posted: Fri Oct 21, 2005 5:32 am Post subject: re: cgi php wrapper ...Again?? winxp php 5.0.5 |
|
|
hi-
i found an acceptable workaround for now. i put the doc_root in php.ini to
c:\
and i put the doc root in abyss to c:\ as well.
now at least i can type in a path to where i need to go. the alias would definitely cut down on keystrokes but i just cant get it to work.
the browsers remember some of what you type automatically so that will help a little.
i will keep watching to see if anyone else posts about this.
it is probably just me.
this is non critical.
have a good weekend everyone.
thanks,
jim |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Oct 21, 2005 5:35 pm Post subject: Re: re: cgi php wrapper ...Again?? winxp php 5.0.5 |
|
|
mtdew3q wrote: |
i found an acceptable workaround for now. i put the doc_root in php.ini to
c:\
and i put the doc root in abyss to c:\ as well.
|
This is probably the origin of the error. You shouldn't set doc_root in php.ini because Abyss Web Server will take care of sending the relevant information (if there is an alias) to PHP using the environment variables. If you define doc_root, PHP will only take this into account and you get the error from PHP. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
mtdew3q -
Joined: 16 Oct 2005 Posts: 19
|
Posted: Fri Oct 21, 2005 6:56 pm Post subject: re: cgi php wrapper ...Again?? winxp php 5.0.5 |
|
|
hi
that was the problem. i commented out the doc_root in php.ini and all is well with aliases now.
this is going to be really nice. now i can use aliases in my browser window in the eclipse php plugin. the alias can point to the project in eclipse.
thank you very much!
jim |
|
Back to top |
|
 |
|