NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Configuration


Joined: 17 May 2008
Posts: 7
Reply with quote
How do I configure PhpED to use php?
View user's profileFind all posts by XXLAKRESXXSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
You might want to give a bit more information? Smile
PhpED is a php editor and it comes fully pre-configured for quick usage
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Hi Blizz!


Joined: 17 May 2008
Posts: 7
Reply with quote
First of all thank you for replying to a previous post, this post is a follow up question. The reason I am asking how to configure PhpED is an administrator told me that I need to configure my IDE to use PHP. A better question is how can I configure PhpED to use PHP and MySQL? My Apache Server and php.ini for Internet Explorer are working. If you remember I am not able to connect to MySQL with my IDE. I was also wondering is PhpED able to debug HTML and PHP code?
View user's profileFind all posts by XXLAKRESXXSend private message
Partial Solution


Joined: 17 May 2008
Posts: 7
Reply with quote
I think I figured out part of my problem. When I run the browser, using run, I get the following address where it is trying to locate the file:
http://localhost:8080/file:/C:/Program%20Files/Apache%20Group/Apache2/htdocs/mysqlconnect.php?DBGSESSID=-1&PHPEdHidden=20749
If I simply type in to the browser http://localhost/mysqlconnect.php the exe. works. How do I configure "run" to work correctly?
View user's profileFind all posts by XXLAKRESXXSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
By default php uses its built in "mini" webserver to serve requests. It runs on port 8080 and takes paths as request, hence the first URL you give. The second one (http://localhost/) is your apache server.
What you need to do is tell PhpED to use your apache server instead of its own
You might want to take a look at the General FAQ forum. This might be of some help. The run mode can be specified both in the Setup dialog (Tools > Settings and then IDE > Run & Debug) for "loose" php files (no project active) or in the project settings. Just read around a bit on the FAQ forum, "connecting" phped with apache is not that hard.
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Configuration
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic