Computers |
|
| | #1 (permalink) |
| Newb Techie Join Date: Aug 2003
Posts: 2
| I am rather new to programming. I am starting to learn PHP and I have taken a pretty good grip of it. However, for some reason when I try to run any of my .php files it comes up as an error. So I am guessing that it has to do with something in my conf/httpd doc and how I have it all set up. So, I was wondering if someone would be able to show me theirs (without their personal info on it of course) or something like that so that I can compare mine an figure out my problem. I am running on a Windows 2000 OS and with Apache 2.0.47 server running. Thanks |
| | |
| | #6 (permalink) |
| Monster Techie | 1. Uncompress the PHP package to your root directory, this will give you a directory similar to "D:\php-4.3.2". 2. Copy php.ini-dist to %SYSTEMROOT%\php.ini 3. Edit %SYSTEMROOT%\php.ini and perform the following: 1. Uncomment (remove the semicolon from the beginning of the line) the following line: extension=php_oci8.dll 2. Set the doc_root to your htdocs directory of Apache (example: D:\ApacheHTTPD\Apache\htdocs) 4. Copy the following files to the directory containing your apache.exe application: 1. D:\php-4.3.2\php4ts.dll 2. D:\php-4.3.2\extensions\php_oci8.dll 5. Edit the file httpd.conf file and add the following lines: Note: 1. Replace D:/php-4.3.2 with the location of your PHP installation 2. Use forward slashes '/' instead of back slashes '\' # # This will load the PHP module into Apache. Put this line with other LoadModule lines. # LoadModule php4_module d:/php-4.3.2/sapi/php4apache.dll # # Add this with the other AddModule lines. # AddModule mod_php4.c
__________________ C:\\ Is the root of all evilphiber@sysdum.com spam this account, it's fun. |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |