beardeddone Posted December 13, 2003 Posted December 13, 2003 Yep, I guess this is related as they all work together any way I just installed apache_2.0.48-win32-x86 and all seems to work fine until I go into OSC on the webpage and then all I see is the raw phpcode in the browser.. Anyone have or know a correction for this? Thanks in advance Best Regards
Guest Posted December 13, 2003 Posted December 13, 2003 Sounds like you dont have php installed in the apache path.
beardeddone Posted December 13, 2003 Author Posted December 13, 2003 Sounds like you dont have php installed in the apache path. how would I do that? Best Regards
charles Posted December 13, 2003 Posted December 13, 2003 Make sure OSC is install in the root directory or below. I used a hot script called phpdev to integrate apache,php, phpmyadmin, and MYSQL. It created a root directory called 'www' and told me that everything must be in or below that directory. If I simply go to that directory in Windows Explorer, and double click on an OSC file, I get the raw code too. You must bring up the browser in apache and access the OSC files from there. Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding.
charles Posted December 13, 2003 Posted December 13, 2003 In the manual which came with my version of apache I found the following link on the main page under Other Topics, Sitemap: Mapping URLs to Filesystem Locations This document explains how Apache uses the URL of a request to determine the filesystem location from which to serve a file. DocumentRoot Files Outside the DocumentRoot User Directories URL Redirection Rewrite Engine File Not Found Good luck, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding.
beardeddone Posted December 13, 2003 Author Posted December 13, 2003 Make sure OSC is install in the root directory or below. I used a hot script called phpdev to integrate apache,php, phpmyadmin, and MYSQL. It created a root directory called 'www' and told me that everything must be in or below that directory. If I simply go to that directory in Windows Explorer, and double click on an OSC file, I get the raw code too. You must bring up the browser in apache and access the OSC files from there. Charles Well, I thought this too until I read this in the httpd.conf # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "C:/Program Files/Apache Group/Apache2" will be interpreted by the # server as "C:/Program Files/Apache Group/Apache2/logs/foo.log". # # NOTE: Where filenames are specified, you must use forward slashes # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). # If a drive letter is omitted, the drive on which Apache.exe is located # will be used by default. It is recommended that you always supply # an explicit drive letter in absolute paths, however, to avoid # confusion. I'm wondering if this is more of an error LoadModule php4_module modules/php4apache2.dll<----this is where I move it to AddType application/x-httpd-php .php the only thing is it creates an error when starting the server. Might be needing a new php4apache2.dll which I can't find. Best Regards
beardeddone Posted December 13, 2003 Author Posted December 13, 2003 Thanks for all the help! I did manage to get apache php and osc all working together with the directory strucher I wanted, if anyone needs any help with this I would highly recommend this website http://internetmaster.com/installtutorial/index.htm this info was just the ticket I needed. Best Regards
Recommended Posts
Archived
This topic is now archived and is closed to further replies.