OldManRiver Posted August 24, 2006 Share Posted August 24, 2006 Been troubleshooting my WAMP on W2k Pro and Apache was working, but PHP was not. Found I had not defined the "doc_root" in the php.ini file, so changed it.Now I get 403 errors even on the root localhost.[B]httpd.conf[/B] reads:[code]ServerRoot "D:/Program Files/Apache/Apache2"Listen 80ServerName localhostDirectoryIndex index.htm index.html index.html.var index.shtml index.php index.phml index.cfm index.cfmlDocumentRoot "D:/Program Files/Apache/Apache2/htdocs"<Directory> Options FollowSymLinks AllowOverride None</Directory>UserDir "E:/Nyle's/Business Projects/Projects (External)"# Config for PHPLoadModule php5_module "D:/Program Files/PHP/php5apache2.dll"AddType application/x-httpd-php .phpPHPIniDir "D:/Program Files/PHP"Action application/x-httpd-php "/php/php-cgi.exe"ScriptAlias /php/ "D:/Program Files/PHP/"AddHandler php-script .php .phmlAddHandler php .php .phml<Directory "D:/Program Files/PHP"> Options Allow from all Order allow,deny AllowOverride None</Directory>[/code][B]php.ini[/B] reads:[code];include_path = ".;c:\php\includes"doc_root = "D:/Program Files/Apache/Apache2/htdocs"user_dir =extension_dir = "./"[/code]What do I need to look for or correct? Do I need to match the user directories?Install instructions at:[url=http://www.devarticles.com/c/a/Apache/Installing-PHP-under-Windows/4/]http://www.devarticles.com/c/a/Apache/Installing-PHP-under-Windows/4/[/url]say I need to copy files into the Apache root directory, this is written for version 4 not 5. Are these still good instructions? What would change on these for version 5?OMR Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.