cgi php wrapper ...Again?? winxp php 5.0.5

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mtdew3q
-


Joined: 16 Oct 2005
Posts: 19

PostPosted: Thu Oct 20, 2005 6:53 am    Post subject: cgi php wrapper ...Again?? winxp php 5.0.5 Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Oct 20, 2005 5:03 pm    Post subject: Re: cgi php wrapper ...Again?? winxp php 5.0.5 Reply with quote

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 View user's profile Send private message Send e-mail
mtdew3q
-


Joined: 16 Oct 2005
Posts: 19

PostPosted: Thu Oct 20, 2005 6:46 pm    Post subject: re: cgi php wrapper ...Again?? winxp php 5.0.5 Reply with quote

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 View user's profile Send private message
mtdew3q
-


Joined: 16 Oct 2005
Posts: 19

PostPosted: Fri Oct 21, 2005 5:32 am    Post subject: re: cgi php wrapper ...Again?? winxp php 5.0.5 Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Oct 21, 2005 5:35 pm    Post subject: Re: re: cgi php wrapper ...Again?? winxp php 5.0.5 Reply with quote

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 View user's profile Send private message Send e-mail
mtdew3q
-


Joined: 16 Oct 2005
Posts: 19

PostPosted: Fri Oct 21, 2005 6:56 pm    Post subject: re: cgi php wrapper ...Again?? winxp php 5.0.5 Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group