|
-
Jun 17th, 2005, 02:37 AM
#1
Thread Starter
Frenzied Member
APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
Help I need to make a working environment
technologies are the following:
APACHE 2
POSTGRESQL 7.4.7
PHP 4.3.10
FEDORA CORE 2
I have to convert existing ASP code into PHP and I would like to do development in Windows first...
any ideas?
Last edited by oceanebelle; Jun 20th, 2005 at 12:29 AM.
-
Jun 17th, 2005, 04:33 AM
#2
<?="Moderator"?>
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
Well PHP and Apache2 are avalible on windows, VisualAd wrote a nice tutorial on who to install and set them up, he also included MySQl but im not sure how similar that is to PostGreSQL.
[EDIT]
Heres the link
http://www.vbforums.com/showthread.php?t=330825
-
Jun 17th, 2005, 04:39 AM
#3
<?="Moderator"?>
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
Turns out that PostgreSQL is avalible on Windows, and there was me thinking it wasn't, Im afraid that i don't know how to install it or anything but heres some links that should help
http://www.postgresql.org/ftp/binary/v8.0.3/win32/
http://www.databasejournal.com/featu...le.php/3064861
-
Jun 17th, 2005, 09:01 AM
#4
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
Hmmm... I guess version 8 would have to do... the japanese is quite specific and the system is to be run on Fedora Core.. but original code is from ASP so I need to develop on windows. 
I have been researching on cygwin... running the right version of Postgresql there but there's too much to download. It's not working at all. *sigh*
-
Jun 17th, 2005, 11:39 AM
#5
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
MySQL is very similar to PostgreSQL in syntax, but PostgreSQL has more features. (MySQL 5 is very close to PGSQL in features, but it's not very stable yet.)
MySQL is easy to install in Windows. So if you use PEAR: B for your database access, you could develop it with MySQL first, assuming you don't use any of these features: Stored procedures, views, triggers, foreign keys or cursors.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 17th, 2005, 07:34 PM
#6
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
The part I'm going to develop are Master Screens so I guess that part is still fine... I havn't seen the code yet though. I guess I have to start that already.
-
Jun 19th, 2005, 01:23 AM
#7
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
I believe there is an ASP module for Apache, but it is not stable. What problems are you having with PostgreSQL?
-
Jun 19th, 2005, 08:06 AM
#8
Thread Starter
Frenzied Member
-
Jun 19th, 2005, 08:11 AM
#9
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
What do you mean, cannot?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 19th, 2005, 08:41 AM
#10
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
well, I made a default.html and in the body "hello php" file placed it in the htdocs and accessed it with
http://localhost/default.html
shouldn't the browser show the text "hello php"? Right now it shows the text with all the html tags and the "hello php" text
-
Jun 19th, 2005, 09:18 AM
#11
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
It needs to be a file with a .php extension. You also need to ensure you have the correct Apache configuation, to allow files with a .php extension to be sent through the PHP interpreter.
-
Jun 19th, 2005, 10:08 AM
#12
Thread Starter
Frenzied Member
-
Jun 19th, 2005, 10:41 AM
#13
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
Are you sure PHP is installed? And enabled in the Apache config?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 19th, 2005, 11:00 AM
#14
Thread Starter
Frenzied Member
-
Jun 19th, 2005, 11:04 AM
#15
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
Shows what a bad NOOB I am, I should be banned... (but please don't, I still have a lot to learn )
-
Jun 19th, 2005, 11:22 AM
#16
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
-
Jun 19th, 2005, 11:34 AM
#17
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
I mistook the content as the source. so I thought APACHE was not parsing the files correctly.
-
Jun 19th, 2005, 10:29 PM
#18
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
, I am in POstgresql part of the installation... and I have installed POStGresql already and I have configured the PHP.ini (uncomment the extension)... but whenever I execute pg_connect, an error message that says ...
Code:
Call to undefined function: pg_connect() in G:\MACRO\HTDocs\DBConn.php on line 2
what could possibly be wrong with my settings again?
-
Jun 19th, 2005, 11:18 PM
#19
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
*sigh* NVM, when I got back from lunch the function worked already. I don't know what happened but hey as long as the environment for windows is now ok... I guess its fine.
-
Jun 20th, 2005, 12:30 AM
#20
Thread Starter
Frenzied Member
Re: APACHE, POSTGRESQL, PHP configuration... ON WINDOWS
I guess I do now... the cache was not cleared.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|