nwBen Posted July 24, 2004 Share Posted July 24, 2004 How can I do it? I have installed PHP, Apache and MySQL but when I try install IPB, I get the source code :/ Link to comment Share on other sites More sharing options...
0 futb0l Posted July 24, 2004 Share Posted July 24, 2004 this might seem stupid but... did u run it from localhost?? and how did u install PHP?? Link to comment Share on other sites More sharing options...
0 nwBen Posted July 24, 2004 Author Share Posted July 24, 2004 I tried running it from my domain I installed PHP with the installer I downloaded Link to comment Share on other sites More sharing options...
0 mitt Posted July 24, 2004 Share Posted July 24, 2004 Have you configured the Apache daemon to interpret .php files through the php compiler ? You need to edit the Apache .conf file. Link to comment Share on other sites More sharing options...
0 skaife Posted July 24, 2004 Share Posted July 24, 2004 Add these two lines to httpd.conf: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Link to comment Share on other sites More sharing options...
0 nwBen Posted July 24, 2004 Author Share Posted July 24, 2004 nup.. still not workin :( Link to comment Share on other sites More sharing options...
0 Andrew179 Posted July 24, 2004 Share Posted July 24, 2004 Make sure this is somewhere in your httpd.conf: Action application/x-httpd-php /php/php.exe Change the path to the executable if the php folder is not in the root of the C: drive. Also, be sure to restart Apache after modifying httpd.conf. Link to comment Share on other sites More sharing options...
0 Techy_ Posted July 24, 2004 Share Posted July 24, 2004 a good place to look would be: http://www.php.net/manual/en/install.apache2.php -Jeff Link to comment Share on other sites More sharing options...
0 Seth Posted July 24, 2004 Share Posted July 24, 2004 Andrew, you're assuming he didn't install it as a Apache module. If you did the whole module thing, make sure you've copied php5apache2.dll and php5ts.dll to wherever it asks you to. Can you give us exact details? Link to comment Share on other sites More sharing options...
0 nwBen Posted July 25, 2004 Author Share Posted July 25, 2004 Ok, I am a complete n00b at this... so where do I copy php5apache2.dll and php5ts.dll to? :blink: I am running PHP 3.8.0 btw :p Link to comment Share on other sites More sharing options...
0 GatorV Posted July 25, 2004 Share Posted July 25, 2004 you can copy them to the location where apache.exe is, also don't forget to copy php.ini, or put it in C:\WINDOWS Link to comment Share on other sites More sharing options...
0 realmccoy Posted July 25, 2004 Share Posted July 25, 2004 Why not install everything at once. download this : http://www.en.wampserver.com/ This is what I used to installl all the app's that you are trying to install :) Link to comment Share on other sites More sharing options...
0 eagle22g Posted July 25, 2004 Share Posted July 25, 2004 http://internetmaster.com/installtutorial/ perfect guide, its what i used. :D Link to comment Share on other sites More sharing options...
0 Seth Posted July 25, 2004 Share Posted July 25, 2004 EDIT: Um, maybe you would want try Eagle's guide first. He posted while I was writing. My guide was written in 10 minutes. That guy probably took some time. But mine works :p PHP 3.8.0? Well, I'll tell you straight off IPB requires PHP 4.1.0 or better :p Here are reasonably good steps to installing PHP on Apache. Let's please use new versions, so download yourself PHP 5 and Apache 1.3.3.1 or 2.0.50. Install Apache using the installer. Make sure that it can serve up web pages. (Best chance if it doesn't: disable the Personal Web Page publishing service on Windows XP) Download the ZIPped PHP from http://www.php.net. Unzip it to C:\PHP. Take php.ini-recommended and copy it to C:\Windows. Rename to php.ini. You'll probably want MySQL if you're using IPB. Uncomment the line about php_mysql.dll. Copy C:\PHP\libmysql.dll to C:\Windows\System32. Edit Apache's httpd.conf. Add the following line to the end of the LoadModule section (Note: where you put it doesn't matter, but group it with the related settings so it's easy to find) LoadModule php5_module c:/php/php5apache2.dll Add the following lines to the end of the AddType section: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Restart Apache. You should be good to go! Link to comment Share on other sites More sharing options...
0 nwBen Posted July 25, 2004 Author Share Posted July 25, 2004 Thanks loads SethandCheese!! One more thing.. how can I set Apache to recognise index.php as the index file so that it doesnt show the directory when I type in /forums/install, etc. ? Link to comment Share on other sites More sharing options...
0 OPaul Posted July 25, 2004 Share Posted July 25, 2004 Add index.php here <IfModule mod_dir.c> ? ?DirectoryIndex index.htmindex.phpb> </IfModule> in the httpd.conf file. Link to comment Share on other sites More sharing options...
0 nwBen Posted July 25, 2004 Author Share Posted July 25, 2004 Add index.php herein the httpd.conf file. I cant find that section in httpd.conf.. or do I have to add it somewhere myself? Link to comment Share on other sites More sharing options...
0 OPaul Posted July 25, 2004 Share Posted July 25, 2004 Yea if it's not there just add it I guess... does DirectoryIndex appear anywhere in the file? Link to comment Share on other sites More sharing options...
0 nwBen Posted July 25, 2004 Author Share Posted July 25, 2004 Yes, about two times I think Link to comment Share on other sites More sharing options...
0 Seth Posted July 25, 2004 Share Posted July 25, 2004 It should definitely already be in the file... do a Find. Link to comment Share on other sites More sharing options...
0 ogri Posted July 25, 2004 Share Posted July 25, 2004 here try this i was a noob and this helped me do it http://uk.php.net/manual/en/install.window....windows.manual Link to comment Share on other sites More sharing options...
0 ogri Posted July 25, 2004 Share Posted July 25, 2004 read it all especially the forum a6t ther bottom. by the way i know it states windows server but it has links to apache. i installed it on apache 2.0 Link to comment Share on other sites More sharing options...
0 nwBen Posted July 25, 2004 Author Share Posted July 25, 2004 Ok guys, it's workin now.. cheers Now I need to know how to create a new SQL database and then import a backup and I also need to know why no-one can view the page I have set at www.totalforums.us.. im the only person who can see it :blink: Link to comment Share on other sites More sharing options...
0 OPaul Posted July 25, 2004 Share Posted July 25, 2004 Use mySQLCC. http://www.mysql.com/products/mysqlcc/ Your firewall may be preventing people from the outside in, make sure port 80 is open and pointing to the machine with the web server on. Link to comment Share on other sites More sharing options...
0 nwBen Posted July 25, 2004 Author Share Posted July 25, 2004 Your firewall may be preventing people from the outside in, make sure port 80 is open and pointing to the machine with the web server on. It is set to that :( Link to comment Share on other sites More sharing options...
Question
nwBen
How can I do it? I have installed PHP, Apache and MySQL but when I try install IPB, I get the source code :/
Link to comment
Share on other sites
24 answers to this question
Recommended Posts